/*
Theme Name: Theme 11 - Red Author Sidebar
Description: A clean, professional WordPress theme optimized for personal brands, entrepreneurs, and content creators who want to build their audience through blogging and newsletter growth.
Author: Pau Inocencio
Version: 1.0.0
License: GPL v2 or later
Text Domain: tripeak-main-eleven
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2.2rem; font-weight: 700; }
h2 { font-size: 1.8rem; font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.9rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
}

    a {
        color: inherit;
        text-decoration: underline;
        text-decoration-color: #DC143C;
        text-decoration-thickness: 2px;
        transition: color 0.3s ease;
    }

a:hover {
    color: #DC143C;
}

/* Layout */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    padding: 1.5rem 0 1rem 0;
    border-bottom: 1px solid #E5E5E5;
    background-color: #F8F9FA;
}

.site-branding {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .site-branding {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .branding-left {
        order: 1;
    }
    
    .main-navigation {
        order: 2;
        margin: 0;
        width: 100%;
    }
}

.branding-left {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
}

.site-title a {
    color: #DC143C;
    text-decoration: none;
}

.site-description {
    color: #000000;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Navigation */
.main-navigation {
    margin: 0;
}

.main-navigation * {
    list-style: none;
}

.main-navigation ul,
.main-navigation ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li::before,
.main-navigation li::after {
    content: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation ul li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul li::before,
.main-navigation ul li::after {
    content: none;
}

.main-navigation a {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    color: #000000;
    text-decoration: none;
}

.main-navigation a:hover {
    border-bottom-color: #DC143C;
    color: #000000;
}

.main-navigation .current-menu-item a {
    border-bottom-color: #DC143C;
    font-weight: 700;
    color: #000000;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
}

.hero-description {
    font-size: 1rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* CTA Sections */
.primary-cta, .secondary-cta {
    padding: 3rem 0;
    text-align: center;
    background-color: #F8F9FA;
    margin: 2rem 0;
    border-radius: 8px;
}

.cta-button-primary {
    display: inline-block;
    background-color: #DC143C;
    color: #FFFFFF !important;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.cta-button-primary:hover {
    background-color: #B22222;
    color: #FFFFFF !important;
}

/* Featured Image */
.featured-image {
    text-align: center;
    padding: 2rem 0;
    margin: 2rem 0;
    overflow: hidden;
    max-width: 100%;
}

.featured-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
    object-fit: cover;
}

/* Post Featured Image Container */
.post-featured-image {
    margin: 2rem 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 8px;
}

.post-featured-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Page Featured Image Container */
.page-featured-image {
    margin: 2rem 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 8px;
}

.page-featured-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Homepage Specific Styles */
.home .hero-section {
    background-color: #FFFFFF;
}

.home .primary-cta {
    background-color: #F8F9FA;
    border-radius: 8px;
    padding: 3rem 2rem;
}

.home .secondary-cta {
    background-color: #F8F9FA;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.home .recent-posts {
    margin-top: 4rem;
}

.home .blog-posts-grid {
    margin-bottom: 3rem;
}

/* Homepage Content Styles */
.homepage-content {
    margin: 2rem 0;
}

.homepage-content .page-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333333;
}

.homepage-content .page-content h1,
.homepage-content .page-content h2,
.homepage-content .page-content h3,
.homepage-content .page-content h4,
.homepage-content .page-content h5,
.homepage-content .page-content h6 {
    color: #333333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.homepage-content .page-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.homepage-content .page-content h2 {
    font-size: 2rem;
    font-weight: 600;
}

.homepage-content .page-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.homepage-content .page-content p {
    margin-bottom: 1.5rem;
}

.homepage-content .page-content a {
    color: #DC143C;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.homepage-content .page-content a:hover {
    border-bottom-color: #DC143C;
}

.homepage-content .page-content strong {
    font-weight: 600;
}

.homepage-content .page-content em {
    font-style: italic;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.post-preview {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

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

.post-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.post-content {
    padding: 0;
}

.post-content h2 {
    margin-bottom: 0.5rem;
    text-align: left !important;
}

.post-content h2 a {
    color: #000000 !important;
    text-decoration: underline !important;
    text-decoration-color: #DC143C !important;
    text-decoration-thickness: 2px !important;
}

.post-content h2 a:hover {
    color: #DC143C !important;
    text-decoration-color: #B22222 !important;
}

.post-excerpt {
    color: #666666;
    margin-bottom: 1rem;
}

.post-meta {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: #666666;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.8px;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border-radius: 8px;
    border: 1px solid #E5E5E5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    width: fit-content;
    text-align: left;
    justify-content: flex-start;
}

.post-meta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #DC143C 0%, #B22222 100%);
}

.post-meta > * {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.post-meta > *:hover {
    background-color: rgba(220, 20, 60, 0.1);
    transform: translateY(-1px);
}

.post-meta > *::before {
    font-size: 0.9rem;
    opacity: 0.7;
}

.posted-on {
    color: #555555;
    font-size: 0.75rem;
    font-weight: 600;
}

.posted-on::before {
    content: "\01F4C5\FE0F";
}

.post-meta a {
    color: #DC143C;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.post-meta a:hover {
    color: #B22222;
    text-decoration: underline;
    text-decoration-color: #DC143C;
    text-decoration-thickness: 2px;
}

.post-meta a::before {
    content: "\01F3F7\FE0F";
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #666666;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    background-color: rgba(220, 20, 60, 0.05);
    border: 1px solid rgba(220, 20, 60, 0.2);
}

.reading-time:hover {
    background-color: rgba(220, 20, 60, 0.1);
    border-color: rgba(220, 20, 60, 0.3);
}

.time-icon {
    width: 18px;
    height: 18px;
    color: #DC143C;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

/* Remove the conflicting emoji for reading time since we're using SVG */
.reading-time::before {
    content: none;
}

/* Ensure proper icon display */
.reading-time svg {
    width: 18px;
    height: 18px;
    color: #DC143C;
    margin-right: 0.25rem;
}

/* Single Post */
.post-header {
    text-align: left;
    padding: 3rem 0 1.5rem 0;
    border-bottom: 1px solid #E5E5E5;
    margin-bottom: 2rem;
}

.post-title {
    margin-bottom: 1rem;
    text-align: left;
}

.post-meta {
    color: #666666;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.7;
}

.post-content h2, .post-content h3 {
    margin-bottom: 1rem;
}

.post-content blockquote {
    border-left: 4px solid #DC143C;
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666666;
}

.post-content img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    display: block;
    overflow: hidden;
    object-fit: cover;
}

/* Ensure images don't overflow their containers */
.post-content {
    overflow: hidden;
    word-wrap: break-word;
}

/* Handle large images specifically */
.post-content img[width],
.post-content img[height] {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}

.post-content ul, .post-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

/* Footer */
.site-footer {
    background-color: #F8F9FA;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid #E5E5E5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    margin-bottom: 1rem;
    color: #333333;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #666666;
}

.footer-column ul li a:hover {
    color: #DC143C;
}

/* Footer Recent Posts specific styling */
.footer-recent-posts ul li {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.footer-recent-posts ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.footer-recent-posts ul li a {
    font-size: 0.9rem;
    line-height: 1.4;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #FFFFFF;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #DC143C;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: #666666;
    transition: fill 0.3s ease;
}

.social-link:hover svg {
    fill: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #E5E5E5;
    color: #666666;
}

/* Categories Navigation */
.categories-nav {
    margin: 2rem 0;
    padding: 1rem 0;
    border-bottom: 1px solid #E5E5E5;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.categories-nav h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333333;
}

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

.categories-list a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #F8F9FA;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.categories-list a:hover {
    background-color: #DC143C;
    color: #FFFFFF;
}

.post-count {
    color: #999999;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.1rem; }
    
    .main-navigation ul {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .categories-list {
        flex-direction: column;
    }
    
    .post-meta {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    
    .post-meta > * {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
        white-space: nowrap;
    }
    
    .post-content img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0.5rem 0;
    }
    
    .post-featured-image,
    .page-featured-image {
        margin: 1rem 0;
        border-radius: 6px;
    }
    
    .post-featured-image img,
    .page-featured-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        border-radius: 6px;
    }
    
    /* Mobile Caption Styling */
    figcaption,
    .wp-caption-text,
    .caption,
    .image-caption,
    .post-caption,
    .gallery-caption,
    .attachment-caption,
    .wp-caption .wp-caption-text,
    .wp-block-image figcaption,
    .wp-block-gallery .blocks-gallery-caption,
    .wp-embed,
    .wp-block-embed,
    .wp-block-embed figcaption,
    .wp-block-embed .wp-block-embed__caption,
    .wp-block-video figcaption,
    .wp-block-audio figcaption,
    .wp-block-file figcaption,
    .wp-block-embed figcaption,
    .embed-caption,
    .embed-description,
    .video-caption,
    .audio-caption,
    .file-caption,
    .wp-block-gallery figcaption,
    .gallery-caption,
    .gallery-item figcaption,
    .gallery-item .gallery-caption,
    .wp-block-gallery .blocks-gallery-item figcaption {
        font-size: 0.8rem;
        margin-top: 0.25rem;
        line-height: 1.3;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Reduce list indent on mobile within post content (tuned so numbers don't clip) */
    .post-content ul,
    .post-content ol {
        padding-left: 1.15rem;
    }

    /* Give ordered lists a bit more room for multi-digit markers */
    .post-content ol {
        padding-left: 1.5rem;
    }

    /* Tighten bullet position for mobile (allow a hair more to avoid text clipping) */
    .post-content ul li::before {
        width: 0.9rem;
        margin-left: -0.9rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #DC143C;
    outline-offset: 2px;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
}

.search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E5E5;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-field:focus {
    border-color: #DC143C;
    outline: none;
}

.search-submit {
    padding: 0.75rem 1rem;
    background-color: #DC143C;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background-color: #B22222;
}

.search-submit svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #E5E5E5;
}

.comments-title {
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #F8F9FA;
    border-radius: 8px;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 1rem;
}

.comment-content {
    line-height: 1.6;
}

.comment-respond {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #F8F9FA;
    border-radius: 8px;
}

.comment-reply-title {
    margin-bottom: 1rem;
}

.comment-form {
    display: grid;
    gap: 1rem;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E5E5E5;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #0066CC;
    outline: none;
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    margin-top: 1rem;
}

.submit {
    background-color: #DC143C;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.submit:hover {
    background-color: #B22222;
}

/* Navigation */
.nav-links {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 1rem 0;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-links a {
    font-weight: 500;
}

/* Tags and Categories */
.tags-list,
.categories-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags-list li,
.categories-list li {
    margin: 0;
}

.tags-list a,
.categories-list a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #F8F9FA;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.tags-list a:hover,
.categories-list a:hover {
    background-color: #0066CC;
    color: #FFFFFF;
}

    /* Post Footer */

    /* Single Post Layout */
    .single-post-layout {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    .main-content {
        min-width: 0;
    }

    .sidebar {
        position: sticky;
        top: 2rem;
        max-width: 300px;
        padding-top: 4rem;
        margin-left: auto;
    }

    /* Author Box */
    .author-box {
        background: #ffffff;
        border: 1px solid #e5e5e5;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        margin-bottom: 2rem;
    }

    .author-photo {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .author-photo img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #DC143C;
    }

    .author-greeting {
        font-size: 1.2rem;
        font-weight: 600;
        color: #333333;
        margin-bottom: 1rem;
        text-align: center;
    }

    .author-bio {
        color: #666666;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }

    .author-social-links {
        display: flex;
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .author-social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background-color: #f8f9fa;
        border-radius: 50%;
        transition: all 0.3s ease;
        border: 1px solid #e5e5e5;
    }

    .author-social-link:hover {
        background-color: #DC143C;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
    }

    .author-social-link svg {
        width: 18px;
        height: 18px;
        fill: #666666;
        transition: fill 0.3s ease;
    }

    .author-social-link:hover svg {
        fill: #ffffff;
    }

    /* Sidebar Recent Posts */
    .sidebar-recent-posts {
        background: #ffffff;
        border: 1px solid #e5e5e5;
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        margin-bottom: 2rem;
    }

    .sidebar-recent-posts-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333333;
        margin-bottom: 1.5rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .sidebar-recent-posts-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .sidebar-recent-post-item {
        margin-bottom: 1rem;
    }

    .sidebar-recent-post-item:last-child {
        margin-bottom: 0;
    }

    .sidebar-recent-post-link {
        color: #000000;
        text-decoration: underline;
        text-decoration-color: #DC143C;
        text-decoration-thickness: 2px;
        text-underline-offset: 2px;
        transition: color 0.3s ease;
        line-height: 1.4;
        font-size: 0.95rem;
    }

    .sidebar-recent-post-link:hover {
        color: #DC143C;
    }

    /* Mobile responsive for single post layout */
    @media (max-width: 768px) {
        .single-post-layout {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .sidebar {
            position: static;
            max-width: none;
            padding-top: 0;
            margin-left: 0;
        }

        .author-box {
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .author-photo img {
            width: 60px;
            height: 60px;
        }

        .author-greeting {
            font-size: 1.1rem;
        }

        .author-bio {
            font-size: 0.9rem;
        }

        .author-social-links {
            gap: 0.5rem;
        }

        .author-social-link {
            width: 32px;
            height: 32px;
        }

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

        .sidebar-recent-posts {
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .sidebar-recent-posts-title {
            font-size: 1rem;
            margin-bottom: 1rem;
        }

        .sidebar-recent-post-link {
            font-size: 0.9rem;
        }
    }

.post-footer h4 {
    margin-bottom: 1rem;
    color: #333333;
}

/* View All Posts */
.view-all-posts {
    text-align: center;
    margin: 3rem 0;
    color: #FFFFFF;
}

/* Recent Posts */
.recent-posts {
    margin: 3rem 0;
}

.recent-posts h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333333;
}

/* Add a little extra spacing under reading time within recent posts */
.recent-posts .reading-time {
    margin-bottom: 0.75rem;
}

/* Apply the same spacing under reading time on blog listings */
.blog-posts-grid .reading-time {
    margin-bottom: 0.75rem;
}

/* Add inner padding to post previews within Recent Posts */
.recent-posts .post-content {
    padding: 1rem 1rem 1.25rem;
}

/* Add inner padding to post previews in blog listings */
.blog-posts-grid .post-content {
    padding: 1rem 1rem 1.25rem;
}

/* Current Category */
.current-category {
    background-color: #DC143C !important;
    color: #FFFFFF !important;
}

/* Category Navigation Links */
.categories-list a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #F8F9FA;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.categories-list a:hover {
    background-color: #DC143C;
    color: #FFFFFF;
    border-color: #DC143C;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.2);
}

/* Keep Reading Button */
.keep-reading {
    display: inline-block;
    background-color: #DC143C;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.keep-reading:hover {
    background-color: #B22222;
    color: #FFFFFF;
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem 0;
    background-color: #F8F9FA;
    border-radius: 8px;
}

.blog-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 1rem;
}

.blog-header .blog-description {
    font-size: 1rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Table of Contents */
.toc {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 2rem;
    margin: 2.5rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.toc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #DC143C 0%, #B22222 50%, #8B0000 100%);
    border-radius: 0 3px 3px 0;
    box-shadow: 2px 0 8px rgba(220, 20, 60, 0.3);
}

.toc-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.toc-title::before {
    content: '📋';
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.toc-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #DC143C 0%, #B22222 100%);
    border-radius: 2px;
}

.toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toc li {
    position: relative;
    transition: all 0.3s ease;
}

.toc a {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: #4a5568;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(220, 20, 60, 0.1);
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.toc a::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 ease;
}

.toc a:hover {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: #ffffff;
    transform: translateX(8px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
    border-color: #DC143C;
    font-weight: 600;
}

.toc a:hover::before {
    left: 100%;
}

.toc a:hover::after {
    content: '→';
    position: absolute;
    right: 1rem;
    font-weight: bold;
    opacity: 0;
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toc .toc-h2 {
    font-weight: 700;
    font-size: 1.05rem;
    color: #2c3e50;
    border-left: 4px solid #DC143C;
    padding-left: 1rem;
    margin-left: -1rem;
}

.toc .toc-h2:hover {
    border-left-color: #ffffff;
}

.toc .toc-h3 {
    font-weight: 600;
    font-size: 0.95rem;
    padding-left: 2rem;
    position: relative;
    color: #5a6c7d;
    margin-left: 0.5rem;
}

.toc .toc-h3::before {
    content: '▶';
    position: absolute;
    left: 0.5rem;
    color: #DC143C;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.toc .toc-h3:hover::before {
    transform: translateX(3px);
    color: #ffffff;
}

.toc .toc-h4 {
    font-weight: 500;
    font-size: 0.9rem;
    padding-left: 3rem;
    position: relative;
    color: #6b7280;
    margin-left: 1rem;
}

.toc .toc-h4::before {
    content: '●';
    position: absolute;
    left: 1.5rem;
    color: #DC143C;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

    .toc .toc-h4:hover::before {
        transform: scale(1.2);
        color: #ffffff;
    }

    /* Easy Table of Contents (EZ TOC) Plugin Styling */
    #ez-toc-container {
        background: #ffffff;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        padding: 1rem;
        margin: 1.5rem 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        position: relative;
    }

    #ez-toc-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 100%;
        background: #DC143C;
        border-radius: 0 2px 2px 0;
    }

    #ez-toc-container .ez-toc-title {
        font-size: 1.1rem;
        font-weight: 600;
        color: #333333;
        margin-bottom: 0.4rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }



    #ez-toc-container nav {
        margin-top: 0;
    }

    #ez-toc-container ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #ez-toc-container li {
        margin-bottom: 0;
    }
    #ez-toc-container li:last-child {
        margin-bottom: 0;
    }

    #ez-toc-container a {
        display: block;
        padding: 0.15rem 0.45rem;
        color: #555555;
        text-decoration: none;
        border-radius: 4px;
        transition: all 0.2s ease;
        font-size: 0.9rem;
        line-height: 1.1;
        border-left: 2px solid transparent;
    }

    #ez-toc-container a:hover {
        background-color: rgba(220, 20, 60, 0.04);
        color: #DC143C;
        border-left-color: #DC143C;
        transform: translateX(1px);
    }

    /* EZ TOC heading levels */
    #ez-toc-container ul li {
        font-weight: 500;
        color: #333333;
    }

    #ez-toc-container ul ul li {
        font-weight: 400;
        font-size: 0.85rem;
        padding-left: 0.5rem;
        color: #666666;
        margin-bottom: 0;
    }

    #ez-toc-container ul ul ul li {
        font-weight: 400;
        font-size: 0.8rem;
        padding-left: 0.85rem;
        color: #777777;
        margin-bottom: 0;
    }

    /* EZ TOC toggle button */
    #ez-toc-container .ez-toc-toggle {
        background: #DC143C;
        color: #ffffff;
        border: none;
        border-radius: 4px;
        padding: 0.5rem 1rem;
        font-weight: 500;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s ease;
        margin-bottom: 0.75rem;
    }

    #ez-toc-container .ez-toc-toggle:hover {
        background: #B22222;
        transform: translateY(-1px);
    }

    /* EZ TOC collapsed state */
    #ez-toc-container.ez-toc-collapsed {
        padding: 1rem;
    }

    #ez-toc-container.ez-toc-collapsed .ez-toc-title {
        margin-bottom: 0;
        font-size: 1rem;
    }

    #ez-toc-container.ez-toc-collapsed nav {
        display: none;
    }

    /* EZ TOC Toggle Icon */
    #ez-toc-container .ez-toc-icon-toggle-span {
        display: inline-block;
        font-size: 1rem;
        font-weight: bold;
        color: #DC143C;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    #ez-toc-container .ez-toc-icon-toggle-span {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
    }

    #ez-toc-container .ez-toc-icon-toggle-span:hover {
        color: #DC143C !important;
        background: none !important;
        transform: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    #ez-toc-container .ez-toc-icon-toggle-span::before {
        content: '^';
        display: block;
        text-align: center;
        line-height: 1;
    }

    /* Hide any existing SVG or other icons */
    #ez-toc-container .ez-toc-icon-toggle-span svg,
    #ez-toc-container .ez-toc-icon-toggle-span img {
        display: none;
    }

    /* Rotate the caret when collapsed */
    #ez-toc-container.ez-toc-collapsed .ez-toc-icon-toggle-span::before {
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

