/* Fonts */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    font-family: "Open Sans", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
}

/* Custom styles for BarkWP theme */
main h1 {
    font-size: 2.5rem; /* 40px */
    line-height: 1.2;
    color: #1f2937; /* Tailwind gray-900 */
    
}
main h2 {
    font-size: 1.75rem; /* 28px */
    line-height: 1.3;
    color: #1f2937; /* Tailwind gray-900 */
}
main h3 {
    font-size: 1.75rem; /* 28px */
    line-height: 1.4;
    color: #1f2937; /* Tailwind gray-900 */
}
main h4 {
    font-size: 1.5rem; /* 24px */
    line-height: 1.5;
    color: #1f2937; /* Tailwind gray-900 */
}
main h5 {
    font-size: 1.25rem; /* 20px */
    line-height: 1.6;
    color: #1f2937; /* Tailwind gray-900 */
}
main h6 {
    font-size: 1rem; /* 16px */
    line-height: 1.7;
    color: #1f2937; /* Tailwind gray-900 */
}
main p {
    font-size: 1.125rem; /* 18px, increased from default */
    padding: 0.5rem 0; /* 8px top/bottom padding */
    color: #4b5563; /* Tailwind gray-600 */
}
main a {
    color: #c084fc; /* Purple-400 for consistency with theme */
    text-decoration: underline;
}
main a:hover {
    color: #6b21a8; /* Tailwind purple-800 */
    text-decoration: none;
}
main a:visited {
    color: #c084fc;
}

/* Base styles for the prose container within type-post */
.prose {
    font-family: sans-serif;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #1a202c;
}

/* Paragraphs */
.prose p {
    margin: 0 0 0.5rem;
    color: #2d3748;
}

/* Headings */
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #1a202c;
    margin: 2rem 0 1rem;
}

.prose h1 {
    font-size: 2.25rem;
}

.prose h2 {
    font-size: 1.875rem;
}

.prose h3 {
    font-size: 1.5rem;
}

.prose h4 {
    font-size: 1.25rem;
}

.prose h5 {
    font-size: 1.125rem;
}

.prose h6 {
    font-size: 1rem;
}

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

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-bottom: 0.25rem;
    color: #2d3748;
}

.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
    margin: 0.75rem 0;
}

/* Tables */
.prose .table-container {
    overflow-x: auto;
    margin: 1.5rem 0;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.prose table {
    width: 100%;
    min-width: 600px; /* Minimum width to prevent squishing */
    border-collapse: collapse;
    font-size: 1rem;
}

.prose th,
.prose td {
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.prose th {
    background-color: #f7fafc;
    font-weight: 600;
    color: #1a202c;
}

.prose td {
    background-color: #ffffff;
    color: #2d3748;
}

.prose tr:nth-child(even) td {
    background-color: #f7fafc;
}

/* Blockquotes */
.prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #cbd5e0;
    background-color: #f7fafc;
    font-style: italic;
    color: #4a5568;
}

/* Links */
.prose a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.2s ease;
}

.prose a:hover {
    color: #2b6cb0;
    text-decoration: underline;
}

/* Images */
.prose img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.375rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Code blocks */
.prose pre {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.prose code {
    font-family: monospace;
    font-size: 0.875rem;
}

.prose pre code {
    background: none;
    padding: 0;
}

/* Inline code */
.prose :not(pre) > code {
    background-color: #edf2f7;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    color: #e53e3e;
}

/* Horizontal rule */
.prose hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 2rem 0;
}

/* Hero SEction */

.hero-section p {
    line-height: 1.75 !important;
}