/* Additional fade-in animations */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

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

.search-form .search-field {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.search-form .search-field:focus {
    border-color: #e63946;
}

.search-form .search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    background: #e63946;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form .search-submit:hover {
    background: #c1121f;
}

/* In-content widget styling */
.in-content-widget {
    background: linear-gradient(135deg, #1d3557, #457b9d);
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
}

.in-content-title {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.in-content-widget p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

/* No posts message */
.no-posts-message {
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts-message h2 {
    margin-bottom: 1rem;
}

.no-posts-message p {
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Page links (multi-page posts) */
.page-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    font-weight: 600;
}

.page-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0.25rem 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 0 0.25rem;
    text-decoration: none;
    color: #2b2d42;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: #e63946;
    color: #fff;
    text-decoration: none;
}

/* WordPress block compatibility */
.wp-block-image {
    margin: 1.5rem 0;
}

.wp-block-image figcaption {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

.wp-block-gallery {
    margin-bottom: 1.5rem;
}

.wp-block-columns {
    margin-bottom: 1.5rem;
}

.wp-block-group {
    margin-bottom: 1.5rem;
}

.wp-block-separator {
    border: none;
    border-top: 2px solid #e9ecef;
    margin: 2rem 0;
}

.wp-block-separator.is-style-wide {
    border-top-width: 2px;
}

.wp-block-separator.is-style-dots {
    border: none;
    text-align: center;
}

.wp-block-separator.is-style-dots::before {
    content: '···';
    font-size: 1.5rem;
    letter-spacing: 1em;
    color: #6c757d;
}

/* Responsive video embeds */
.wp-block-embed {
    margin-bottom: 1.5rem;
}

.wp-block-embed .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.wp-block-embed .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Footer navigation styling */
.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.5rem;
}

.footer-navigation a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.footer-navigation a:hover {
    color: #fff;
}

/* Sticky post styling */
.sticky .post-list-item,
.sticky .post-card {
    border: 2px solid #e63946;
}

/* Custom logo styling */
.custom-logo-link img {
    max-height: 48px;
    width: auto;
}

/* Print styles */
@media print {
    .site-header,
    .sidebar-area,
    .site-footer,
    .post-navigation,
    .comments-area,
    .hero-section {
        display: none !important;
    }

    .content-area {
        display: block !important;
    }

    .main-content {
        max-width: 100% !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
}
