/**
 * Blog styles for FungusHead theme
 * Based on the blog-preview.html design
 */

/* Blog Layout */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.blog-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: 8fr 4fr;
    }
}

/* Blog Content Area */
.blog-content {
    width: 100%;
    min-width: 0; /* Prevents flex/grid items from overflowing */
    overflow: hidden; /* Prevent content from spilling out */
    box-sizing: border-box;
}

.blog-sidebar {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .blog-content {
        width: auto; /* Let grid control the width */
        max-width: 100%; /* Ensure it doesn't exceed grid column */
    }
    
    .blog-sidebar {
        width: auto; /* Let grid control the width */
        max-width: 100%; /* Ensure it doesn't exceed grid column */
    }
}

/* Blog Card */
.blog-card {
    border: 4px solid #000;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 0.8);
    background-color: #fff;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 10px 10px 0px 0px rgba(255, 105, 180, 0.8);
}

.blog-card-inner {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .blog-card-inner {
        flex-direction: row;
    }
}

.blog-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

@media (min-width: 768px) {
    .blog-card-image {
        width: 40%;
        flex-shrink: 0;
        aspect-ratio: auto;
    }
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* Performance optimizations */
    vertical-align: middle;
    background-color: #f5f5f5;
    image-rendering: -webkit-optimize-contrast;
}

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

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
}

/* Category Badges */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-category {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
    text-decoration: none;
}

.blog-category:hover {
    background-color: #ff69b4;
    color: #fff;
    text-decoration: none;
}

/* Blog Title */
.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
}

.blog-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-title a:hover {
    color: #ff69b4;
    text-decoration: none;
}

/* Blog Excerpt */
.blog-excerpt {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
    font-family: var(--font-primary, 'Inter', sans-serif);
}

/* Meta Information */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    font-size: 0.85rem;
    color: #000;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border: 2px solid #000;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
}

.blog-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-author-info {
    display: flex;
    flex-direction: column;
}

.blog-author-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #000;
}

.blog-author-role {
    font-size: 0.75rem;
    color: #000;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Read More Button */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #000;
    padding: 0.5rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.8);
    background-color: #000;
    color: #fff;
    text-decoration: none;
    margin-top: 1rem;
}

.blog-read-more:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 0px 0px rgba(255, 105, 180, 0.8);
    color: #fff;
    text-decoration: none;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section-title {
    font-size: 2.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
}

/* Sidebar: Categories */
.sidebar-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidebar-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 4px solid #000;
    background-color: #fff;
    color: #000;
    font-size: 0.875rem;
    text-transform: capitalize;
    text-decoration: none;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
    transition: all 0.2s ease;
}

.sidebar-category:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0px 0px rgba(255, 105, 180, 0.8);
    background-color: #ff69b4;
    color: #fff;
    text-decoration: none;
}

/* Sidebar: Recent Posts */
.sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-post {
    padding: 1rem;
    border: 4px solid #000;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 0.8);
    background-color: #fff;
    transition: all 0.2s ease;
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.sidebar-post:hover {
    transform: translateY(-3px);
    box-shadow: 10px 10px 0px 0px rgba(255, 105, 180, 0.8);
    text-decoration: none;
}

.sidebar-post:hover .sidebar-post-title {
    color: #ff69b4;
}

.sidebar-post-image {
    position: relative;
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    border: 2px solid #000;
    overflow: hidden;
}

.sidebar-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-content {
    display: flex;
    flex-direction: column;
}

.sidebar-post-title {
    font-weight: 500;
    font-size: 2.875rem;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.sidebar-post-meta {
    font-size: 0.75rem;
    color: #000;
}

/* Sidebar: Newsletter */
.sidebar-newsletter {
    padding: 1.5rem;
    border: 4px solid #000;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 0.8);
    background-color: #fff;
    transition: all 0.2s ease;
}

.sidebar-newsletter:hover {
    transform: translateY(-3px);
    box-shadow: 10px 10px 0px 0px rgba(255, 105, 180, 0.8);
}

.sidebar-newsletter-title {
    font-size: 2.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
}

.sidebar-newsletter-description {
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 1rem;
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-newsletter-input {
    width: 100%;
    padding: 0.75rem;
    border: 4px solid #000;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
}

.sidebar-newsletter-input:focus {
    outline: none;
    border-color: #ff69b4;
}

.sidebar-newsletter-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #ff69b4;
    color: #fff;
    border: 4px solid #000;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.8);
    transition: all 0.2s ease;
}

.sidebar-newsletter-button:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 1);
}

