.article-content {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.8;
    color: #333;
}

/* Headings */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600; /* Semi-bold headings */
    color: #222;
    line-height: 1.4;
    margin: 1em 0 0.5em;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6{
    font-size: 17px;
    font-weight: 700;
    color: var(--black);
}

/* Paragraphs */
.article-content p {
    margin: 1em 0;
    color: #444;
}

/* Links */
.article-content a {
    color: var(--primary);
    transition: all 0.3s ease;
}

/* Images */
.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5em auto;
    border-radius: 3px;
}

.article-content figure {
    margin: 1.5em 0;
    text-align: center;
}

.article-content figcaption {
    font-size: 0.9em;
    color: #777;
    margin-top: 0.5em;
    font-style: italic;
}

/* Blockquotes */
.article-content blockquote {
    font-style: italic;
    color: #555;
    border-left: 4px solid var(--primary);
    background: #f9f9f9;
    margin: 1.5em 0;
    padding: 1em 1.5em;
}

.article-content blockquote p {
    margin: 0;
}

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

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin: 0.4em 0;
    line-height: 1.6;
}

/* Tables */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border: 1px solid #e1e1e1;
    font-size: 0.95em;
}

.article-content th,
.article-content td {
    border: 1px solid #e1e1e1;
    padding: 0.8em;
    text-align: left;
}

.article-content th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.article-content tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Code Blocks */
.article-content pre,
.article-content code {
    font-family: 'Courier New', monospace;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #d63384;
}

.article-content pre {
    overflow-x: auto;
    padding: 1em;
    margin: 1.5em 0;
}

.article-content code {
    padding: 0.2em 0.4em;
    font-size: 0.95em;
}

/* Horizontal Rule */
.article-content hr {
    border: none;
    border-top: 2px dashed #ddd;
    margin: 2em 0;
}

/* Captions */
.wp-caption {
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1em;
}

.wp-caption img {
    margin-bottom: 0.5em;
}

.wp-caption-text {
    font-size: 0.9em;
    color: #777;
    font-style: italic;
}

/* Embedded Video Responsiveness */
.article-content iframe,
.article-content video {
    max-width: 100%;
    margin: 1em auto;
    display: block;
    border: none;
    border-radius: 4px;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .article-content h1,
    .article-content h2,
    .article-content h3,
    .article-content h4,
    .article-content h5,
    .article-content h6{
        font-size: 21px;
        font-weight: 700;
        color: var(--black);
    }
}
