/* 
  =========================================
  WYSIWYG / HTML Editor Styling
  Matches default HTML tags inside article
  =========================================
*/
.article-content {
    color: #44474f; /* on-surface-variant */
    line-height: 1.8;
    font-size: 1.125rem; /* 18px */
}

/* Paragraphs */
.article-content p {
    margin-bottom: 1.5rem;
}
.article-content p.lead {
    font-size: 1.25rem; /* 20px */
    color: #0d1c2f; /* on-surface */
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Headings inside html content */
.article-content h1, 
.article-content h2, 
.article-content h3, 
.article-content h4 {
    color: #00204f; /* primary */
    font-weight: 600;
    line-height: 1.25;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.article-content h1 {
    font-size: 2.25rem; /* 36px */
}
.article-content h2 {
    font-size: 1.75rem; /* 28px */
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
}
.article-content h3 {
    font-size: 1.5rem; /* 24px */
}
.article-content h4 {
    font-size: 1.25rem; /* 20px */
}

/* Blockquotes */
.article-content blockquote {
    border-left: 4px solid #006492; /* secondary */
    padding-left: 1.5rem;
    font-style: italic;
    font-size: 1.25rem;
    color: #00204f; /* primary */
    margin: 2rem 0;
}

/* Lists */
.article-content ul, 
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.article-content ul {
    list-style-type: disc;
}
.article-content ol {
    list-style-type: decimal;
}
.article-content li {
    margin-bottom: 0.5rem;
}

/* Links */
.article-content a {
    color: #006492; /* secondary */
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
}
.article-content a:hover {
    color: #00204f; /* primary */
}

/* Tables in rich-text content */
.article-content table {
    width: 100%;
    margin-bottom: 2rem;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.article-content th, 
.article-content td {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    text-align: left;
}
.article-content th {
    background-color: #f8f9ff;
    font-weight: 600;
    color: #00204f;
}

/* Images in rich-text */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