/* Single Post Styles */
.single-post .entry-header {
    margin-bottom: 2rem;
}

.single-post .entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
    color: var(--color-black, #000);
    letter-spacing: 1px !important;
}

@media (min-width: 768px) {
    .single-post .entry-title {
        font-size: 3rem;
    }
}

.single-post .entry-excerpt {
    font-size: 1.125rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-family: var(--font-primary, 'Inter', sans-serif);
}

.single-post .entry-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 5px;
}

.single-post .featured-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 2rem;
    border: 4px solid #000;
    overflow: hidden;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 0.8);
    transition: all 0.2s ease;
}

.single-post .featured-image:hover {
    transform: translateY(-3px);
    box-shadow: 10px 10px 0px 0px rgba(255, 105, 180, 0.8);
}

.single-post .featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Styling */
.single-post .entry-content {
    max-width: none;
    margin-bottom: 2rem;
}

.single-post .entry-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-black, #000);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
    letter-spacing: 1px !important;
}

.single-post .entry-content h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-black, #000);
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
    letter-spacing: 1px !important;
}

.single-post .entry-content h4 {
    font-size: 3.25rem;
    font-weight: 600;
    color: var(--color-black, #000);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
    letter-spacing: 1px !important;
}

.single-post .entry-content h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-black, #000);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
    letter-spacing: 1px !important;
}

.single-post .entry-content h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black, #000);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
    letter-spacing: 1px !important;
}

.single-post .entry-content p {
    margin-bottom: 1rem;
    font-family: var(--font-primary, 'Inter', sans-serif);
    font-size: 18px;
}

.single-post .entry-content strong {
    color: var(--color-black, #000);
}

.single-post .entry-content ul,
.single-post .entry-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.single-post .entry-content li {
    margin-bottom: 0.5rem;
    font-size: 18px;
}

.single-post .entry-content blockquote {
    border-left: 4px solid var(--color-black, #000);
    padding-left: 1rem;
    font-style: italic;
    margin: 1.5rem 0;
}

/* Author Box */
.author-box {
    margin-top: 3rem;
    padding: 1.5rem;
    border: 4px solid #000;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 0.8);
    background-color: #fff;
    transition: all 0.2s ease;
}

.author-box:hover {
    transform: translateY(-3px);
    box-shadow: 10px 10px 0px 0px rgba(255, 105, 180, 0.8);
}

.author-box-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .author-box-content {
        flex-direction: row;
    }
}

.author-box-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .author-box-avatar {
        width: 25%;
    }
}

.author-box-avatar-img {
    position: relative;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #000;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.75rem;
}

.author-box-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-box-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.author-box-role {
    font-size: 0.875rem;
    color: #333;
    margin-bottom: 0.75rem;
}

.author-box-info {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .author-box-info {
        width: 75%;
    }
}

/* Mobile-specific centering for author box */
@media (max-width: 767px) {
    .author-box-content {
        text-align: center;
        align-items: center;
    }
    
    .author-box-info {
        align-items: center;
        text-align: center;
    }
    
    .author-box-bio-title,
    .author-box-bio {
        text-align: center;
    }
}

.author-box-bio-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-box-bio {
    color: #333;
    margin-bottom: 1rem;
}

/* Author CTA: white label (must beat .entry-content a) */
.entry-content .author-box a.author-box-cta,
.entry-content .author-box a.author-box-cta:hover {
    color: #fff !important;
}

/* Social Share */
.social-sharing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 4px solid #000;
    background-color: #fff;
    color: #000;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.8);
    transition: all 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 0px 0px rgba(255, 105, 180, 0.8);
}