/* Code Blocks and Inline Code */
code {
    background-color: #F8F9FA;
    color: #DC143C;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    border: 1px solid #E5E5E5;
    font-weight: 500;
}

pre {
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    color: #E2E8F0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #4A5568;
    position: relative;
}

pre::before {
    content: '💻';
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-size: 1rem;
    opacity: 0.7;
}

pre code {
    background: none;
    color: inherit;
    padding: 0;
    border: none;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CSS Code Blocks */
pre.css {
    background: linear-gradient(135deg, #2B6CB0 0%, #1A365D 100%);
    border-color: #4299E1;
}

pre.css::before {
    content: '🎨';
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E5E5;
}

table thead {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 100%);
    color: #FFFFFF;
}

table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 2px solid #B22222;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid #F0F0F0;
    font-size: 0.9rem;
    line-height: 1.5;
}

table tbody tr:hover {
    background-color: rgba(220, 20, 60, 0.05);
}

table tbody tr:last-child td {
    border-bottom: none;
}

/* Preformatted Text */
pre.text {
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    color: #2D3748;
    border: 1px solid #E2E8F0;
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

pre.text::before {
    content: '📝';
}

/* Blockquotes */
blockquote {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    border-left: 4px solid #DC143C;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

blockquote::before {
    content: '"';
    font-size: 3rem;
    color: #DC143C;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-family: Georgia, serif;
    opacity: 0.3;
}

blockquote p {
    margin: 0;
    font-style: italic;
    color: #555555;
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 2rem;
}

/* Lists */
ul, ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

ul {
    list-style: none;
}

ul li::before {
    content: '•';
    color: #DC143C;
    font-weight: bold;
    display: inline-block;
    width: 1rem;
    margin-left: -1rem;
}

ol {
    list-style: decimal;
}

ol li {
    color: #333333;
}

ol li::marker {
    color: #DC143C;
    font-weight: 600;
}

/* Definition Lists */
dl {
    margin: 1.5rem 0;
}

dt {
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

dd {
    margin-left: 1rem;
    margin-bottom: 1rem;
    color: #666666;
    line-height: 1.6;
    padding-left: 1rem;
    border-left: 2px solid #E5E5E5;
}

/* Horizontal Rules */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #DC143C 50%, transparent 100%);
    margin: 2rem 0;
    border-radius: 1px;
}

/* Keyboard Shortcuts */
kbd {
    background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
    color: #E2E8F0;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    border: 1px solid #4A5568;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Mark */
mark {
    background: linear-gradient(135deg, #FEF5E7 0%, #FED7AA 100%);
    color: #C05621;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-weight: 500;
}

/* Small Text */
small {
    font-size: 0.85rem;
    color: #666666;
    font-weight: 400;
}

/* Captions */
figcaption,
.wp-caption-text,
.caption,
.image-caption,
.post-caption,
.gallery-caption,
.attachment-caption {
    text-align: left;
    font-style: italic;
    font-size: 0.9rem;
    color: #666666;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* WordPress specific caption classes */
.wp-caption .wp-caption-text,
.wp-block-image figcaption,
.wp-block-gallery .blocks-gallery-caption {
    text-align: left;
    font-style: italic;
    font-size: 0.9rem;
    color: #666666;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Embed captions and descriptions */
.wp-embed,
.wp-block-embed,
.wp-block-embed figcaption,
.wp-block-embed .wp-block-embed__caption,
.wp-block-video figcaption,
.wp-block-audio figcaption,
.wp-block-file figcaption,
.wp-block-embed figcaption,
.embed-caption,
.embed-description,
.video-caption,
.audio-caption,
.file-caption {
    text-align: left;
    font-style: italic;
    font-size: 0.9rem;
    color: #666666;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Gallery captions - ensure left alignment */
.wp-block-gallery figcaption,
.wp-block-gallery .blocks-gallery-caption,
.gallery-caption,
.gallery-item figcaption,
.gallery-item .gallery-caption,
.wp-block-gallery .blocks-gallery-item figcaption {
    text-align: left !important;
    font-style: italic;
    font-size: 0.9rem;
    color: #666666;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Remove bottom padding from galleries */
.wp-block-gallery,
.gallery {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Responsive Code Blocks */
@media (max-width: 768px) {
    pre {
        padding: 1rem;
        font-size: 0.85rem;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    table th,
    table td {
        padding: 0.75rem;
    }
    
        .toc {
        padding: 1.5rem;
        margin: 1.5rem 0;
        border-radius: 12px;
    }

    .toc-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .toc a {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .toc .toc-h2 {
        font-size: 1rem;
        padding-left: 0.75rem;
    }

    .toc .toc-h3 {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }

    .toc .toc-h4 {
        font-size: 0.85rem;
        padding-left: 2.25rem;
    }

    /* EZ TOC Mobile Responsive */
    #ez-toc-container {
        padding: 0.6rem;
        margin: 0.6rem 0;
    }

    #ez-toc-container .ez-toc-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    #ez-toc-container a {
        padding: 0.15rem 0.35rem;
        font-size: 0.85rem;
        line-height: 1.1;
    }

    #ez-toc-container ul li {
        font-size: 0.9rem;
    }

    #ez-toc-container ul ul li {
        font-size: 0.8rem;
        padding-left: 0.75rem;
    }

    #ez-toc-container ul ul ul li {
        font-size: 0.75rem;
        padding-left: 1.25rem;
    }
}

/* WordPress Block Buttons */
.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
    justify-content: flex-start;
}

.wp-block-button {
    margin: 0;
}

.wp-block-button .wp-block-button__link {
    display: inline-block;
    background-color: #DC143C;
    color: #FFFFFF !important;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #DC143C;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.wp-block-button .wp-block-button__link::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 ease;
    z-index: -1;
}

.wp-block-button .wp-block-button__link:hover {
    background-color: #B22222;
    border-color: #B22222;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.3);
    color: #FFFFFF !important;
}

.wp-block-button .wp-block-button__link:hover::before {
    left: 100%;
}

.wp-block-button .wp-block-button__link:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
}

/* Button variations */
.wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    color: #DC143C !important;
    border-color: #DC143C;
    box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: #DC143C;
    color: #FFFFFF !important;
    border-color: #DC143C;
}

.wp-block-button.is-style-fill .wp-block-button__link {
    background-color: #DC143C;
    color: #FFFFFF !important;
}

.wp-block-button.is-style-fill .wp-block-button__link:hover {
    background-color: #B22222;
    color: #FFFFFF !important;
}

/* Button sizes */
.wp-block-button.is-style-small .wp-block-button__link {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.wp-block-button.is-style-medium .wp-block-button__link {
    padding: 1rem 2rem;
    font-size: 0.95rem;
}

.wp-block-button.is-style-large .wp-block-button__link {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Responsive buttons */
@media (max-width: 768px) {
    .wp-block-buttons {
        flex-direction: column;
        gap: 0.75rem;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .wp-block-button .wp-block-button__link {
        width: 100%;
        text-align: left;
    }
}

/* WordPress Core Separators */
.wp-block-separator {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #DC143C 50%, transparent 100%);
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
}

.wp-block-separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Separator variations */
.wp-block-separator.is-style-wide {
    width: 100%;
    max-width: 100%;
}

.wp-block-separator.is-style-default {
    width: 100px;
    max-width: 100px;
}

.wp-block-separator.is-style-dots {
    background: none !important;
    border: none !important;
    height: auto !important;
    text-align: center;
    margin: 2rem auto;
    position: relative;
}

.wp-block-separator.is-style-dots::before {
    content: '•••' !important;
    color: #DC143C !important;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: bold;
    position: static;
    background: none;
    animation: none;
    left: auto;
    width: auto;
    height: auto;
}

/* Horizontal rule styling */
hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #DC143C 50%, transparent 100%);
    margin: 2rem 0;
    position: relative;
}

hr::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

/* Separator with text */
.wp-block-separator.has-text-align-center {
    text-align: center;
}

.wp-block-separator.has-text-align-left {
    text-align: left;
}

.wp-block-separator.has-text-align-right {
    text-align: right;
}

/* Mobile responsive for separators */
@media (max-width: 768px) {
    .wp-block-separator {
        margin: 1.5rem auto;
    }
    
    .wp-block-separator.is-style-dots::before {
        font-size: 1.2rem;
        letter-spacing: 0.3rem;
    }
    
    hr {
        margin: 1.5rem 0;
    }
}

/* Page-specific styling - Add top padding to pages only */
body.page:not(.home) .site-main {
    padding-top: 3rem;
}