/* Blog Styles */

/* Typography styles for blog content */
.prose {
    max-width: 65ch;
    color: rgba(55, 65, 81, 1);
}

.prose h1 {
    font-size: 2.25em;
    margin-top: 1.6em;
    margin-bottom: 0.8em;
    font-weight: 700;
    line-height: 1.1111111;
}

.prose h2 {
    font-size: 1.5em;
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
    line-height: 1.3333333;
}

.prose h3 {
    font-size: 1.25em;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    font-weight: 600;
    line-height: 1.6;
}

.prose h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.5;
}

.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    line-height: 1.75;
}

.prose a {
    color: rgba(79, 70, 229, 1);
    text-decoration: underline;
    font-weight: 500;
}

.prose a:hover {
    color: rgba(67, 56, 202, 1);
}

.prose strong {
    font-weight: 600;
    color: rgba(31, 41, 55, 1);
}

.prose ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    list-style-type: decimal;
    padding-left: 1.625em;
}

.prose ul {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    list-style-type: disc;
    padding-left: 1.625em;
}

.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 1.75;
}

.prose blockquote {
    font-weight: 500;
    font-style: italic;
    color: rgba(55, 65, 81, 1);
    border-left-width: 0.25rem;
    border-left-color: rgba(209, 213, 219, 1);
    margin-top: 1.6em;
    margin-bottom: 1.6em;
    padding-left: 1em;
}

.prose code {
    color: rgba(31, 41, 55, 1);
    font-weight: 600;
    font-size: 0.875em;
    background-color: rgba(243, 244, 246, 1);
    padding: 0.25em 0.5em;
    border-radius: 0.375rem;
}

.prose pre {
    color: rgba(229, 231, 235, 1);
    background-color: rgba(31, 41, 55, 1);
    overflow-x: auto;
    font-size: 0.875em;
    line-height: 1.7142857;
    margin-top: 1.7142857em;
    margin-bottom: 1.7142857em;
    border-radius: 0.375rem;
    padding: 0.8571429em 1.1428571em;
}

.prose pre code {
    background-color: transparent;
    border-width: 0;
    border-radius: 0;
    padding: 0;
    font-weight: 400;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
}

.prose img {
    margin-top: 2em;
    margin-bottom: 2em;
    border-radius: 0.375rem;
}

.prose figure {
    margin-top: 2em;
    margin-bottom: 2em;
}

.prose figure > * {
    margin-top: 0;
    margin-bottom: 0;
}

.prose figure figcaption {
    color: rgba(107, 114, 128, 1);
    font-size: 0.875em;
    line-height: 1.4285714;
    margin-top: 0.8571429em;
    text-align: center;
}

.prose hr {
    margin-top: 3em;
    margin-bottom: 3em;
    border-color: rgba(229, 231, 235, 1);
}

/* Blog card hover effects */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Category badge styles */
.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.75rem;
    background-color: rgba(238, 242, 255, 1);
    color: rgba(79, 70, 229, 1);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: background-color 0.2s;
}

.category-badge:hover {
    background-color: rgba(224, 231, 255, 1);
}

/* Tag cloud styles */
.tag-cloud a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin: 0 0.25rem 0.5rem 0;
    background-color: rgba(243, 244, 246, 1);
    color: rgba(75, 85, 99, 1);
    font-size: 0.75rem;
    border-radius: 9999px;
    transition: all 0.2s;
}

.tag-cloud a:hover {
    background-color: rgba(229, 231, 235, 1);
    color: rgba(31, 41, 55, 1);
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination .page-item {
    margin: 0 0.25rem;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination .active .page-link {
    background-color: rgba(79, 70, 229, 1);
    color: white;
}

/* Blog image styles */
.blog-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
}

.blog-image {
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

/* Share button styles */
.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    transition: all 0.2s;
    background-color: rgba(243, 244, 246, 1);
}

.share-button:hover {
    transform: translateY(-2px);
}

.share-button.twitter:hover {
    background-color: #1DA1F2;
    color: white;
}

.share-button.facebook:hover {
    background-color: #4267B2;
    color: white;
}

.share-button.linkedin:hover {
    background-color: #0A66C2;
    color: white;
}

.share-button.email:hover {
    background-color: #D64B4B;
    color: white;
}