/* Pagination */
.posts-navigation,
.post-navigation {
    margin: 2rem 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous a,
.nav-next a {
    display: inline-flex;
    align-items: center;
    border: 4px solid #000;
    padding: 0.5rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.8);
    background-color: #000;
    color: #fff;
    text-decoration: none;
}

.nav-previous a:hover,
.nav-next a:hover {
    transform: translateY(-3px);
    box-shadow: 8px 8px 0px 0px rgba(255, 105, 180, 0.8);
    color: #fff;
    text-decoration: none;
}

/* == Category Page Specific Styles Start == */

.category .posts-container {
    display: flex !important;
    flex-wrap: wrap !important; /* Allow wrapping on small screens if needed */
    gap: 1.5rem !important; /* Adjust gap as needed */
    justify-content: flex-start !important; /* Align items to the start */
}

.category .post-card {
    margin-bottom: 1.5rem !important;
    border: 4px solid #000 !important;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 0.8) !important;
    background-color: #eee !important; /* Fallback */
    display: block !important; 
    position: relative !important; 
    aspect-ratio: 1 / 1 !important; /* Make it square */
    overflow: hidden; 
    padding: 0 !important; /* Remove padding from card */
}

/* Image covers the square */
.category .post-card .post-thumbnail {
    display: block !important;
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1; /* Behind content */
    height: auto !important; /* Let aspect ratio control height */
    overflow: hidden;
}

.category .post-card .post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
}

/* Hide elements */
.category .post-card .entry-meta.mb-2, /* Category links container */
.category .post-card .entry-summary,  
.category .post-card .entry-footer,   
.category .post-card .blog-read-more {
    display: none !important;
}

/* Content Overlay at Bottom */
.category .post-card .entry-content {
    position: absolute !important;
    bottom: 0; 
    left: 0; 
    right: 0;
    z-index: 2; /* Above image */
    padding: 0.75rem !important; 
    background: rgba(0, 0, 0, 0.8) !important; 
    color: #fff !important; 
    display: block !important; 
    height: auto !important; 
}

.category .post-card .entry-header {
    margin-bottom: 0.5rem !important; /* Space between header and author/date */
    padding: 0 !important; 
}

.category .post-card h2.entry-title {
    font-size: 2rem !important; /* Slightly smaller title for space */
    line-height: 1.2 !important;
    margin-bottom: 0.25rem !important; 
    color: #fff !important; 
    letter-spacing: 0em !important;
}

.category .post-card h2.entry-title a {
    color: #fff !important; 
    text-decoration: none !important;
    letter-spacing: 0.2rem !important;
}

.category .post-card h2.entry-title a:hover {
    text-decoration: underline !important;
}

/* Author and Date Meta Line */
.category .post-card .entry-meta.text-sm {
    display: flex !important; /* Make visible and use flex */
    flex-wrap: wrap; /* Allow wrap if needed, but unlikely */
    gap: 0.75rem; /* Space between author and date */
    font-size: 0.7rem !important; /* Smaller meta text */
    margin-top: 0 !important; 
    color: rgba(255,255,255,0.8) !important; 
    align-items: center;
}

/* Ensure Author block is visible and styled */
.category .post-card .blog-author {
    display: flex !important; 
    align-items: center !important;
    gap: 0.3rem !important;
    margin: 0 !important; /* Reset margin */
}

.category .post-card .blog-author-avatar {
    display: none !important; /* Hide avatar to save space */
}

.category .post-card .blog-author-name {
    font-size: 0.7rem !important;
    font-weight: 500;
    color: rgba(255,255,255,0.8) !important;
}

.category .post-card .blog-author-role {
    display: none !important; /* Hide role */
}

/* Date Specific Style - inherits from .entry-meta */

/* Category Page Specific Styles - 3 Column Grid */
.category .posts-grid {
    display: grid !important;
    gap: 1.5rem !important; 
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* Default 2 columns */
}

