/* 
 * Article-specific styles for "How to Create a Survey Online: Complete Step-by-Step Guide"
 * Slug: how-to-create-survey-online-complete-guide
 * These styles duplicate the exact styling from Article_only_1
 * 
 * IMPORTANT: Each article must have its own separate CSS file!
 * File naming: article-{slug}.css
 */

/* CSS Variables - matching Article_only_1 exactly */
:root {
  --font-size: 16px;
  --background: #FAFAFA;
  --foreground: #1a1a2e;
  --card: #ffffff;
  --card-foreground: #1a1a2e;
  --popover: #ffffff;
  --popover-foreground: #1a1a2e;
  --primary: #5B5FED;
  --primary-foreground: #ffffff;
  --secondary: #E8E8FF;
  --secondary-foreground: #5B5FED;
  --muted: #E8E8FF;
  --muted-foreground: #414B5A;
  --accent: #E63E8E;
  --accent-foreground: #ffffff;
  --destructive: #d4183d;
  --destructive-foreground: #ffffff;
  --border: rgba(91, 95, 237, 0.1);
  --input: rgba(91, 95, 237, 0.1);
  --input-background: #ffffff;
  --switch-background: #cbced4;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --ring: #5B5FED;
  --chart-1: #5B5FED;
  --chart-2: #E63E8E;
  --chart-3: #8B5CF6;
  --chart-4: #60A5FA;
  --chart-5: #34D399;
  --radius: 0.75rem;
  --sidebar: #ffffff;
  --sidebar-foreground: #1a1a2e;
  --sidebar-primary: #5B5FED;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #E8E8FF;
  --sidebar-accent-foreground: #5B5FED;
  --sidebar-border: rgba(91, 95, 237, 0.1);
  --sidebar-ring: #5B5FED;
  
  /* Text size variables */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Spacing */
  --spacing: 0.25rem;
  --leading-relaxed: 1.625;
  --radius-2xl: 1rem;
}

/* Dark mode variables */
.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.145 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.145 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.985 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
  --ring: oklch(0.439 0 0);
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(0.269 0 0);
  --sidebar-ring: oklch(0.439 0 0);
}

/* Article page container - scoped to this specific article */
.article-page-how-to-create-survey-online-complete-guide {
  /* Background - override all global styles */
  --article-background: #FAFAFA !important;
  background: var(--article-background) !important;
  min-height: 100vh !important;

  /* Override all global CSS variables */
  --background: #FAFAFA !important;
  --foreground: #1a1a2e !important;
  --card: #ffffff !important;
  --card-foreground: #1a1a2e !important;
  --primary: #5B5FED !important;
  --primary-foreground: #ffffff !important;
  --secondary: #E8E8FF !important;
  --secondary-foreground: #5B5FED !important;
  --muted: #E8E8FF !important;
  --muted-foreground: #414B5A !important;
  --accent: #E63E8E !important;
  --accent-foreground: #ffffff !important;
  --destructive: #d4183d !important;
  --destructive-foreground: #ffffff !important;
  --border: rgba(91, 95, 237, 0.1) !important;
  --input: rgba(91, 95, 237, 0.1) !important;
  --ring: #5B5FED !important;
}

.article-page-how-to-create-survey-online-complete-guide * {
  box-sizing: border-box !important;
}

/* Base typography for article */
.article-page-how-to-create-survey-online-complete-guide article {
  font-size: var(--font-size) !important;
  line-height: 1.5 !important;
  color: var(--foreground) !important;
}

.article-page-how-to-create-survey-online-complete-guide article h1 {
  font-size: var(--text-3xl) !important;
  font-weight: var(--font-weight-medium) !important;
  line-height: 1.5 !important;
  margin-bottom: 1.5rem !important;
}

.article-page-how-to-create-survey-online-complete-guide article h2 {
  font-size: var(--text-2xl) !important;
  font-weight: var(--font-weight-medium) !important;
  line-height: 1.5 !important;
  margin-top: 3rem !important;
  margin-bottom: 1rem !important;
}

.article-page-how-to-create-survey-online-complete-guide article h3 {
  font-size: var(--text-xl) !important;
  font-weight: var(--font-weight-medium) !important;
  line-height: 1.5 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}

.article-page-how-to-create-survey-online-complete-guide article h4 {
  font-size: var(--text-lg) !important;
  font-weight: var(--font-weight-medium) !important;
  line-height: 1.5 !important;
  margin-bottom: 0.75rem !important;
}

