/* Blog Styles */

/* Blockquote Styles */
blockquote {
    background-color: #EFEEEB;
    border-radius: 0 8px 8px 0;
    padding: 1.5em;
    margin: 1.5em 0;
    border-left: 4px solid #386182;
}

blockquote p {
    margin: 0;
    font-style: italic;
    color: #396182;
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* Blog Post Links */
.blog-post-image-link {
    text-decoration: none;
    display: block;
}

.blog-post-image-link:hover {
    text-decoration: none;
}

.blog-post-title-link {
    color: inherit;
    text-decoration: none;
}

.blog-post-title-link:hover {
    color: inherit;
    text-decoration: none;
}

/* Blog Post Cards */
.blog-post-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-post-card .blog-post-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-post-card .read-more-section {
    margin-top: auto;
    border-top: 1px solid #E3E2DF;
    padding-top: 1rem;
    font-size: 1rem;
}

/* Related Posts Section */
.related-posts h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #386182;
    text-align: left;
}

.related-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-post-card {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.related-post-content {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.related-post-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.related-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: #386182;
}

.related-post-excerpt {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.related-post-meta {
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.related-post-date {
    font-weight: 500;
}

.related-post-author {
    font-style: italic;
}

.related-post-image {
    flex-shrink: 0;
    width: 300px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.related-post-image-link:hover {
    opacity: 0.9;
}

/* Mobile responsive for related posts */
@media (max-width: 576px) {
    .related-post-card {
        flex-direction: column;
    }
    
    .related-post-image {
        width: 100%;
        height: 200px;
    }
}

.blog-post-card .read-more-link {
    color: #386182;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-post-card .read-more-link:hover {
    color: #2a4b63;
    text-decoration: none;
}

.blog-post-card .read-more-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-post-card .read-more-link:hover .read-more-arrow {
    transform: translateX(4px);
}

.blog-post-card .blog-post-meta {
    margin-bottom: 1rem !important;
}

/* Featured Post Specific Styles */
.blog-post-featured .blog-post-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post-featured .read-more-section {
    margin-top: auto;
    border-top: 1px solid #E3E2DF;
    padding-top: 1rem;
}

.blog-post-featured .read-more-link {
    color: #386182;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-post-featured .read-more-link:hover {
    color: #2a4b63;
    text-decoration: none;
}

.blog-post-featured .read-more-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-post-featured .read-more-link:hover .read-more-arrow {
    transform: translateX(4px);
}

/* Back to Blog Link */
.back-to-blog-link {
    color: #386182;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid #386182;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.back-to-blog-link:hover {
    background-color: #386182;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(56, 97, 130, 0.3);
}

.back-to-blog-link i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.back-to-blog-link:hover i {
    transform: translateX(-2px);
}

.back-to-blog-section {
    text-align: left;
}

/* Author Meta Container */
.author-meta-container {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.author-meta-container .blog-post-category {
    margin-bottom: 0rem !important;
}

.author-photo {
    flex-shrink: 0;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #6c757d;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #386182;
    line-height: 1.2;
}

.author-name span {
    color: #6c757d;
    font-style: italic;
    font-weight: 500;
}

.post-meta-details {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.4;
}

/* Blog Post Category */

/* Breadcrumb Improvements */
.breadcrumb-nav {
    overflow: hidden;
}

.breadcrumb {
    margin-bottom: 0;
    flex-wrap: nowrap;
}

.breadcrumb-item {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb-item a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.breadcrumb-item.active {
    max-width: 100%;
}

/* Responsive breadcrumb adjustments */
@media (max-width: 768px) {
    .breadcrumb-item {
        max-width: 150px;
    }
    
    .breadcrumb-item.active {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .breadcrumb-item {
        max-width: 120px;
    }
    
    .breadcrumb-item.active {
        max-width: 200px;
    }
}
.blog-post-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

/* Share Buttons */
.btn-share {
    background-color: #386182;
    border-color: #386182;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-share:hover,
.btn-share:visited,
.btn-share:focus,
.btn-share:active {
    background-color: #2a4b63;
    border-color: #2a4b63;
    color: white;
    text-decoration: none;
}

.btn-share:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(56, 97, 130, 0.3);
}

.btn-share:visited {
    background-color: #386182;
    border-color: #386182;
    transform: none;
    box-shadow: none;
}

.btn-share i {
    margin-right: 0.5rem;
}

/* Mobile share button optimizations */
@media (max-width: 768px) {
    .btn-share {
        padding: 0.75rem;
        min-width: 48px;
        text-align: center;
    }
    
    .btn-share span {
        display: none;
    }
    
    .btn-share i {
        margin-right: 0;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .btn-share {
        padding: 0.6rem;
        min-width: 44px;
    }
    
    .btn-share i {
        font-size: 1rem;
    }
}

.blog-post-image {
    height: 200px;
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-content {
    margin-top: 1.5rem;
}

.blog-post-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.75rem !important;
}

.blog-post-date {
    font-weight: 500;
}

.blog-post-author {
    font-style: italic;
}

.blog-post-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0rem !important;
    line-height: 1.3;
}

.blog-post-excerpt {
    font-size: 1rem !important;
    color: #6c757d;
    margin-bottom: .75rem !important;
    line-height: 1.6;
}

.blog-post-tags {
    margin-bottom: 0rem;
}

.blog-post-tags .badge {
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    background-color: #e9ecef;
    color: #386182;
}

/* Individual Blog Post */
.blog-post-header {
    border-bottom: 1px solid #E3E2DF;
    padding-bottom: 2rem;
    text-align: left;
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: left;
}

.blog-post-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: left;
}

.blog-post-featured-image {
    border-radius: 8px;
    overflow: hidden;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    color: #386182;
}

.blog-post-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    text-align: left;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    text-align: left;
    color: #386182;
}

.blog-post-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    text-align: left;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    text-align: left;
}

.blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    text-align: left;
    color: #386182;
}

.blog-post-content strong {
    font-weight: 700;
}

.blog-post-content hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Share Buttons */
.blog-post-share {
    border-top: 1px solid #E3E2DF;
    padding-top: 2rem;
}

.blog-post-share h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.share-buttons .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-post-content {
        font-size: 1rem;
    }
    
    .blog-post-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-post-content h3 {
        font-size: 1.25rem;
    }
    
    .blog-post-image {
        height: 150px;
    }
}

/* Blog Index Page */
.blog-posts {
    padding: 4rem 0;
}

.blog-posts .tz-block {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-posts .blog-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-posts .feature-link {
    margin-top: auto;
}

.blog-posts .blog-post-meta {
    margin-bottom: 1rem !important;
}

/* Featured Blog Post */
.blog-post-featured {
    padding: 2rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.blog-post-featured .blog-post-image {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.blog-post-featured .blog-post-content {
    padding: 0;
    margin-top: 0;
}

.blog-post-featured .blog-post-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
    line-height: 1.3;
}

.blog-post-featured .blog-post-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-post-featured .blog-post-meta {
    margin-bottom: 0rem;
}

/* Responsive adjustments for featured post */
@media (max-width: 768px) {
    .blog-post-featured {
        padding: 1.5rem;
    }
    
    .blog-post-featured .blog-post-image {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .blog-post-featured .blog-post-title {
        font-size: 1.5rem;
    }
    
    .blog-post-featured .blog-post-excerpt {
        font-size: 0.95rem;
    }
}

/* Empty State */
.blog-posts .text-center {
    padding: 4rem 0;
}

.blog-posts .text-muted {
    font-size: 1.1rem;
}
