/* Article content styling for marketing pages */

.article-content {
  font-size: 1.25rem;
  line-height: 1.9;
  color: #C4C1D0;
}

.article-content > * + * {
  margin-top: 1.75rem;
}

/* Paragraphs */
.article-content p {
  font-size: 1.25rem;
  line-height: 1.9;
  color: #C4C1D0;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .article-content p {
    font-size: 1.375rem;
  }
}

/* First paragraph - lead text */
.article-content > p:first-of-type {
  font-size: 1.5rem;
  color: #E0DEE8;
  font-weight: 500;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .article-content > p:first-of-type {
    font-size: 1.625rem;
  }
}

/* Drop cap for blog posts */
.article-content.with-drop-cap > p:first-of-type::first-letter {
  float: left;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.8;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  color: #00F5A0;
}

/* Headings */
.article-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(0, 245, 160, 0.2);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .article-content h2 {
    font-size: 2.5rem;
  }
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00F5A0;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .article-content h3 {
    font-size: 1.875rem;
  }
}

.article-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* Links */
.article-content a {
  color: #00F5A0;
  text-decoration: underline;
  text-decoration-color: rgba(0, 245, 160, 0.4);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}

.article-content a:hover {
  text-decoration-color: #00F5A0;
}

/* Bold text */
.article-content strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* Lists */
.article-content ul,
.article-content ol {
  margin: 2rem 0;
  padding-left: 0;
}

.article-content ul li,
.article-content ol li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #C4C1D0;
}

@media (min-width: 768px) {
  .article-content ul li,
  .article-content ol li {
    font-size: 1.375rem;
  }
}

/* Unordered list bullets */
.article-content ul {
  list-style: none;
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  background-color: #00F5A0;
  border-radius: 50%;
}

/* Ordered list numbers */
.article-content ol {
  list-style: none;
  counter-reset: item;
}

.article-content ol li {
  counter-increment: item;
}

.article-content ol li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #00F5A0;
}

/* Nested lists */
.article-content ul ul,
.article-content ol ol,
.article-content ul ol,
.article-content ol ul {
  margin: 0.75rem 0;
}

/* Blockquotes */
.article-content blockquote {
  position: relative;
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: linear-gradient(90deg, rgba(0, 245, 160, 0.1) 0%, transparent 100%);
  border-left: 4px solid #00F5A0;
  border-radius: 0 1rem 1rem 0;
}

.article-content blockquote p {
  color: #E0DEE8;
  font-size: 1.25rem;
  font-style: normal;
  margin: 0;
}

/* Code inline */
.article-content code {
  background: rgba(0, 245, 160, 0.1);
  color: #00F5A0;
  padding: 0.2em 0.5em;
  border-radius: 0.375rem;
  font-size: 0.9em;
  font-weight: 500;
}

/* Code blocks */
.article-content pre {
  background: #1A1429;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2.5rem 0;
  overflow-x: auto;
}

.article-content pre code {
  background: transparent;
  padding: 0;
  font-size: 0.95rem;
  color: #E0DEE8;
}

/* Horizontal rules */
.article-content hr {
  border: none;
  border-top: 2px solid rgba(0, 245, 160, 0.2);
  margin: 3rem 0;
}

/* Images */
.article-content img {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2.5rem 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Tables */
.article-content table {
  width: 100%;
  margin: 2.5rem 0;
  border-collapse: collapse;
}

.article-content th,
.article-content td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content th {
  color: #FFFFFF;
  font-weight: 600;
  background: rgba(0, 245, 160, 0.05);
}

.article-content td {
  color: #C4C1D0;
}

.article-content tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