.article-page-how-to-create-survey-online-complete-guide article p {
  font-size: var(--text-base) !important;
  font-weight: var(--font-weight-normal) !important;
  line-height: var(--leading-relaxed) !important;
  margin-bottom: 1.5rem !important;
  color: var(--muted-foreground) !important;
}

.article-page-how-to-create-survey-online-complete-guide article strong {
  font-weight: 600;
  color: var(--foreground);
}

.article-page-how-to-create-survey-online-complete-guide article a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.article-page-how-to-create-survey-online-complete-guide article a:hover {
  text-decoration: underline;
}

/* Lists */
.article-page-how-to-create-survey-online-complete-guide article ul {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0;
  margin: 0;
}

.article-page-how-to-create-survey-online-complete-guide article ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--muted-foreground);
  line-height: var(--leading-relaxed);
  list-style: none !important;
  list-style-type: none !important;
  position: relative;
}

/* Make span text size same as div text size in lists */
.article-page-how-to-create-survey-online-complete-guide article ul li span {
  font-size: var(--text-base) !important;
}

/* Override text-sm for spans in lists to match base text size */
.article-page-how-to-create-survey-online-complete-guide article ul li.text-sm span {
  font-size: var(--text-base) !important;
}

/* Ensure list items also use the increased base font size */
.article-page-how-to-create-survey-online-complete-guide article ul li {
  font-size: var(--text-base) !important;
}

.article-page-how-to-create-survey-online-complete-guide article ul li::marker {
  display: none !important;
  content: none !important;
}

.article-page-how-to-create-survey-online-complete-guide article ul li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--primary);
  border-radius: 50%;
  margin-top: 0.625rem;
  flex-shrink: 0;
  display: block;
}

/* Hide manual div markers in JSX - target first div child with specific size */
.article-page-how-to-create-survey-online-complete-guide article ul li > div:first-child {
  display: none !important;
}

/* Hide manual span markers with bullet points */
.article-page-how-to-create-survey-online-complete-guide article ul li > span.text-primary:first-child {
  display: none !important;
}

/* Badge styles */
.article-page-how-to-create-survey-online-complete-guide .badge {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 9999px;
  padding: 0.375rem 0.75rem;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  border: none;
}