/* Medium screens and up: 3 columns */
@media (min-width: 768px) {
    .category .posts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Category Archive Header */
.category .category-header {
    margin-bottom: 50px !important; /* Added bottom margin */
} 

.entry-content {
    margin-bottom: 0px !important;
}

.archive-title-wrapper{
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    text-align: center;
}

.archive-title-wrapper h1{
    font-size: 4rem !important;
    font-family: var(--font-secondary, "bebas-neue", sans-serif) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #000 !important;
    line-height: 1.1 !important;
    margin-bottom: 1rem !important;
}

.archive-description {
    font-size: 1.125rem !important;
    color: #4b5563 !important;
    font-family: var(--font-primary, 'Inter', sans-serif) !important;
    line-height: 1.6 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

@media (max-width: 768px) {
    .archive-title-wrapper h1 {
        font-size: 2.5rem !important;
    }
    
    .archive-description {
        font-size: 1rem !important;
        padding: 0 1rem !important;
    }
}

/* == Professional Single Post Layout Styles == */

/* Main Layout Structure */
.site-main {
    background: #ffffff;
    min-height: 100vh;
    margin-bottom: 50px;
}

.max-w-7xl {
    max-width: 80rem;
    margin: 0 auto;
}

/* Two Column Layout - Force proper display */
.two-column-layout {
    display: flex;
    gap: 3rem;
    width: 100%;
}

@media (max-width: 1023px) {
    .two-column-layout {
        flex-direction: column;
        gap: 2rem;
    }
}

.left-sidebar {
    flex: 0 0 25%;
    width: 25%;
    min-width: 300px;
}

.right-content {
    flex: 1;
    width: 100%;
    min-width: 0; /* Prevents flex item from overflowing */
}

@media (max-width: 1023px) {
    .left-sidebar,
    .right-content {
        width: 100%;
        flex: none;
    }
}

/* Sidebar Sticky Container */
.sidebar-sticky {
    position: sticky;
    top: 2rem;
}

/* Table of Contents Sidebar */
.toc-sidebar {
    background: #f8fafc;
    border-left: 4px solid #111827;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.toc-title {
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
}

.toc-dropdown-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.2rem;
    color: #111827;
    transition: transform 0.2s ease;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Desktop styles - ensure dropdown button is hidden and TOC is always visible */
@media (min-width: 769px) {
    .toc-dropdown-toggle {
        display: none !important;
    }
    
    #table-of-contents {
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
    }
    
    .toc-header {
        margin-bottom: 1.5rem;
    }
}

.toc-list li {
    margin-bottom: 0.75rem;
}

.toc-list a {
    display: block;
    padding: 0.5rem 0 0.5rem 1rem;
    font-size: 0.875rem;
    color: #4b5563;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    font-family: var(--font-primary, 'Inter', sans-serif);
    line-height: 1.4;
}

.toc-list a:hover {
    color: #111827;
    font-weight: 500;
    border-left-color: #ff69b4;
    background: rgba(255, 105, 180, 0.05);
    transform: translateX(2px);
}

.toc-list a.font-medium {
    font-weight: 600;
    color: #111827;
}

.toc-list a.ml-4 {
    margin-left: 1rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.toc-list a.ml-8 {
    margin-left: 2rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Newsletter Signup */
.newsletter-signup {
    background: #ffffff;
    border: 3px solid #111827;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.newsletter-title {
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.5;
    margin-top: 0;
}

.newsletter-form {
    margin: 0;
}

.newsletter-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    font-family: var(--font-primary, 'Inter', sans-serif);
    margin-bottom: 0.75rem;
    box-sizing: border-box;
}

.newsletter-input:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.newsletter-button {
    width: 100%;
    background: #111827;
    color: #ffffff;
    padding: 0.875rem 1rem;
    border: 2px solid #111827;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-primary, 'Inter', sans-serif);
    box-sizing: border-box;
}

.newsletter-button:hover {
    background: #ff69b4;
    border-color: #ff69b4;
    transform: translateY(-1px);
}

/* Full-Width Newsletter Section (Below Content) */
.newsletter-section {
    margin: 4rem 0;
    padding: 0;
}

.newsletter-signup-fullwidth {
    background: #f8fafc;
    border: 3px solid #111827;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.newsletter-title-large {
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-description-large {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 2rem;
    margin-top: 0;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form-large {
    margin: 0;
}

.newsletter-input-group {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input-large {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: var(--font-primary, 'Inter', sans-serif);
    box-sizing: border-box;
}

.newsletter-input-large:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.newsletter-button-large {
    background: #111827;
    color: #ffffff;
    padding: 1rem 2rem;
    border: 2px solid #111827;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-primary, 'Inter', sans-serif);
    box-sizing: border-box;
    white-space: nowrap;
}

.newsletter-button-large:hover {
    background: #ff69b4;
    border-color: #ff69b4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

/* Mobile responsive for full-width newsletter */
@media (max-width: 768px) {
    .newsletter-signup-fullwidth {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .newsletter-title-large {
        font-size: 1.5rem;
    }
    
    .newsletter-description-large {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .newsletter-input-large,
    .newsletter-button-large {
        width: 100%;
    }
}

/* Newsletter Section in Right Column */
.newsletter-section-column {
    margin-top: 3rem;
    padding: 0;
}

.newsletter-signup-column {
    background: #f8fafc;
    border: 3px solid #111827;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.newsletter-title-column {
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-description-column {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    margin-top: 0;
    line-height: 1.6;
}

.newsletter-form-column {
    margin: 0;
}

.newsletter-input-column {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    font-family: var(--font-primary, 'Inter', sans-serif);
    margin-bottom: 0.75rem;
    box-sizing: border-box;
}

.newsletter-input-column:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.1);
}

.newsletter-button-column {
    width: 100%;
    background: #111827;
    color: #ffffff;
    padding: 0.875rem 1rem;
    border: 2px solid #111827;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-primary, 'Inter', sans-serif);
    box-sizing: border-box;
}

.newsletter-button-column:hover {
    background: #ff69b4;
    border-color: #ff69b4;
    transform: translateY(-1px);
}

/* Mobile responsive for column newsletter */
@media (max-width: 768px) {
    .newsletter-section-column {
        margin-top: 2rem;
    }
    
    .newsletter-signup-column {
        padding: 1.5rem;
    }
    
    .newsletter-title-column {
        font-size: 1.25rem;
    }
}

/* Enhanced Single Post Layout Structure */
.post-header {
    text-align: left;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 3rem;
}

.single-post-header .entry-title {
    /* Fluid baseline; JS will fine-tune per-title length */
    font-size: clamp(2.25rem, 6vw + 0.5rem, 6.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    font-family: var(--font-secondary, "bebas-neue", sans-serif);
    color: #111827;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

@media (min-width: 768px) {
    .single-post-header .entry-title {
        font-size: inherit; /* keep fluid clamp */
    }
}

.single-post-header .entry-excerpt {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
    font-family: var(--font-primary, 'Inter', sans-serif);
    line-height: 1.6;
    max-width: 65ch;
}

.single-post-header .entry-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2rem;
    margin-bottom: 0;
    padding: 0;
}

.single-post-header .blog-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.single-post-header .blog-author-avatar {
    width: 3rem;
    height: 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    overflow: hidden;
}

.single-post-header .blog-author-name {
    font-weight: 500;
    color: #111827;
    font-size: 0.875rem;
    margin: 0;
}

.single-post-header .blog-author-role {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

.single-post-header .blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.single-post-header .blog-categories a {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: #f3f4f6;
    color: #374151;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.single-post-header .blog-categories a:hover {
    background: #e5e7eb;
    color: #111827;
}

.single-post-header .blog-categories {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.single-post-header .entry-meta > div:last-child {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

/* Featured Image (Full Width) */
.featured-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    /* Performance optimizations for LCP */
    contain: layout style;
    will-change: transform;
}

.featured-image-container img {
    width: 100%;
    height: auto;
    display: block;
    /* Performance optimizations */
    max-width: 100%;
    /* Prevent layout shift */
    aspect-ratio: 16/9;
    object-fit: cover;
    background-color: #f5f5f5; /* Placeholder while loading */
}

/* Content Area Styling */
.entry-content {
    max-width: none;
    margin-bottom: 4rem;
    font-family: var(--font-primary, 'Inter', sans-serif);
    line-height: 1.7;
    color: #374151;
}

.entry-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    
}

.page-links {
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

/* Enhanced Content Styles - Override the inline styles with more specific selectors */
.entry-content {
    max-width: none;
    margin-bottom: 4rem;
    font-family: var(--font-primary, 'Inter', sans-serif);
    line-height: 1.7;
    color: #374151;
}

.entry-content h2 {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 3rem 0 1.5rem 0 !important;
    font-family: var(--font-secondary, "bebas-neue", sans-serif) !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
}

.entry-content h3 {
    font-size: 2.5rem !important;
    font-weight: 600 !important;  
    color: #111827 !important;
    font-family: var(--font-secondary, "bebas-neue", sans-serif) !important;
    letter-spacing: 0.5px !important;
    line-height: 1.3 !important;
}

.entry-content p {
    font-size: 18px !important;
    margin-bottom: 1.5rem !important;
    font-family: var(--font-primary, 'Inter', sans-serif) !important;
    line-height: 1.8 !important;
    color: #374151 !important;
}

.entry-content li {
    font-size: 18px !important;
    margin-bottom: 0.5rem !important;
    font-family: var(--font-primary, 'Inter', sans-serif) !important;
    line-height: 1.7 !important;
    color: #374151 !important;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5rem 0 !important;
    padding-left: 1.5rem !important;
}

.entry-content blockquote {
    background: #f8fafc !important;
    border-left: 4px solid #ff69b4 !important;
    padding: 1.5rem 2rem !important;
    margin: 2.5rem 0 !important;
    font-style: italic !important;
    font-size: 1.125rem !important;
    color: #4b5563 !important;
    border-radius: 0 8px 8px 0 !important;
}

.entry-content a {
    /* color: #ffffff !important; */
    text-decoration: none !important;
    font-weight: 500 !important;
    border-bottom: 1px solid transparent !important;
    transition: all 0.2s ease !important;
}

.entry-content a:hover {
    border-bottom-color: #ff69b4 !important;
}

/* Table Styling */
.entry-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 2rem 0 !important;
    font-size: 0.875rem !important;
    background: #ffffff !important;
    border: 3px solid #111827 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.entry-content th {
    background: #111827 !important;
    color: #ffffff !important;
    padding: 1rem !important;
    text-align: left !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #374151 !important;
    font-family: var(--font-secondary, "bebas-neue", sans-serif) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.entry-content thead th,
.entry-content th {
    color: #ffffff !important;
}

.entry-content table th * {
    color: #ffffff !important;
}

.entry-content td {
    padding: 0.875rem 1rem !important;
    border-bottom: 1px solid #e5e7eb !important;
    vertical-align: top !important;
    font-family: var(--font-primary, 'Inter', sans-serif) !important;
    line-height: 1.6 !important;
}

.entry-content tbody tr:nth-child(even) {
    background: #f8fafc !important;
}

.entry-content tbody tr:hover {
    background: #f1f5f9 !important;
}

.entry-content tbody tr:last-child td {
    border-bottom: none !important;
}

/* Table responsive design */
@media (max-width: 768px) {
    .entry-content table {
        font-size: 0.75rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .entry-content th,
    .entry-content td {
        padding: 0.75rem 0.5rem !important;
    }
    
    .entry-content th {
        font-size: 0.8rem !important;
    }
}

/* Social Sharing */
.social-sharing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.social-sharing span {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: #111827;
    color: #ffffff;
    transform: translateY(-2px);
}

.social-btn svg {
    width: 16px;
    height: 16px;
}

/* Author Box - REMOVED - Using listicle.css styles instead */

/* Responsive Design */
@media (max-width: 1024px) {
    .single-post-header .entry-title {
        font-size: inherit; /* keep fluid clamp */
    }
    
    .entry-content h2 {
        font-size: 2.5rem !important;
    }
    
    .entry-content h3 {
        font-size: 1.875rem !important;
    }
}

@media (max-width: 768px) {
    .post-header {
        margin-bottom: 2rem;
    }
    
    .featured-image-container {
        margin-bottom: 2rem;
    }
    
    .sidebar-sticky {
        position: static;
    }
    
    .toc-sidebar {
        margin-bottom: 1rem;
    }
    
    /* Fix single post header meta layout for mobile - stack each part on its own row */
    .single-post-header .entry-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    /* The second div contains date/time and categories - wrap them */
    .single-post-header .entry-meta > div:last-child {
        flex-wrap: wrap !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    /* Keep date and time together, but separate from categories */
    .single-post-header .entry-meta .blog-categories {
        width: 100% !important;
        flex-basis: 100% !important;
    }
    
    /* Mobile dropdown styles */
    .toc-dropdown-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 2rem;
        min-height: 2rem;
        background: #111827;
        color: #ffffff;
        border: none;
        border-radius: 4px;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .toc-dropdown-toggle:hover {
        background: #374151;
        transform: scale(1.1);
    }
    
    .toc-dropdown-toggle:active {
        transform: scale(0.95);
    }
    
    .toc-toggle-icon {
        transition: transform 0.2s ease;
    }
    
    /* TOC List Mobile Dropdown Behavior */
    #table-of-contents {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 0;
    }
    
    #table-of-contents.toc-open {
        max-height: 500px;
        opacity: 1;
        margin-top: 1rem;
    }
    
    #table-of-contents ul {
        margin: 0;
        padding: 0;
    }
    
    #table-of-contents li {
        margin-bottom: 0.5rem;
    }
    
    #table-of-contents a {
        padding: 0.75rem 1rem;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.5);
        margin-bottom: 0.5rem;
        border: 1px solid #e5e7eb;
    }
    
    #table-of-contents a:hover {
        background: rgba(255, 105, 180, 0.1);
        border-color: #ff69b4;
    }
    
    .newsletter-signup {
        margin-bottom: 2rem;
    }
    
    .single-post-header .entry-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .single-post-header .entry-title {
        font-size: 2rem;
    }
    
    .single-post-header .entry-excerpt {
        font-size: 1.125rem;
    }
    
    .entry-content p,
    .entry-content li {
        font-size: 16px !important;
    }
}

/* == Custom Blog Page Styles Start == */

.featured-categories-sections .featured-category-section {
    /* Increased spacing between category sections */
    margin-bottom: 4rem !important; /* Increased from default space-y-12 (3rem) to 4rem */
}

.featured-categories-sections .featured-category-section:last-child {
    margin-bottom: 0 !important; /* Remove bottom margin from last section */
}

/* Even more spacing on larger screens */
@media (min-width: 768px) {
    .featured-categories-sections .featured-category-section {
        margin-bottom: 5rem !important; /* Even more space on desktop/tablet */
    }
}

.featured-categories-sections .section-header {
    margin-bottom: 1.5rem !important;
    /* Force Flex properties */
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.featured-categories-sections .section-title {
    font-size: 2.5rem !important; /* Increase size to match image */
    font-family: var(--font-secondary, "bebas-neue", sans-serif) !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important; /* Ensure uppercase */
    color: var(--color-black, #000) !important; /* Ensure black text */
    line-height: 1.1 !important;
}

.featured-categories-sections .section-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.featured-categories-sections .section-title a:hover {
    color: #ff69b4 !important;
}

.featured-categories-sections .view-all-link {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    color: var(--color-black, #000) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.featured-categories-sections .view-all-link:hover {
    color: #ff69b4 !important;
}

/* Featured posts grid - styles defined by grid classes in PHP template */

/* Ensure cards in featured sections use default card styles */
.featured-posts-grid .post-card {
    /* Reset category-specific styles if they were applied globally */
    width: auto !important; /* Let grid control width */
    aspect-ratio: auto !important; /* Reset aspect ratio */
    padding: 1.5rem !important; /* Default padding */
}

.featured-posts-grid .post-card .post-thumbnail {
    display: block !important; /* Ensure image is shown */
    position: relative !important;
    height: 200px !important; /* Or desired height */
}

.featured-posts-grid .post-card .entry-content {
    position: static !important;
    background: #fff !important;
    color: #000 !important;
    padding: 1.5rem !important;
    height: auto !important;
}

.featured-posts-grid .post-card h2.entry-title {
    font-size: 1.25rem !important; /* Default card title size */
    color: #000 !important;
    text-shadow: none !important;
}

.featured-posts-grid .post-card h2.entry-title a {
    color: #000 !important;
}

.featured-posts-grid .post-card .entry-meta.text-sm {
    display: block !important; /* Ensure date is shown */
    color: #666 !important;
}

/* Ensure elements hidden on category pages are shown here */
.featured-posts-grid .post-card .entry-meta.mb-2, 
.featured-posts-grid .post-card .blog-author,     
.featured-posts-grid .post-card .entry-summary,  
.featured-posts-grid .post-card .entry-footer,   
.featured-posts-grid .post-card .blog-read-more {
    display: block !important; /* Or 'flex' etc. as appropriate */
}

/* == Custom Blog Page Styles End == */

/* Category/Featured Blog Page Specific Styles - 3 Column Square Grid */
.category .posts-grid,
.custom-blog-featured-grid {
    display: grid !important;
    gap: 1.5rem !important; 
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important; /* Default 1 column */
}

/* Medium screens and up: 3 columns */
@media (min-width: 768px) {
    .category .posts-grid,
    .custom-blog-featured-grid { 
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* Apply Square Card styles to BOTH contexts */
.category .post-card,
.custom-blog-featured-grid .post-card {
    margin-bottom: 1.5rem !important;
    border: 4px solid #000 !important;
    box-shadow: 8px 8px 0px 0px rgba(0, 0, 0, 0.8) !important;
    background-color: #eee !important; /* Fallback */
    display: block !important; 
    position: relative !important; 
    aspect-ratio: 1 / 1 !important; /* Make it square */
    overflow: hidden; 
    padding: 0 !important; /* Remove padding from card */
    /* Let the grid container handle column widths */
}

.category .post-card .post-thumbnail,
.custom-blog-featured-grid .post-card .post-thumbnail {
    display: block !important;
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1; /* Behind content */
    height: auto !important; 
    overflow: hidden;
}

.category .post-card .post-thumbnail img,
.custom-blog-featured-grid .post-card .post-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
}

/* Hide elements in BOTH contexts */
.category .post-card .entry-meta.mb-2, 
.custom-blog-featured-grid .post-card .entry-meta.mb-2,
.category .post-card .blog-author,     
.custom-blog-featured-grid .post-card .blog-author,
.category .post-card .entry-summary,  
.custom-blog-featured-grid .post-card .entry-summary,
.category .post-card .entry-footer,   
.custom-blog-featured-grid .post-card .entry-footer,
.category .post-card .blog-read-more,
.custom-blog-featured-grid .post-card .blog-read-more {
    display: none !important;
}

/* Content Overlay at Bottom in BOTH contexts */
.category .post-card .entry-content,
.custom-blog-featured-grid .post-card .entry-content {
    position: absolute !important;
    bottom: 0; 
    left: 0; 
    right: 0;
    z-index: 2; 
    padding: 0.75rem !important; 
    background: rgba(0, 0, 0, 0.8) !important; 
    color: #fff !important; 
    display: block !important; 
    height: auto !important; 
}

.category .post-card .entry-header,
.custom-blog-featured-grid .post-card .entry-header {
    margin-bottom: 0.25rem !important; 
    padding: 0 !important; 
}

.category .post-card h2.entry-title,
.custom-blog-featured-grid .post-card h2.entry-title {
    font-size: 2rem !important; 
    line-height: 1.2 !important;
    margin-bottom: 0.25rem !important; 
    color: #fff !important; 
}

.category .post-card h2.entry-title a,
.custom-blog-featured-grid .post-card h2.entry-title a {
    color: #fff !important; 
    text-decoration: none !important;
    letter-spacing: 0.2rem !important;
}

.category .post-card h2.entry-title a:hover,
.custom-blog-featured-grid .post-card h2.entry-title a:hover {
    text-decoration: underline !important;
}

/* Date Meta Line in BOTH contexts */
.category .post-card .entry-meta.text-sm,
.custom-blog-featured-grid .post-card .entry-meta.text-sm {
    display: block !important; 
    font-size: 0.7rem !important; 
    margin-top: 0 !important; 
    color: rgba(255,255,255,0.8) !important; 
}

/* == Category/Featured Blog Page Specific Styles End == */