/* Styles for article content */
.article-content h1 {
    font-size: 2.25rem; /* text-4xl */
    line-height: 2.5rem;
    font-weight: 800; /* font-extrabold */
    color: var(--color-dark-gray); /* text-dark-gray */
    letter-spacing: -0.025em; /* tracking-tight */
    margin-top: 0.5rem; /* mt-2 */
    margin-bottom: 2rem; /* mb-8 */
}
@media (min-width: 640px) {
    .article-content h1 {
        font-size: 3rem; /* sm:text-5xl */
        line-height: 1;
    }
}

.article-content h2 {
    font-size: 1.875rem; /* text-3xl */
    line-height: 2.25rem;
    font-weight: 700; /* font-bold */
    color: var(--color-dark-gray); /* text-dark-gray */
    margin-top: 3rem; /* mt-12 */
    margin-bottom: 1rem; /* mb-4 */
    border-bottom-width: 1px; /* border-b */
    border-color: #e5e7eb; /* border-gray-200 */
    padding-bottom: 0.5rem; /* pb-2 */
}

.article-content h3 {
    font-size: 1.5rem; /* text-2xl */
    line-height: 2rem;
    font-weight: 700; /* font-bold */
    color: var(--color-dark-gray); /* text-dark-gray */
    margin-top: 2.5rem; /* mt-10 */
    margin-bottom: 1rem; /* mb-4 */
}

.article-content h4 {
    font-size: 1.25rem; /* text-xl */
    line-height: 1.75rem;
    font-weight: 700; /* font-bold */
    color: var(--color-dark-gray); /* text-dark-gray */
    margin-top: 2rem; /* mt-8 */
    margin-bottom: 1rem; /* mb-4 */
}

.article-content p {
    margin-bottom: 1.5rem; /* mb-6 */
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75rem; /* leading-relaxed */
}

.article-content a {
    color: var(--color-primary); /* text-primary */
    text-decoration: underline; /* WCAG 1.4.1 */
    text-underline-offset: 2px;
    border-radius: 0.125rem; /* rounded-sm */
}
.article-content a:hover {
    text-decoration-thickness: 2px;
}

.article-content ul {
    list-style-type: disc; /* list-disc */
    margin-bottom: 1.5rem; /* mb-6 */
    padding-left: 2.5rem; /* pl-10 */
    font-size: 1.125rem; /* text-lg */
}
.article-content ul li {
    margin-bottom: 0.75rem; /* space-y-3 */
}


.article-content ol {
    list-style-type: decimal; /* list-decimal */
    margin-bottom: 1.5rem; /* mb-6 */
    padding-left: 2.5rem; /* pl-10 */
    font-size: 1.125rem; /* text-lg */
}
.article-content ol li {
    margin-bottom: 0.75rem; /* space-y-3 */
}

.article-content table {
    width: 100%; /* w-full */
    margin-bottom: 2rem; /* mb-8 */
    border-collapse: collapse; /* border-collapse */
    text-align: left; /* text-left */
}

.article-content th {
    background-color: #f3f4f6; /* bg-gray-100 */
    font-weight: 600; /* font-semibold */
    padding: 1rem; /* p-4 */
    border-bottom-width: 2px; /* border-b-2 */
    border-color: #e5e7eb; /* border-gray-200 */
}

.article-content td {
    padding: 1rem; /* p-4 */
    border-bottom-width: 1px; /* border-b */
    border-color: #e5e7eb; /* border-gray-200 */
}

.article-content tbody tr:nth-child(odd) {
    background-color: #f9fafb; /* bg-gray-50 */
}

.article-content a.button {
    display: inline-block; /* inline-block */
    background-color: var(--color-primary); /* bg-primary */
    color: #fff; /* text-white */
    font-weight: 700; /* font-bold */
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    border-radius: 1rem; /* rounded-2xl */
    transition: all 300ms; /* transition-all duration-300 */
    text-decoration: none; /* no-underline */
}

.article-content a.button:hover {
    background-color: var(--color-primary-dark); /* hover:bg-primary-dark */
}

.article-content blockquote {
    border-left-width: 4px; /* border-l-4 */
    border-color: var(--color-primary); /* border-primary */
    padding-left: 1.5rem; /* pl-6 */
    padding-top: 1rem; /* py-4 */
    padding-bottom: 1rem; /* py-4 */
    margin: 2rem 0; /* my-8 */
    background-color: rgba(167, 215, 207, 0.2); /* bg-secondary/20 */
    font-size: 1.25rem; /* text-xl */
    font-style: italic; /* italic */
}

.article-content pre {
    background-color: var(--color-dark-gray); /* bg-dark-gray */
    color: #fff; /* text-white */
    font-family: monospace; /* font-mono */
    font-size: 0.875rem; /* text-sm */
    padding: 1.5rem; /* p-6 */
    margin: 2rem 0; /* my-8 */
    border-radius: 0.75rem; /* rounded-xl */
    overflow-x: auto; /* overflow-x-auto */
}

.article-content code {
    font-family: monospace; /* font-mono */
}
