﻿a,.btn-link {
    color: #bf1e2e;
}
.subnav {
    display: none;
}
.cursor-pointer {cursor: pointer;}

.static-content blockquote {
    margin-left: 15px;
    font-style: italic;
    font-size: 1.1em;
    color: #777;
}

article.post > div.blog-article {
    position: relative;
    margin-bottom: 30px;
}

article.post blockquote {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 40px;
    margin-inline-end: 40px;
    background-color: rgba(0,0,0,10%);
    position: relative;
    border-radius: 10px;
    padding: 15px;
}
article.post blockquote::before {
    content: '“';
    position: absolute;
    z-index: 1;
    font-size: 120px;
    font-family: "Times New Roman", serif;
    color: rgba(127,127,127,50%);
    top: -0.20em;
    left: -0.42em;
    line-height: 1em;
}
article.post blockquote::after {
    content: '”';
    position: absolute;
    z-index: 1;
    font-size: 120px;
    font-family: "Times New Roman", serif;
    color: rgba(127,127,127,50%);
    bottom: -0.65em;
    right: -0.42em;
    line-height: 1em;
}

.static-content aside {
    padding: 0.5em 1em 0;
    border: 1px ridge wheat;
    background-color: #FCFAF6;
    margin: 10px 0;
    font-size: 0.9em;
    opacity: 0.9;
}

/*.static-content*/ a.external-link::after {
    content: '🔗';
    font-size: 0.7em;
    position: relative;
    top: -0.3em;
}

/*h1,h2,h3,h4,h5,h6 {
    page-break-after: avoid;
    font-weight: 900;
    font-style: normal;
    font-family: "Merriweather", Helvetica, Roboto, Arial, sans-serif
}*/

a.msg-btn:hover {
    text-decoration: none;
}

.full-width-container-alt{
    background-color: #f5f0ec;
}

.full-width-container-black-on-white{
    background: #333;
    color: #eee;
}

.full-width-container-alt .card {
    background-color: transparent;
}

.container-fluid{
    padding-left:0px;
    padding-right:0px;
}

.card-bible-icon{
    max-width: 128px;
}

p.hero{
    font-size: 1.2em;
}

.no-border{
    border:none;
}

.hover-visible-haschild .hover-visible-child { display: none;}
.hover-visible-haschild:hover .hover-visible-child { display: block;}

/*
 * Sidebar
 */

.profile-left-sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.left-sidebar-sticky,
.profile-left-sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .left-sidebar-sticky,
    .profile-left-sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.profile-left-sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.profile-left-sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.profile-left-sidebar .nav-link.active {
    color: #bf1e2e;
}

.profile-left-sidebar .nav-link:hover .feather,
.profile-left-sidebar .nav-link.active .feather {
    color: inherit;
}

.profile-left-sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

.right-sidebar{
    border-radius: 4px;
}

.profile-right-sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 100; /* Behind the navbar */
    padding: 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.right-sidebar-sticky,
.profile-right-sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .right-sidebar-sticky,
    .profile-right-sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.profile-right-sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.profile-right-sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.profile-right-sidebar .nav-link.active {
    color: #bf1e2e;
}

.profile-right-sidebar .nav-link:hover .feather,
.profile-right-sidebar .nav-link.active .feather {
    color: inherit;
}

.profile-right-sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
}

table.member-list td,
table.member-list th{
    padding: 3px 30px;
}

#MessagesTool {
    width: 32px;
    height: 32px;
    cursor: pointer;
    margin-right: 16px;
}

#MessagesTool img {
    position: relative;
    margin-right: 10px;
}
#MessagesTool span.badge {
    position: absolute;
    top: -2px;
    right: -5px;
    font-size: 0.6em;
}

#StreamTextInput::placeholder{
    font-size: 0.6em;
}
#StreamTextInput {
    font-size: 1.6em;
    min-height: 1em;
    transition: font-size 0.5s;
}

#StreamTextInput.populated {
    min-height: 150px;
    max-height: 300px;
}
#StreamTextInput.caption,
#StreamTextInput.verbose {
    font-size: 1em;
    transition: font-size 0.5s;
}

/*   stream   */

.superbox {
    background-color: #f0f0f0;
    padding: 1em;
    border: outset 1px #d0d0d0;
    border-radius: 4px;
    margin-bottom: 3px; 
}

.ctx-menu-item{
    font-size: 0.8em;
}

.stream-item {
    margin-bottom: 5px;
    padding: 4px;
}
.stream-item .stream-item-action-button {
    position: relative;
    top: -0.3em;
    font-size: 1.5em;
}
.stream-item.microblog .stream-item-content {
    font-size: 1.5em;
}
.stream-item.microblog .stream-item-content h1 {
    font-size: 1.25em;
}
.stream-item.microblog .stream-item-content h2 {
    font-size: 1.2em;
}
.stream-item.microblog .stream-item-content h3 {
    font-size: 1.15em;
}
.stream-item.microblog .stream-item-content h4 {
    font-size: 1.1em;
}
.stream-item.microblog .stream-item-content h5 {
    font-size: 1.05em;
}
.stream-item.microblog .stream-item-content h6 {
    font-size: 1em;
}
.stream-item.microblog .stream-item-content[contenteditable="true"]{
    padding: 5px;
}

.stream-item.external-link .external-link-detail {
    margin: 6px;
    border: outset 1px;
    padding: 4px;
    border-radius: 4px;
    font-size: 0.8em;
}

