/* TrendSetters News - Custom Styles (Tailwind CDN compatible) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --background: 210 40% 98%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --primary: 243 75% 59%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96%;
  --secondary-foreground: 222 47% 11%;
  --muted: 210 40% 94%;
  --muted-foreground: 215 16% 47%;
  --accent: 262 83% 58%;
  --accent-foreground: 210 40% 98%;
  --border: 214 32% 91%;
  --input: 214 32% 91%;
  --ring: 243 75% 59%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Article-specific prose styles */
.prose p {
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.prose h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.prose h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  margin-left: 1.5rem;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose blockquote {
  border-left: 4px solid hsl(var(--primary));
  padding-left: 1.5rem;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  margin: 2.5rem 0;
}

.prose img {
  border-radius: 1rem;
  margin: 2.5rem 0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.article-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.article-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.article-body p {
  margin-bottom: 1.5rem;
  line-height: 1.75;
  color: #475569;
  font-size: 1.125rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  margin-left: 1.5rem;
}

.article-body ul {
  list-style-type: disc;
}

.article-body ol {
  list-style-type: decimal;
}

.article-body blockquote {
  border-left: 4px solid hsl(var(--primary));
  padding-left: 1.5rem;
  font-style: italic;
  color: #475569;
  margin: 2.5rem 0;
}

.article-body img {
  border-radius: 1rem;
  margin: 2.5rem 0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.lead {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.75;
  color: #475569;
}

/* Line clamp utilities */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
