/* ===== HIDE UNWANTED MOODLE HEADER SECTIONS ===== */
/* Remove the default Moodle page header that shows "BodhaneX" */
.page-header,
.page-header-headings,
#page-header .page-header-headings h1,
.page-context-header,
#page-content .page-header {
    display: none !important;
}

/* Also hide any other unwanted header elements */
.navbar + .container-fluid .row .col-12 > h1:first-child {
    display: none !important;
}

/* Hide breadcrumb if not needed */
.breadcrumb-nav {
    display: none !important;
}

/* ===== END HEADER HIDE RULES ===== */

/* ===== READING TIME STYLING WITH CUSTOM BIRD IMAGE ===== */
.reading-time {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important; /* Increased gap for the larger image */
    font-size: 0.65rem !important; /* Made text smaller */
    font-weight: 600 !important;
    color: #6c757d !important;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    padding: 8px 16px !important; /* More padding to accommodate larger image */
    border-radius: 15px !important;
    border: 1px solid #e9ecef !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.reading-time:hover {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: white !important;
    border-color: #0056b3 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3) !important;
}

/* Custom bird image instead of emoji - MUCH LARGER SIZE */
.reading-time::before {
    content: "" !important;
    width: 32px !important; /* SIGNIFICANTLY increased from 20px */
    height: 32px !important; /* SIGNIFICANTLY increased from 20px */
    background-image: url('../images/reading-bird.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
}

.reading-time:hover::before {
    /* Optional: Add a subtle glow effect on hover */
    filter: brightness(1.2) drop-shadow(0 0 3px rgba(255, 255, 255, 0.5)) !important;
    transform: scale(1.1) rotate(5deg) !important;
}

/* Reading time for blog post cards */
.post-meta .reading-time {
    margin-left: auto;
    flex-shrink: 0;
}

/* Reading time for single post page */
.post-meta-single .reading-time {
    order: 1;
}

/* Reading time in enhanced meta section */
.post-meta-enhanced .reading-time {
    margin-left: auto;
    flex-shrink: 0;
}

/* Reading time for related posts */
.related-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
    font-size: 0.75rem;
    color: #6c757d;
}

.related-post-meta .reading-time {
    font-size: 0.6rem !important; /* Made text smaller */
    padding: 6px 12px !important; /* More padding for larger image */
    background: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
}

.related-post-meta .reading-time::before {
    width: 24px !important; /* SIGNIFICANTLY increased from 16px */
    height: 24px !important; /* SIGNIFICANTLY increased from 16px */
}

.related-post-meta .reading-time:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* ===== END READING TIME STYLING ===== */

/* Blog Header - More Compact */
.blog-header {
    text-align: center;
    padding: 12px 0;
    margin-top: -35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 30px;
    border-radius: 10px;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.blog-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
    line-height: 1.3;
}

/* Filters Section - More Compact */
.blog-filters {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-form {
    display: flex;
    gap: 8px;
}

.search-input {
    flex: 1;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 10px 18px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0,123,255,0.2);
}

.search-btn {
    border-radius: 25px;
    padding: 10px 18px;
    border: none;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.category-link {
    padding: 8px 16px;
    border-radius: 25px;
    background: #f1f3f5;
    color: #495057;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.category-link:hover {
    background: #007bff;
    color: white;
    transform: scale(1.05);
}

.category-link.active {
    background: #007bff;
    color: white;
    border-color: #0056b3;
}

/* Blog Posts Grid - More Compact */
.blog-posts-grid {
    margin-bottom: 30px;
}

/* ENHANCED: Blog Card with Consistent Heights */
.blog-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.5s ease both;
    min-height: 480px; /* Increased for desktop */
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Featured Image - More Compact */
.post-image-container {
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    position: relative;
    background: #f8f9fa;
    flex-shrink: 0; /* Prevent shrinking */
}

.featured-image-responsive {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.featured-image-responsive:hover {
    transform: scale(1.02);
}

.image-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 15px 15px 0 0;
    background: #f8f9fa;
}

.image-placeholder::before {
    content: "📝";
    font-size: 2.5rem;
    opacity: 0.7;
    color: white;
}

/* ENHANCED: Post content for consistent card heights */
.post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 260px; /* Consistent content area */
}

