:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --background: #ffffff;
  --surface: #f9fafb;
  --border: #e5e7eb;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--surface);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

@media (min-width: 1024px) {
  .news-layout {
    grid-template-columns: 16rem 1fr;
    gap: 2rem;
    padding: 2rem;
  }
}

.sidebar {
  background: var(--background);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .sidebar {
    position: sticky;
    top: 1rem;
    height: fit-content;
  }
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.25rem;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  margin: 0;
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.category-container {
  margin-top: 1rem;
}

.category {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.subcategory {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.publish-date {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-style: italic;
  margin-top: 0.5rem;
}

.main-content {
  background: var(--background);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.news-header {
  padding: 2rem;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.news-title {
  color: var(--primary);
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.news-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-content {
  padding: 2rem;
}

.news-content p {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  color: var(--text-primary);
  line-height: 1.75;
}

.news-content p:last-child {
  margin-bottom: 0;
}

.social-promo {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.company-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: linear-gradient(to right, #2563eb11, #2563eb22);
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s;
}

.company-link:hover {
  background: linear-gradient(to right, #2563eb22, #2563eb33);
}

.company-logo {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.company-info h4 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.company-info p {
  margin: 0.125rem 0 0;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--primary);
  color: white;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--primary-dark);
}
