/* Blog & Post Content Styles - Extracted for caching */

/* Basic styling for post content since Tailwind removes default margins and list styles */
.post-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}
.post-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #285495;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.post-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #285495;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.post-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}
.post-content ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}
.post-content li {
    margin-bottom: 0.5rem;
}
.post-content a {
    color: #f37021;
    text-decoration: underline;
}
.post-content a:hover {
    color: #285495;
}
.post-content blockquote {
    border-left: 4px solid #285495;
    padding-left: 1rem;
    font-style: italic;
    color: #44474e;
    background-color: #f3f3fa;
    padding: 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
    margin-bottom: 1rem;
}
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}
.post-content figure {
    margin-bottom: 1.5rem;
}
.post-content figcaption {
    font-size: 0.875rem;
    color: #74777f;
    text-align: center;
    margin-top: 0.5rem;
}

/* Blog Pagination Styles */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-links .page-numbers {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(116, 119, 127, 0.3);
    border-radius: 0.25rem;
    color: #191c1e;
    transition: all 0.2s;
}
.nav-links .page-numbers:hover {
    background-color: rgba(0, 45, 111, 0.05);
}
.nav-links .page-numbers.current {
    background-color: #002d6f;
    color: white;
    border-color: #002d6f;
}
.nav-links .dots {
    border: none;
}
.nav-links .material-symbols-outlined {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

/* Comments Styles */
#comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(116, 119, 127, 0.2);
}
.comments-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #002d6f;
    margin-bottom: 1.5rem;
}
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}
.comment-list .comment {
    margin-bottom: 1.5rem;
}
.comment-body {
    background-color: rgba(0, 45, 111, 0.03);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(116, 119, 127, 0.1);
}
.comment-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.comment-author .avatar {
    border-radius: 50%;
}
.comment-author cite {
    font-style: normal;
    font-weight: 600;
    color: #191c1e;
}
.comment-metadata {
    font-size: 0.875rem;
    color: #74777f;
}
.comment-metadata a {
    color: inherit;
    text-decoration: none;
}
.comment-content {
    line-height: 1.6;
    color: #44474e;
}
.comment-content p:last-child {
    margin-bottom: 0;
}
.reply {
    margin-top: 1rem;
}
.comment-reply-link {
    font-size: 0.875rem;
    color: #f37021;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}
.comment-reply-link:hover {
    text-decoration: underline;
    color: #002d6f;
}
.comment-list .children {
    list-style: none;
    padding-left: 2rem;
    margin-top: 1.5rem;
}
@media (max-width: 768px) {
    .comment-list .children {
        padding-left: 1rem;
    }
}

/* Comment Form */
#respond {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(116, 119, 127, 0.2);
    margin-top: 2rem;
}
@media (max-width: 768px) {
    #respond {
        padding: 1.25rem;
    }
}
.comment-reply-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #002d6f;
    margin-bottom: 1rem;
    display: block;
}
#cancel-comment-reply-link {
    font-size: 0.875rem;
    color: #ba1a1a;
    font-weight: normal;
    margin-left: 1rem;
    font-family: 'Inter', sans-serif;
}
.comment-notes {
    font-size: 0.875rem;
    color: #74777f;
    margin-bottom: 1.5rem;
}
.comment-form-comment,
.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}
.comment-form label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #44474e;
    margin-bottom: 0.5rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(116, 119, 127, 0.3);
    border-radius: 0.5rem;
    font-family: inherit;
    background-color: #fcfcff;
    transition: all 0.2s;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #002d6f;
    box-shadow: 0 0 0 2px rgba(0, 45, 111, 0.1);
}
.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 0.25rem;
}
.comment-form-cookies-consent label {
    font-size: 0.875rem;
    font-weight: normal;
    color: #44474e;
    margin-bottom: 0;
}
.form-submit {
    margin-top: 1.5rem;
    margin-bottom: 0;
}
.submit {
    background-color: #f37021;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}
.submit:hover {
    background-color: #d85c14;
}