/* Card styles */
.article-page-how-to-create-survey-online-complete-guide .card {
  background-color: var(--card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0.75rem !important;
  padding: 1.5rem !important;
}

.article-page-how-to-create-survey-online-complete-guide .card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.article-page-how-to-create-survey-online-complete-guide .card h4 > div {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
}

.article-page-how-to-create-survey-online-complete-guide .card p {
  font-size: var(--text-sm);
  margin-bottom: 0.5rem;
}

/* Image styles */
.article-page-how-to-create-survey-online-complete-guide article img {
  width: 100% !important;
  height: auto !important;
  border-radius: 0.75rem !important;
  overflow: hidden !important;
  background-color: color-mix(in oklab, var(--secondary) 30%, transparent) !important;
}

/* Button styles */
.article-page-how-to-create-survey-online-complete-guide button {
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.15s ease;
}

.article-page-how-to-create-survey-online-complete-guide button:hover {
  background-color: var(--secondary);
}

/* Spacing utilities */
.article-page-how-to-create-survey-online-complete-guide .space-y-2 > :not(:last-child) {
  margin-bottom: 0.5rem;
}

.article-page-how-to-create-survey-online-complete-guide .space-y-3 > :not(:last-child) {
  margin-bottom: 0.75rem;
}

.article-page-how-to-create-survey-online-complete-guide .space-y-4 > :not(:last-child) {
  margin-bottom: 1rem;
}

.article-page-how-to-create-survey-online-complete-guide .space-y-6 > :not(:last-child) {
  margin-bottom: 1.5rem;
}

/* Responsive typography */
@media (min-width: 640px) {
  .article-page-how-to-create-survey-online-complete-guide article h1 {
    font-size: var(--text-4xl);
  }
  
  .article-page-how-to-create-survey-online-complete-guide article h2 {
    font-size: var(--text-3xl);
  }
  
  .article-page-how-to-create-survey-online-complete-guide article p {
    font-size: var(--text-lg);
  }
}

@media (min-width: 1024px) {
  .article-page-how-to-create-survey-online-complete-guide article h1 {
    font-size: var(--text-5xl);
  }
}

/* Custom animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-page-how-to-create-survey-online-complete-guide .animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
  opacity: 0;
}

/* Prose styles for article content */
.article-page-how-to-create-survey-online-complete-guide .prose {
  max-width: none;
}

.article-page-how-to-create-survey-online-complete-guide .prose-lg {
  font-size: var(--text-lg);
}

/* Specific color classes */
.article-page-how-to-create-survey-online-complete-guide .text-primary {
  color: var(--primary);
}

.article-page-how-to-create-survey-online-complete-guide .text-accent {
  color: var(--accent);
}

.article-page-how-to-create-survey-online-complete-guide .text-foreground {
  color: var(--foreground);
}

.article-page-how-to-create-survey-online-complete-guide .text-muted-foreground {
  color: var(--muted-foreground);
}

.article-page-how-to-create-survey-online-complete-guide .bg-primary\/10 {
  background-color: color-mix(in oklab, var(--primary) 10%, transparent);
}

.article-page-how-to-create-survey-online-complete-guide .bg-accent\/10 {
  background-color: color-mix(in oklab, var(--accent) 10%, transparent);
}

.article-page-how-to-create-survey-online-complete-guide .bg-\[\#8B5CF6\]\/10 {
  background-color: color-mix(in oklab, #8B5CF6 10%, transparent);
}

.article-page-how-to-create-survey-online-complete-guide .text-\[\#8B5CF6\] {
  color: #8B5CF6;
}

/* Leading relaxed */
.article-page-how-to-create-survey-online-complete-guide .leading-relaxed {
  line-height: var(--leading-relaxed);
}

/* Rounded corners */
.article-page-how-to-create-survey-online-complete-guide .rounded-lg {
  border-radius: var(--radius);
}

.article-page-how-to-create-survey-online-complete-guide .rounded-xl {
  border-radius: calc(var(--radius) + 4px);
}

.article-page-how-to-create-survey-online-complete-guide .rounded-2xl {
  border-radius: var(--radius-2xl);
}

.article-page-how-to-create-survey-online-complete-guide .rounded-full {
  border-radius: 9999px;
}

/* Background colors */
.article-page-how-to-create-survey-online-complete-guide .bg-card {
  background-color: var(--card) !important;
}

.article-page-how-to-create-survey-online-complete-guide .bg-secondary\/30 {
  background-color: color-mix(in oklab, var(--secondary) 30%, transparent) !important;
}

.article-page-how-to-create-survey-online-complete-guide .bg-secondary\/50 {
  background-color: #F5F5F5 !important;
}

/* Border */
.article-page-how-to-create-survey-online-complete-guide .border {
  border: 1px solid var(--border) !important;
}

.article-page-how-to-create-survey-online-complete-guide .border-border {
  border-color: var(--border) !important;
}

/* Padding and margins */
.article-page-how-to-create-survey-online-complete-guide .p-6 {
  padding: 1.5rem;
}

.article-page-how-to-create-survey-online-complete-guide .px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.article-page-how-to-create-survey-online-complete-guide .px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.article-page-how-to-create-survey-online-complete-guide .py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.article-page-how-to-create-survey-online-complete-guide .mb-2 {
  margin-bottom: 0.5rem;
}

.article-page-how-to-create-survey-online-complete-guide .mb-3 {
  margin-bottom: 0.75rem;
}

.article-page-how-to-create-survey-online-complete-guide .mb-4 {
  margin-bottom: 1rem;
}

.article-page-how-to-create-survey-online-complete-guide .mb-6 {
  margin-bottom: 1.5rem;
}

.article-page-how-to-create-survey-online-complete-guide .mb-8 {
  margin-bottom: 2rem;
}

.article-page-how-to-create-survey-online-complete-guide .mb-12 {
  margin-bottom: 3rem;
}

.article-page-how-to-create-survey-online-complete-guide .mt-8 {
  margin-top: 2rem;
}

.article-page-how-to-create-survey-online-complete-guide .mt-12 {
  margin-top: 3rem;
}

.article-page-how-to-create-survey-online-complete-guide .ml-4 {
  margin-left: 1rem;
}

.article-page-how-to-create-survey-online-complete-guide .ml-6 {
  margin-left: 1.5rem;
}

/* Gap utilities */
.article-page-how-to-create-survey-online-complete-guide .gap-1 {
  gap: 0.25rem;
}

.article-page-how-to-create-survey-online-complete-guide .gap-2 {
  gap: 0.5rem;
}

.article-page-how-to-create-survey-online-complete-guide .gap-3 {
  gap: 0.75rem;
}

.article-page-how-to-create-survey-online-complete-guide .gap-4 {
  gap: 1rem;
}

.article-page-how-to-create-survey-online-complete-guide .gap-6 {
  gap: 1.5rem;
}

/* Flex utilities */
.article-page-how-to-create-survey-online-complete-guide .flex {
  display: flex;
}

.article-page-how-to-create-survey-online-complete-guide .flex-col {
  flex-direction: column;
}

.article-page-how-to-create-survey-online-complete-guide .items-center {
  align-items: center;
}

.article-page-how-to-create-survey-online-complete-guide .items-start {
  align-items: flex-start;
}

.article-page-how-to-create-survey-online-complete-guide .justify-between {
  justify-content: space-between;
}

.article-page-how-to-create-survey-online-complete-guide .shrink-0 {
  flex-shrink: 0;
}

/* Width and height */
.article-page-how-to-create-survey-online-complete-guide .w-1\.5 {
  width: 0.375rem;
}

.article-page-how-to-create-survey-online-complete-guide .w-4 {
  width: 1rem;
}

.article-page-how-to-create-survey-online-complete-guide .w-8 {
  width: 2rem;
}

.article-page-how-to-create-survey-online-complete-guide .w-full {
  width: 100%;
}

.article-page-how-to-create-survey-online-complete-guide .h-1\.5 {
  height: 0.375rem;
}

.article-page-how-to-create-survey-online-complete-guide .h-4 {
  height: 1rem;
}

.article-page-how-to-create-survey-online-complete-guide .h-8 {
  height: 2rem;
}

.article-page-how-to-create-survey-online-complete-guide .h-auto {
  height: auto;
}

.article-page-how-to-create-survey-online-complete-guide .h-full {
  height: 100%;
}

.article-page-how-to-create-survey-online-complete-guide .mt-2\.5 {
  margin-top: 0.625rem;
}

/* Max width */
.article-page-how-to-create-survey-online-complete-guide .max-w-4xl {
  max-width: 56rem;
}

.article-page-how-to-create-survey-online-complete-guide .max-w-none {
  max-width: none;
}

/* Aspect ratio */
.article-page-how-to-create-survey-online-complete-guide .aspect-\[16\/9\] {
  aspect-ratio: 16 / 9;
}

/* Overflow */
.article-page-how-to-create-survey-online-complete-guide .overflow-hidden {
  overflow: hidden;
}

/* Object fit */
.article-page-how-to-create-survey-online-complete-guide .object-cover {
  object-fit: cover;
}

.article-page-how-to-create-survey-online-complete-guide .object-contain {
  object-fit: contain;
}

/* Text sizes */
.article-page-how-to-create-survey-online-complete-guide .text-sm {
  font-size: var(--text-sm);
}

.article-page-how-to-create-survey-online-complete-guide .text-lg {
  font-size: var(--text-lg);
}

.article-page-how-to-create-survey-online-complete-guide .text-xl {
  font-size: var(--text-xl);
}

.article-page-how-to-create-survey-online-complete-guide .text-2xl {
  font-size: var(--text-2xl);
}

.article-page-how-to-create-survey-online-complete-guide .text-3xl {
  font-size: var(--text-3xl);
}

/* Self alignment */
.article-page-how-to-create-survey-online-complete-guide .self-start {
  align-self: flex-start;
}

/* Responsive utilities */
@media (min-width: 640px) {
  .article-page-how-to-create-survey-online-complete-guide .sm\:flex-row {
    flex-direction: row;
  }
  
  .article-page-how-to-create-survey-online-complete-guide .sm\:items-center {
    align-items: center;
  }
  
  .article-page-how-to-create-survey-online-complete-guide .sm\:justify-between {
    justify-content: space-between;
  }
  
  .article-page-how-to-create-survey-online-complete-guide .sm\:self-auto {
    align-self: auto;
  }
  
  .article-page-how-to-create-survey-online-complete-guide .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .article-page-how-to-create-survey-online-complete-guide .sm\:py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .article-page-how-to-create-survey-online-complete-guide .sm\:text-3xl {
    font-size: var(--text-3xl);
  }
  
  .article-page-how-to-create-survey-online-complete-guide .sm\:text-4xl {
    font-size: var(--text-4xl);
  }
  
  .article-page-how-to-create-survey-online-complete-guide .sm\:text-xl {
    font-size: var(--text-xl);
  }
}

@media (min-width: 1024px) {
  .article-page-how-to-create-survey-online-complete-guide .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .article-page-how-to-create-survey-online-complete-guide .lg\:text-5xl {
    font-size: var(--text-5xl);
  }
}
