﻿.contentful-rich-text h1,
.contentful-rich-text h2,
.contentful-rich-text h3,
.contentful-rich-text h4,
.contentful-rich-text h5,
.contentful-rich-text h6 {
    margin-top: 1.2em;
    margin-bottom: 0.6em;
}

.contentful-rich-text p {
    font-weight: 300;
    color: #27272a;
    margin-top: 0;
    margin-bottom: 1em;
}

.contentful-rich-text a {
    color: #2563eb;
    text-decoration: none;
}

.contentful-rich-text a:hover,
.contentful-rich-text a:focus {
    text-decoration: underline;
}

.contentful-rich-text ul,
.contentful-rich-text ol {
    margin-left: 20px;
    margin-bottom: 1em;
}

.contentful-rich-text ul {
    list-style-type: disc;
}

.contentful-rich-text ol {
    list-style-type: decimal;
}

.contentful-rich-text hr {
    border: 0;
    border-top: 1px solid #ccc;
    margin-top: 1em;
    margin-bottom: 1em;
}


.contentful-rich-text img {
    max-width: 100%;
    height: auto;
    margin-top: 1em;
    margin-bottom: 1em;
}

.contentful-rich-text blockquote {
    padding-left: 20px;
    border-left: 3px solid #ccc;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1em;
    margin-bottom: 1em;
    font-style: italic;
}

.contentful-rich-text pre {
    background-color: #f5f5f5; /* A light background for code blocks */
    padding: 15px;
    overflow-x: auto; /* Allows horizontal scrolling for long lines of code */
    margin-top: 1em;
    margin-bottom: 1em;
}

.contentful-rich-text code {
    /* Inline code styles */
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
}

.contentful-rich-text table {
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    width: 100%;
}


.contentful-rich-text th {
    background-color: #f8fafc;
}

.contentful-rich-text td, th {
    border: 1px solid #9ca3af;
    text-align: left;
    padding: 8px;
}

.contentful-rich-text tr:first-child th:first-child {
    border-top-left-radius: 10px;
}

.contentful-rich-text tr:first-child th:last-child {
    border-top-right-radius: 10px;
}

.contentful-rich-text tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.contentful-rich-text tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}