.category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.post-title-wrapper {
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    flex-shrink: 0;
    min-height: 65px; /* Consistent title space */
}

.post-title {
    color: #343a40;
    text-decoration: none;
    display: block;
}

.post-title:hover {
    color: #007bff;
    text-decoration: none;
}

.post-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
    min-height: 90px; /* Consistent excerpt space */
    overflow: hidden;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.post-author {
    font-weight: 600;
}

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

.read-more-btn {
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-top: auto; /* Push to bottom */
    flex-shrink: 0;
}

.read-more-btn:hover {
    color: #0056b3;
    text-decoration: none;
    transform: translateX(5px);
}

.read-more-btn::after {
    content: " →";
    margin-left: 5px;
    transition: all 0.3s ease;
}

/* ===== PROFILE PICTURE / AVATAR STYLING ===== */

.post-author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.author-avatar:hover {
    transform: scale(1.1);
}

.author-avatar-fallback {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    cursor: default;
}

.author-avatar-fallback:hover {
    transform: scale(1.1);
}

.post-author-single-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar-single {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.author-avatar-fallback-single {
    width: 45px;
    height: 45px;
    font-size: 16px;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.author-avatar-small {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.author-avatar-fallback-small {
    width: 22px;
    height: 22px;
    font-size: 9px;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.related-post-author {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e9ecef;
}

.related-author-name {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

/* ===== END PROFILE PICTURE STYLING ===== */

/* Single Post Page - More Compact */
.blog-post-single {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.post-header {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    text-align: center;
}

.post-title-single {
    font-size: 2.5rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 18px;
    line-height: 1.2;
}

.post-meta-single {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.category-badge-single {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-author-single,
.post-date-single {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9rem;
}

.post-featured-image {
    width: 100%;
}

.featured-image-single {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.featured-image-placeholder {
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.featured-image-placeholder::before {
    content: "🖼️";
    font-size: 3.5rem;
    opacity: 0.7;
    color: white;
}

.post-content-single {
    padding: 30px;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #343a40;
}

.post-content-single h1,
.post-content-single h2,
.post-content-single h3,
.post-content-single h4,
.post-content-single h5,
.post-content-single h6 {
    margin-top: 25px;
    margin-bottom: 12px;
    color: #343a40;
    line-height: 1.3;
}

.post-content-single p {
    margin-bottom: 16px;
}

.post-content-single img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.post-content-single blockquote {
    border-left: 4px solid #007bff;
    padding: 16px;
    margin: 24px 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    line-height: 1.5;
}

.post-content-single code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    color: #e83e8c;
    font-size: 0.9em;
}

.post-content-single pre {
    background: #2d3748;
    color: #f7fafc;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 16px 0;
    line-height: 1.4;
}

.post-content-single pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.post-navigation {
    padding: 30px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

/* Related Posts - More Compact */
.related-posts {
    margin-top: 50px;
    padding: 30px 0;
    border-top: 2px solid #e9ecef;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #343a40;
    line-height: 1.3;
}

.related-post-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.related-post-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #343a40;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    line-height: 1.3;
}

.related-post-title:hover {
    color: #007bff;
    text-decoration: none;
}

.related-post-excerpt {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
    flex: 1;
}

/* Custom Callout Styles - More Compact */
.tip-box {
    background: #e8f5e9;
    padding: 10px;
    border-left: 4px solid #28a745;
    border-radius: 6px;
    margin: 16px 0;
    line-height: 1.4;
}

.resume-highlight {
    background: #fff3cd;
    padding: 10px;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    margin: 16px 0;
    line-height: 1.4;
}

.final-callout {
    background: #e3f2fd;
    padding: 12px;
    border-left: 4px solid #2196f3;
    border-radius: 6px;
    margin: 24px 0;
    line-height: 1.4;
}

.post-content-single blockquote,
blockquote {
    border-left: 4px solid #6c757d;
    padding: 12px 16px;
    background: #f8f9fa;
    font-style: italic;
    border-radius: 5px;
    margin: 20px 0;
    color: #333;
    line-height: 1.5;
}

.post-content-single ol li h3 {
    font-size: 1.15rem;
    margin-top: 12px;
    margin-bottom: 8px;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
}

.post-content-single ul li {
    margin-bottom: 6px;
    padding-left: 5px;
    line-height: 1.4;
}

.post-content-single hr {
    margin: 30px 0;
    border: none;
    border-top: 2px solid #dee2e6;
}

/* Performance optimizations */
.featured-image-responsive,
.featured-image-single {
    will-change: transform;
    backface-visibility: hidden;
}

/* ===== SOCIAL FEATURES STYLING ===== */

.post-meta-enhanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
    flex-wrap: wrap;
}

.post-author-date-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.post-social-stats {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-stat {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    background: #f9fafb;
    padding: 3px 6px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.social-stat:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

.social-stat-likes {
    color: #dc2626;
}

.social-stat-comments {
    color: #3b82f6;
}

.social-stat-shares {
    color: #059669;
}

/* ============= SOCIAL ACTIONS BAR (for single post) ============= */
.social-actions-bar {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    margin: 24px 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.social-actions-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-actions-right {
    display: flex;
    position: relative;
}

.share-container {
    position: relative;
    display: inline-block;
}

.social-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    min-width: fit-content;
    line-height: 1.2;
    outline: none;
    user-select: none;
}

.social-btn:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    text-decoration: none !important;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-btn:active {
    transform: translateY(0);
}

.social-btn:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.social-btn.liked {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #dc2626 !important;
}

.social-btn.liked:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

.social-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.social-icon {
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

.social-text {
    font-weight: 500;
    white-space: nowrap;
}

.social-count {
    background: #f3f4f6;
    color: #6b7280;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

.social-btn.liked .social-count {
    background: #fca5a5;
    color: white;
}

/* Share dropdown styles - More Compact */
.share-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 12px;
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.share-dropdown[style*="block"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.share-title {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 6px;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.share-link {
    display: flex !important;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none !important;
    color: #374151 !important;
    font-size: 13px;
    transition: background 0.2s ease;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
    line-height: 1.3;
}

.share-link:hover {
    background: #f3f4f6 !important;
    text-decoration: none !important;
    color: #374151 !important;
}

.share-link:before {
    content: '';
    width: 14px;
    height: 14px;
    margin-right: 8px;
    background-size: contain;
    flex-shrink: 0;
}

.share-facebook:before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%234267B2" viewBox="0 0 24 24"><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>');
}

.share-twitter:before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%231DA1F2" viewBox="0 0 24 24"><path d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"/></svg>');
}

.share-linkedin:before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%230077B5" viewBox="0 0 24 24"><path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/></svg>');
}

.share-whatsapp:before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%2325D366" viewBox="0 0 24 24"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.485 3.488"/></svg>');
}

.share-copy:before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%236b7280" viewBox="0 0 24 24"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"/></svg>');
}

/* Comments section - More Compact */
.comments-section {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 2px solid #f3f4f6;
}

.comments-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #1f2937;
    font-weight: 600;
    line-height: 1.3;
}

.comment-form {
    margin-bottom: 24px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.comment-textarea {
    width: 100%;
    min-height: 70px;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    line-height: 1.4;
}

.comment-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.comment-form-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.comment-submit {
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 13px;
}

.comment-submit:hover {
    background: #2563eb;
}

.comment-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.comment {
    margin-bottom: 16px;
    padding: 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.comment:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comment-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.comment-avatar,
.comment-avatar-fallback {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-avatar-fallback {
    background: #6366f1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.comment-meta {
    flex: 1;
    min-width: 0;
}

.comment-author {
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 2px 0;
    line-height: 1.3;
}

.comment-time {
    color: #6b7280;
    font-size: 11px;
    margin: 0;
}

.comment-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.comment-reply-btn,
.comment-delete-btn,
.comment-hide-btn,
.comment-approve-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 11px;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.comment-reply-btn:hover,
.comment-delete-btn:hover,
.comment-hide-btn:hover,
.comment-approve-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.comment-delete-btn:hover {
    color: #dc2626;
    background: #fef2f2;
}

.comment-content {
    color: #374151;
    line-height: 1.5;
    margin-top: 6px;
    font-size: 13px;
}

.comment-content p {
    margin: 0 0 6px 0;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-children {
    margin-left: 24px;
    margin-top: 12px;
    border-left: 2px solid #f3f4f6;
    padding-left: 12px;
}

.comment-level-1 .comment-avatar,
.comment-level-1 .comment-avatar-fallback {
    width: 28px;
    height: 28px;
}

.comment-level-2 .comment-avatar,
.comment-level-2 .comment-avatar-fallback {
    width: 24px;
    height: 24px;
}

.comment-level-3 .comment-avatar,
.comment-level-3 .comment-avatar-fallback {
    width: 20px;
    height: 20px;
}

.reply-form-container {
    margin-top: 10px;
}

.reply-form {
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.reply-header {
    margin-bottom: 8px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.reply-textarea {
    width: 100%;
    min-height: 50px;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 12px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    line-height: 1.4;
}

.reply-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.reply-actions {
    margin-top: 8px;
    display: flex;
    gap: 6px;
}

.reply-submit,
.reply-cancel {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    border: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.reply-submit {
    background: #3b82f6;
    color: white;
}

.reply-submit:hover {
    background: #2563eb;
}

.reply-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.reply-cancel {
    background: #6b7280;
    color: white;
}

.reply-cancel:hover {
    background: #4b5563;
}

.login-prompt {
    text-align: center;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    font-size: 13px;
}

.login-prompt a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.login-prompt a:hover {
    text-decoration: underline;
}

.no-comments {
    text-align: center;
    padding: 24px 16px;
    color: #6b7280;
    font-style: italic;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 13px;
}

/* Animation classes */
.pulse {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.comment-hidden {
    opacity: 0.5;
    background: #fef2f2;
    border-color: #fecaca;
}

.comment-hidden .comment-content:before {
    content: "🚫 This comment has been hidden by a moderator";
    display: block;
    color: #dc2626;
    font-size: 11px;
    font-style: italic;
    margin-bottom: 6px;
    padding: 4px 6px;
    background: #fee2e2;
    border-radius: 4px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 16px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    max-width: 280px;
    word-wrap: break-word;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
}

.notification:hover {
    transform: translateX(-4px);
}

.notification-success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.notification-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.notification-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.notification-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.loading {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* MASSIVELY ENHANCED Mobile Responsive Design */
@media (max-width: 768px) {
    /* DRAMATICALLY increase font sizes for tablets */
    body {
        font-size: 1.6rem !important; /* MASSIVE increase from 1.25rem */
        line-height: 1.4;
    }

    .blog-header {
        padding: 8px 0;
        margin-bottom: 20px;
    }

    .blog-title {
        font-size: 2.8rem; /* Increased from 2.2rem */
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .blog-subtitle {
        font-size: 1.3rem; /* Increased from 1.05rem */
        line-height: 1.3;
    }

    .blog-filters {
        padding: 16px;
        margin-bottom: 20px;
    }

    .category-filter {
        justify-content: center;
        margin-top: 16px;
    }

    .search-input,
    .search-btn {
        font-size: 18px; /* Increased from 16px */
        padding: 14px 18px; /* Increased padding */
    }

    /* FIXED: Consistent card heights on tablets */
    .blog-post-card {
        min-height: 450px; /* Consistent height */
    }

    .post-image-container,
    .image-placeholder {
        height: 180px;
        flex-shrink: 0;
    }

    .post-content {
        padding: 18px; /* Increased from 16px */
        min-height: 250px; /* Consistent content area */
    }

    .post-title-wrapper {
        font-size: 1.7rem !important; /* MASSIVE increase from 1.3rem */
        line-height: 1.3;
        margin-bottom: 12px;
        min-height: 70px; /* Consistent title space */
    }

    .post-excerpt {
        font-size: 1.3rem !important; /* MASSIVE increase from 1rem */
        line-height: 1.5;
        margin-bottom: 14px;
        min-height: 85px; /* Consistent excerpt space */
    }

    .post-meta {
        font-size: 1.1rem !important; /* MASSIVE increase from 0.9rem */
        margin-bottom: 14px;
    }

    .read-more-btn {
        font-size: 1.2rem !important; /* MASSIVE increase from 1rem */
    }

    .post-title-single {
        font-size: 3rem !important; /* MASSIVE increase from 2.6rem */
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .post-meta-single {
        flex-direction: column;
        gap: 10px;
        font-size: 1.2rem !important; /* MASSIVE increase from 1rem */
    }

    .post-content-single {
        padding: 22px; /* Increased from 20px */
        font-size: 2rem !important; /* MASSIVE increase from 1.6rem */
        line-height: 1.5;
    }

    .post-content-single h1,
    .post-content-single h2,
    .post-content-single h3 {
        font-size: 1.9rem !important; /* MASSIVE increase from 1.6rem */
        line-height: 1.3;
        margin-top: 22px;
        margin-bottom: 12px;
    }

    .post-content-single p {
        margin-bottom: 16px;
    }

    .post-header {
        padding: 18px; /* Increased from 16px */
    }

    .featured-image-single {
        height: 300px; /* Increased from 280px */
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .post-author-info {
        order: 1;
    }
    
    .post-date {
        order: 2;
        font-size: 1rem !important; /* MASSIVE increase from 0.85rem */
    }
    
    .post-author-single-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .author-avatar,
    .author-avatar-fallback {
        width: 32px; /* Increased from 28px */
        height: 32px;
        font-size: 13px; /* Increased from 11px */
    }

    .author-avatar-single,
    .author-avatar-fallback-single {
        width: 42px; /* Increased from 36px */
        height: 42px;
        font-size: 16px; /* Increased from 14px */
    }

    .social-actions-bar {
        flex-direction: column;
        gap: 14px; /* Increased from 12px */
        align-items: stretch;
        padding: 14px; /* Increased from 12px */
    }
    
    .social-actions-left {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .social-btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
        padding: 12px 8px; /* Increased from 10px 6px */
        font-size: 16px !important; /* MASSIVE increase from 14px */
    }
    
    .social-text {
        display: none;
    }
    
    .share-dropdown {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        right: auto;
        margin-top: 0;
        min-width: 240px;
        max-width: 90vw;
    }
    
    .comment-children {
        margin-left: 14px; /* Increased from 12px */
        padding-left: 10px; /* Increased from 8px */
    }
    
    .comment-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .comment-actions {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
        margin-top: 8px;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 16px !important; /* MASSIVE increase from 14px */
    }

    .post-meta-enhanced {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .post-social-stats {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .social-stat {
        flex: 1;
        justify-content: center;
        font-size: 14px !important; /* MASSIVE increase from 12px */
        padding: 6px 8px; /* Increased padding */
    }

    .comments-title {
        font-size: 1.6rem !important; /* MASSIVE increase from 1.3rem */
        margin-bottom: 14px;
    }

    .comment-form {
        padding: 14px; /* Increased from 12px */
        margin-bottom: 18px;
    }

    .comment-textarea {
        font-size: 17px !important; /* MASSIVE increase from 14px */
        padding: 10px; /* Increased from 8px */
        min-height: 70px; /* Increased from 60px */
    }

    .comment-submit {
        font-size: 17px !important; /* MASSIVE increase from 14px */
        padding: 10px 14px; /* Increased from 8px 12px */
    }

    .comment {
        padding: 12px; /* Increased from 10px */
        margin-bottom: 14px;
    }

    .comment-content {
        font-size: 17px !important; /* MASSIVE increase from 14px */
        line-height: 1.5;
    }

    .comment-author {
        font-size: 17px !important; /* MASSIVE increase from 14px */
    }

    .comment-time {
        font-size: 14px !important; /* MASSIVE increase from 12px */
    }

    /* Reading time responsive adjustments for bird image - MUCH LARGER SIZES */
    .reading-time {
        font-size: 0.7rem !important; /* Keep text small */
        padding: 10px 18px !important;
        gap: 12px !important;
    }

    .reading-time::before {
        width: 36px !important; /* MUCH larger - increased from 22px */
        height: 36px !important; /* MUCH larger - increased from 22px */
    }

    .post-meta .reading-time {
        margin-left: 0;
        margin-top: 8px;
        align-self: flex-start;
    }

    .post-meta-single .reading-time {
        font-size: 0.8rem !important; /* Keep text small */
    }

    .related-post-meta .reading-time {
        font-size: 0.6rem !important; /* Keep text small */
        padding: 8px 14px !important;
    }

    .related-post-meta .reading-time::before {
        width: 28px !important; /* MUCH larger - increased from 18px */
        height: 28px !important; /* MUCH larger - increased from 18px */
    }
}

@media (max-width: 480px) {
    /* DRAMATICALLY increase font sizes for phones */
    body {
        font-size: 1.8rem !important; /* MASSIVE increase from 1.35rem */
        line-height: 1.4;
    }

    .blog-title {
        font-size: 2.6rem; /* Increased from 2rem */
        line-height: 1.2;
    }

    .blog-subtitle {
        font-size: 1.4rem; /* Increased from 1rem */
        line-height: 1.3;
    }

    .blog-filters {
        padding: 14px; /* Increased from 12px */
    }

    .search-form {
        flex-direction: column;
        gap: 10px;
    }

    .search-input,
    .search-btn {
        width: 100%;
        font-size: 18px;
        padding: 16px; /* Increased padding */
    }

    .category-filter {
        flex-direction: column;
        align-items: center;
    }

    .category-link {
        font-size: 1.2rem !important; /* MASSIVE increase from 1rem */
        padding: 10px 16px; /* Increased padding */
    }

    /* FIXED: Consistent card heights on phones */
    .blog-post-card {
        min-height: 420px; /* Consistent height */
    }

    .post-image-container,
    .image-placeholder {
        height: 160px;
        flex-shrink: 0;
    }

    .post-content {
        padding: 16px; /* Increased from 14px */
        min-height: 240px; /* Consistent content area */
    }

    .post-title-wrapper {
        font-size: 1.9rem !important; /* MASSIVE increase from 1.4rem */
        line-height: 1.3;
        margin-bottom: 10px;
        min-height: 75px; /* Consistent title space */
    }

    .post-excerpt {
        font-size: 1.5rem !important; /* MASSIVE increase from 1.1rem */
        line-height: 1.5;
        margin-bottom: 12px;
        min-height: 90px; /* Consistent excerpt space */
    }

    .post-meta {
        font-size: 1.3rem !important; /* MASSIVE increase from 1rem */
        margin-bottom: 12px;
    }

    .read-more-btn {
        font-size: 1.4rem !important; /* MASSIVE increase from 1.05rem */
    }

    .post-title-single {
        font-size: 2.8rem !important; /* MASSIVE increase from 2.3rem */
        line-height: 1.2;
        margin-bottom: 14px;
    }

    .post-content-single {
        padding: 18px; /* Increased from 16px */
        font-size: 2.2rem !important; /* MASSIVE increase from 1.7rem */
        line-height: 1.5;
    }

    .post-content-single h1,
    .post-content-single h2,
    .post-content-single h3 {
        font-size: 2.1rem !important; /* MASSIVE increase from 1.7rem */
        line-height: 1.3;
        margin-top: 18px;
        margin-bottom: 10px;
    }

    .post-content-single p {
        margin-bottom: 14px;
    }

    .post-header {
        padding: 14px; /* Increased from 12px */
    }

    .featured-image-single {
        height: 260px; /* Increased from 240px */
    }

    .post-meta-single {
        font-size: 1.3rem !important; /* MASSIVE increase from 1.05rem */
    }

    .social-actions-left {
        flex-direction: column;
        gap: 8px;
    }
    
    .social-btn {
        width: 100%;
        font-size: 18px !important; /* MASSIVE increase from 15px */
        padding: 12px 10px; /* Increased padding */
    }
    
    .social-text {
        display: inline;
    }
    
    .comment-avatar,
    .comment-avatar-fallback {
        width: 34px; /* Increased from 28px */
        height: 34px;
    }
    
    .comment {
        padding: 12px; /* Increased from 8px */
    }

    .comments-title {
        font-size: 1.7rem !important; /* MASSIVE increase from 1.25rem */
        margin-bottom: 12px;
    }

    .comment-form {
        padding: 14px; /* Increased from 10px */
        margin-bottom: 16px;
    }

    .comment-textarea {
        font-size: 19px !important; /* MASSIVE increase from 15px */
        padding: 12px; /* Increased from 8px */
        min-height: 70px; /* Increased from 50px */
    }

    .comment-submit {
        font-size: 19px !important; /* MASSIVE increase from 15px */
        padding: 12px 16px; /* Increased from 8px 12px */
    }

    .comment-content {
        font-size: 19px !important; /* MASSIVE increase from 15px */
        line-height: 1.5;
    }

    .comment-author {
        font-size: 19px !important; /* MASSIVE increase from 15px */
    }

    .comment-time {
        font-size: 16px !important; /* MASSIVE increase from 13px */
    }

    .reply-textarea {
        font-size: 17px !important; /* MASSIVE increase from 14px */
        min-height: 60px; /* Increased from 40px */
        padding: 10px; /* Increased padding */
    }

    .reply-submit,
    .reply-cancel {
        font-size: 16px !important; /* MASSIVE increase from 13px */
        padding: 8px 12px; /* Increased from 6px 10px */
    }

    /* Reading time responsive adjustments for bird image - MUCH LARGER SIZES */
    .reading-time {
        font-size: 0.8rem !important; /* Keep text small */
        padding: 12px 20px !important;
        gap: 14px !important;
    }

    .reading-time::before {
        width: 40px !important; /* MUCH larger - increased from 24px */
        height: 40px !important; /* MUCH larger - increased from 24px */
    }

    .post-meta-single .reading-time {
        font-size: 0.9rem !important; /* Keep text small */
    }

    .related-post-meta .reading-time {
        font-size: 0.7rem !important; /* Keep text small */
        padding: 10px 16px !important;
    }

    .related-post-meta .reading-time::before {
        width: 32px !important; /* MUCH larger - increased from 20px */
        height: 32px !important; /* MUCH larger - increased from 20px */
    }
}

@media (max-width: 360px) {
    /* DRAMATICALLY increase font sizes for very small phones */
    body {
        font-size: 1.9rem !important; /* MASSIVE increase from 1.4rem */
        line-height: 1.4;
    }

    .blog-title {
        font-size: 2.4rem; /* Increased from 1.8rem */
        line-height: 1.2;
    }

    /* FIXED: Consistent card heights on very small phones */
    .blog-post-card {
        min-height: 400px; /* Consistent height */
    }

    .post-title-wrapper {
        font-size: 1.7rem !important; /* MASSIVE increase from 1.3rem */
        line-height: 1.3;
        min-height: 70px; /* Consistent title space */
    }

    .post-excerpt {
        font-size: 1.4rem !important; /* MASSIVE increase from 1.15rem */
        line-height: 1.5;
        min-height: 85px; /* Consistent excerpt space */
    }

    .post-title-single {
        font-size: 2.6rem !important; /* MASSIVE increase from 2rem */
        line-height: 1.2;
    }

    .post-content-single {
        font-size: 2.1rem !important; /* MASSIVE increase from 1.75rem */
        line-height: 1.5;
    }

    .post-content-single h1,
    .post-content-single h2,
    .post-content-single h3 {
        font-size: 2rem !important; /* MASSIVE increase from 1.6rem */
        line-height: 1.3;
    }

    .social-btn {
        font-size: 17px !important; /* MASSIVE increase from 14px */
    }

    .comment-content {
        font-size: 18px !important; /* MASSIVE increase from 16px */
    }

    .comment-textarea {
        font-size: 18px !important; /* MASSIVE increase from 16px */
    }

    /* Reading time responsive adjustments for bird image - MUCH LARGER SIZES */
    .reading-time {
        font-size: 0.75rem !important; /* Keep text small */
        padding: 10px 18px !important;
    }

    .reading-time::before {
        width: 36px !important; /* MUCH larger - increased from 22px */
        height: 36px !important; /* MUCH larger - increased from 22px */
    }

    .post-meta-single .reading-time {
        font-size: 0.85rem !important; /* Keep text small */
    }

    .related-post-meta .reading-time {
        font-size: 0.65rem !important; /* Keep text small */
        padding: 8px 14px !important;
    }

    .related-post-meta .reading-time::before {
        width: 28px !important; /* MUCH larger - increased from 18px */
        height: 28px !important; /* MUCH larger - increased from 18px */
    }
}

/* Print styles for better printing */
@media print {
    .blog-header,
    .blog-filters,
    .post-navigation,
    .related-posts,
    .social-actions-bar,
    .share-dropdown,
    .notification {
        display: none !important;
    }
    
    .blog-post-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .author-avatar,
    .author-avatar-fallback,
    .author-avatar-single,
    .author-avatar-fallback-single,
    .author-avatar-small,
    .author-avatar-fallback-small {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    
    .comment-actions {
        display: none !important;
    }
    
    .reply-form-container {
        display: none !important;
    }

    .reading-time {
        background: #f8f9fa !important;
        color: #333 !important;
        border: 1px solid #ccc !important;
    }

    .reading-time::before {
        /* Ensure image prints well */
        filter: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .social-btn {
        border-width: 2px;
    }
    
    .comment {
        border-width: 2px;
    }
    
    .share-dropdown {
        border-width: 2px;
    }

    .reading-time {
        border-width: 2px;
    }

    .reading-time::before {
        /* Increase contrast for accessibility */
        filter: contrast(1.5);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .social-btn,
    .comment,
    .share-dropdown,
    .notification {
        transition: none;
    }
    
    .pulse,
    .fade-in {
        animation: none;
    }
    
    .loading {
        animation: none;
        border: 2px solid currentColor;
        opacity: 0.5;
    }

    .reading-time {
        transition: none;
    }

    .reading-time::before {
        transition: none;
        transform: none !important;
    }

    .reading-time:hover::before {
        transform: none !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .social-actions-bar {
        background: rgba(31, 41, 55, 0.9);
        border-color: #374151;
    }
    
    .social-btn {
        background: #374151;
        color: #f9fafb;
        border-color: #4b5563;
    }
    
    .social-btn:hover {
        background: #4b5563;
        border-color: #6b7280;
    }
    
    .share-dropdown {
        background: #1f2937;
        border-color: #374151;
    }
    
    .share-link {
        color: #f9fafb;
    }
    
    .share-link:hover {
        background: #374151;
        color: #f9fafb;
    }
    
    .comment {
        background: #1f2937;
        border-color: #374151;
    }
    
    .comment-form {
        background: #111827;
        border-color: #374151;
    }
    
    .comment-textarea,
    .reply-textarea {
        background: #374151;
        border-color: #4b5563;
        color: #f9fafb;
    }
    
    .comments-title,
    .comment-author,
    .comment-content {
        color: #f9fafb;
    }
    
    .comment-time {
        color: #9ca3af;
    }

    .reading-time {
        background: linear-gradient(135deg, #374151, #4b5563);
        color: #f9fafb;
        border-color: #6b7280;
    }

    .reading-time:hover {
        background: linear-gradient(135deg, #3b82f6, #2563eb);
        color: white;
        border-color: #3b82f6;
    }

    .reading-time::before {
        /* Optional: Adjust image for dark mode */
        filter: brightness(1.1) contrast(1.1);
    }

    .reading-time:hover::before {
        filter: brightness(1.3) drop-shadow(0 0 3px rgba(255, 255, 255, 0.3));
    }

    .related-post-meta .reading-time {
        background: #374151;
        border-color: #4b5563;
        color: #f9fafb;
    }

    .related-post-meta .reading-time:hover {
        background: #3b82f6;
        color: white;
        border-color: #3b82f6;
    }
}

/* Accessibility improvements */
.social-btn:focus,
.comment-reply-btn:focus,
.comment-delete-btn:focus,
.comment-hide-btn:focus,
.comment-approve-btn:focus,
.reply-submit:focus,
.reply-cancel:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.comment-textarea:focus,
.reply-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.social-btn:focus-visible,
.comment-reply-btn:focus-visible,
.comment-delete-btn:focus-visible,
.comment-hide-btn:focus-visible,
.comment-approve-btn:focus-visible {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.reading-time:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.comment {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn.liked .social-icon {
    animation: heartBeat 0.6s ease-in-out;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

.comment:hover .comment-actions {
    opacity: 1;
}

.comment-actions {
    opacity: 0;
    transition: opacity 0.2s ease;
}

@media (max-width: 768px) {
    .comment-actions {
        opacity: 1;
    }
}