.stream-item.external-link .external-link-detail label {
    font-weight: bold;
}

.stream-item .edited-annotation {
    font-weight: bold;
    font-size: 0.7em;
    margin-left: 6px;
}
.stream-item.microblog .stream-item-content.verbose {
    font-size: 1em;
}
.stream-item-heading div {
    line-height: 1em;
}

.stream-item-timestamp-link {
    font-size: 0.7em;
    color: black;
}

img.stream-item-originator-thumb {
    border-radius: 30%;
    float: left;
    margin-right: 0.5em;
}

select.content-privacy {
    border: outset 1px;
    border-radius: 4px;
    padding: 3px;
    position: relative;
    top: 2px;
    background-color: #fafafa;
}

.left-sidebar {
    background-color: #f0f0f0;
    height: 100%;
    border-right: solid #ccc 1px;
    border-top-left-radius: 0;
    border-top-right-radius: 4px;
}
.left-sidebar img.profile-thumb{
    border-radius: 25%;
}
.left-sidebar a,
.left-sidebar a:visited{
    color:black;
}
.left-sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
    /*background-color: #249;*/
    background-color: #bf1e2e;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
}
.left-sidebar .nav-link {

    font-size: 0.8em;
}
.left-sidebar .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: white;
    color: black;
}

.right-sidebar{
    height: 100%;
    font-size: 0.9em;
}

.dim30{
    opacity:30%;
}

.external-link-preview {
    font-size: 0.75em;
}

.external-link-content-title {
    margin-top: 6px;
}

.external-link-content-title label,
.external-link-content-title input,
.external-link-content-title textarea,
.external-link-content-description label,
.external-link-content-description input,
.external-link-content-description textarea {
    line-height: 1.0;
    margin: 0;
    padding: 3px;
    font-size: 1em;
}
.external-link-content-title label,
.external-link-content-description label{
    padding: 0;
}

#NotificationsTool .dropdown-menu,
#NotificationsTool .dropdown-menu a,
#NotificationsTool .dropdown-menu a:visited {
    color: black;
}
#NotificationsTool .dropdown-menu a {
    text-decoration: underline;
}

/* Modern Typography Improvements */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* Blog Post Cards */
.post {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Post Headers */
.post h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.post h3 a {
    color: inherit;
    text-decoration: none;
}

.post h3 a:hover {
    color: #dc2626; /* Matches your existing red accent */
}

/* Post Meta */
.post time {
    font-size: 0.9rem;
    color: #6b7280;
    margin-right: 1rem;
}

/* Categories */
.categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.categories li {
    font-size: 0.875rem;
    color: #6b7280;
}

.categories a {
    color: #dc2626;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: #fee2e2;
    transition: background 0.2s ease;
}

.categories a:hover {
    background: #fecaca;
}

/* Blog Header */
.blog-header {
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.blog-settings {
    max-width: 1200px; /* Increased from 800px */
}

.blog-description {
    color: #6b7280;
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

.blog-actions {
    margin-top: 1.5rem;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    gap: 2rem;
    max-width: 1200px; /* Increased from 800px */
    margin: 0 auto;
}

/* Post Refinements */
.post-header {
    margin-bottom: 1.5rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.post-meta time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta svg {
    color: #6b7280;
}

.post-content {
    margin: 1.5rem 0;
}

.post-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    /* Removed: border-top: 1px solid #e5e7eb; */
}

/* No Posts State */
.no-posts {
    text-align: center;
    padding: 3rem;
    background: #f9fafb;
    border-radius: 8px;
    color: #6b7280;
}

.no-posts svg {
    margin-bottom: 1rem;
    color: #d1d5db;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post {
        padding: 1.5rem;
    }
    
    .post h3 {
        font-size: 1.5rem;
    }
    
    .blog-header {
        padding: 1.5rem 0;
    }
    
    .posts-grid {
        gap: 1.5rem;
    }
}

/* Base styles */
.min-h-screen {
    min-height: 100vh;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

/* Container */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Post Card */
.post-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
}

.post-card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Post Header */
.post-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.post-header h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.post-header h3 a:hover {
    color: #dc2626;
}

/* Post Meta */
.post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Buttons */
.btn-new-post {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.btn-new-post:hover {
    background: #b91c1c;
    text-decoration: none;
}

.btn-edit {
    color: #dc2626;
    padding: 0.25rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

.btn-edit:hover {
    background: #fee2e2;
}

/* Categories */
.post-categories {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.post-categories span {
    color: #6b7280;
}

.post-categories a {
    color: #dc2626;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    background: #fee2e2;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
}

.post-categories a:hover {
    background: #fecaca;
}

/* Pagination */
.pagination-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
}

.pagination-link:hover {
    color: #b91c1c;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Add these styles to your site.css */
article.post {
    padding: 2rem;  /* 32px base padding */
}

@media (min-width: 768px) {
    article.post {
        padding: 3rem;  /* 48px padding on larger screens */
    }
}

/* Update your existing .prose class to ensure proper content spacing */
.prose {
    max-width: none;
    padding: 0 1rem;  /* Add horizontal padding to prose content */
}

@media (min-width: 768px) {
    .prose {
        padding: 0 2rem;  /* More padding on larger screens */
    }
}

/* Update the article title styling */
article.post h1 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: -0.025em;
}

/* Blog title styling */
.blog-settings h1 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: -0.025em;
}

.blog-settings p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
}

