/*
Theme Name: SAFEJETS
Theme URI: https://safejets.com
Author: SAFEJETS Team
Author URI: https://safejets.com
Description: A modern aviation management theme with SEO optimization and responsive design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: safejets
Tags: aviation, business, responsive, modern, flight-management

This theme is designed for aviation management companies.
*/

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

/* WordPress Core Styles */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;

/* Navigation Menu Styling */
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

/* Hide desktop navigation on mobile */
@media (max-width: 767px) {
    nav.hidden.md\:flex,
    .hidden.md\:flex {
        display: none !important;
    }
}

/* Show desktop navigation only on desktop */
@media (min-width: 768px) {
    nav.hidden.md\:flex,
    .hidden.md\:flex {
        display: flex !important;
    }
}

.nav-link:hover {
    color: #2563eb;
    background-color: #f8fafc;
    transform: translateY(-1px);
}

.nav-link:active {
    transform: translateY(0);
}

/* Current page styling */
.current-menu-item > .nav-link,
.current-page-ancestor > .nav-link {
    color: #2563eb;
    background-color: #eff6ff;
    font-weight: 600;
}

.current-menu-item > .nav-link::before,
.current-page-ancestor > .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: #2563eb;
    border-radius: 1px;
}

/* Dropdown Menu Styling */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 50;
    padding: 0.5rem 0;
}

.menu-item-has-children:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown menu items */
.menu-item-has-children ul .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #4b5563;
    font-weight: 400;
    border-radius: 0;
    background: transparent;
}

.menu-item-has-children ul .nav-link:hover {
    color: #2563eb;
    background-color: #f3f4f6;
    padding-left: 1.25rem;
}

/* Mobile Navigation Styling */
.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 0.25rem;
}

.mobile-nav-menu .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    color: #374151;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-nav-menu .nav-link:hover {
    color: #2563eb;
    background-color: #eff6ff;
    padding-left: 1.25rem;
}

.mobile-nav-menu .current-menu-item .nav-link {
    color: #2563eb;
    background-color: #eff6ff;
    font-weight: 600;
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

}

/* Single Post Page Enhancements */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Prose styling for content */
.prose {
    color: #374151;
    line-height: 1.75;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #111827;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h1 { font-size: 2.25rem; }
.prose h2 { font-size: 1.875rem; }
.prose h3 { font-size: 1.5rem; }
.prose h4 { font-size: 1.25rem; }

.prose p {
    margin-bottom: 1.5rem;
}

.prose a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.prose a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.prose img {
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.prose blockquote {
    border-left: 4px solid #2563eb;
    background: #f8fafc;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.5rem;
    font-style: italic;
}

.prose ul, .prose ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.prose li {
    margin: 0.5rem 0;
}

.prose code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.prose pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.prose pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Smooth transitions for interactive elements */
.transition-all {
    transition: all 0.3s ease;
}

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Enhanced focus states for accessibility */
a:focus, button:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .bg-gradient-to-br,
    .bg-gradient-to-r,
    .shadow-xl,
    .backdrop-blur-sm {
        background: white !important;
        box-shadow: none !important;
    }
    
    .text-white {
        color: black !important;
    }
}
/* Comments Section Styling */
.comments-area {
    margin-top: 2rem;
}

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

.comment-list .comment {
    margin-bottom: 1.5rem;
}

.comment-list .children {
    margin-left: 2rem;
    margin-top: 1rem;
    border-left: 2px solid #e5e7eb;
    padding-left: 1rem;
}

.comment-form {
    margin-top: 2rem;
}

.comment-form p {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.comment-respond {
    margin-top: 2rem;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
}

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

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

.comment-navigation {
    margin: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-navigation a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.comment-navigation a:hover {
    background: #2563eb;
    color: white;
}


/* Mobile optimizations */
@media (max-width: 640px) {
    .prose {
        font-size: 1rem;
    }
    
    .prose h1 { font-size: 1.875rem; }
    .prose h2 { font-size: 1.5rem; }
    .prose h3 { font-size: 1.25rem; }
    
    .comment-list .children {
        margin-left: 1rem;
    }
    
    .comment-respond {
        padding: 1rem;
    }
    
    .comment-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== HEADER NAVIGATION STYLES ===== */

/* Desktop Navigation Links */
.nav-link {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin: 0 0.25rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Hover Effects */
.nav-link:hover {
    color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Active Link State */
.nav-link.current-menu-item,
.nav-link[aria-current="page"] {
    color: #1e40af;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

/* Animated Underline Effect */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 80%;
}

/* Dropdown Toggle Styles */
.dropdown-toggle {
    position: relative;
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.group:hover .dropdown-toggle i {
    transform: rotate(180deg);
    color: #2563eb;
}

/* Dropdown Menu Enhanced Styles */
.group ul.absolute {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 1rem;
    padding: 0.5rem;
    min-width: 12rem;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover ul.absolute {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Dropdown Items */
.group ul.absolute a {
    display: block;
    padding: 0.75rem 1rem;
    color: #4b5563;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    margin: 0.125rem 0;
}

.group ul.absolute a:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    transform: translateX(4px);
}

/* Mobile Menu Styles */
#mobile-menu {
    transition: all 0.3s ease;
    display: none;
}

/* Mobile menu visibility states */
#mobile-menu.hidden {
    display: none !important;
}

#mobile-menu:not(.hidden) {
    display: block !important;
}

/* Mobile menu responsive behavior */
@media (max-width: 767px) {
    #mobile-menu:not(.hidden) {
        display: block !important;
        animation: slideDown 0.3s ease-out;
    }
}

@media (min-width: 768px) {
    #mobile-menu {
        display: none !important;
    }
}

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

.mobile-nav-menu a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    margin: 0.25rem 0;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-menu a:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    border-left-color: #3b82f6;
    transform: translateX(4px);
}

.mobile-nav-menu .current-menu-item a {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-left-color: #1d4ed8;
    font-weight: 600;
}

/* Mobile Menu Button Enhanced */
#mobile-menu-btn {
    position: relative;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Mobile menu button visibility */
@media (max-width: 767px) {
    #mobile-menu-btn,
    .md\:hidden {
        display: inline-flex !important;
        visibility: visible !important;
    }
}

@media (min-width: 768px) {
    #mobile-menu-btn,
    .md\:hidden {
        display: none !important;
    }
}

#mobile-menu-btn:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #bfdbfe;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

#mobile-menu-btn:active {
    transform: scale(0.95);
}

/* Hamburger menu icons */
#mobile-menu-btn i {
    font-size: 1.25rem;
    color: #374151;
    transition: all 0.3s ease;
}

#mobile-menu-btn:hover i {
    color: #2563eb;
}

/* Icon visibility states */
#menu-open-icon,
#menu-close-icon {
    transition: opacity 0.2s ease;
}

#menu-open-icon.hidden,
#menu-close-icon.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Header Background Enhancement */
#header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
}

/* Logo Enhancement */
.custom-logo-link img {
    transition: transform 0.3s ease;
}

.custom-logo-link:hover img {
    transform: scale(1.05);
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    #mobile-menu {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        border-radius: 1rem 1rem 0 0;
        margin-top: 0.5rem;
    }
    
    .mobile-nav-menu {
        padding: 1rem;
    }
}

/* Animation for Menu Items */
@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link {
    animation: slideInFromTop 0.5s ease forwards;
}

.nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-link:nth-child(2) { animation-delay: 0.2s; }
.nav-link:nth-child(3) { animation-delay: 0.3s; }
.nav-link:nth-child(4) { animation-delay: 0.4s; }
.nav-link:nth-child(5) { animation-delay: 0.5s; }

/* Focus States for Accessibility */
.nav-link:focus,
#mobile-menu-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-link {
        border: 1px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        border-color: currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .nav-link,
    .dropdown-toggle i,
    .group ul.absolute,
    #mobile-menu-btn {
        transition: none;
    }
    
    .nav-link {
        animation: none;
    }
}

/* ===== CONTACT FORM 7 STYLES ===== */

/* Form Container */
.wpcf7-form {
    display: grid;
    gap: 1.5rem;
}

/* Input Fields */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Focus States */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: #fefefe;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Hover States */
.wpcf7-form input[type="text"]:hover,
.wpcf7-form input[type="email"]:hover,
.wpcf7-form input[type="tel"]:hover,
.wpcf7-form input[type="url"]:hover,
.wpcf7-form textarea:hover,
.wpcf7-form select:hover {
    border-color: #9ca3af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Textarea Specific */
.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

/* Form Labels */
.wpcf7-form label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Submit Button */
.wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.wpcf7-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Form Row Layout */
.wpcf7-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.wpcf7-form .form-full {
    grid-column: 1 / -1;
}

/* Error States */
.wpcf7-form .wpcf7-not-valid {
    border-color: #ef4444 !important;
    background-color: #fef2f2;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Success/Error Messages */
.wpcf7-response-output {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 500;
    margin-top: 1rem;
}

.wpcf7-mail-sent-ok {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Validation Error Messages */
.wpcf7-form .wpcf7-validation-errors {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.wpcf7-form span.wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Loading State */
.wpcf7-form.submitting input[type="submit"] {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.wpcf7-form.submitting input[type="submit"]:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .wpcf7-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wpcf7-form input[type="submit"] {
        width: 100%;
        padding: 1.25rem;
        font-size: 1.1rem;
    }
}

/* Custom Checkbox and Radio Styles */
.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
    accent-color: #3b82f6;
}

.wpcf7-form .wpcf7-acceptance,
.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

/* File Upload Styling */
.wpcf7-form input[type="file"] {
    padding: 0.75rem;
    border: 2px dashed #d1d5db;
    background-color: #f9fafb;
    cursor: pointer;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="file"]:hover {
    border-color: #3b82f6;
    background-color: #eff6ff;
}


/* SAFEJETS Theme Footer Force Override */
.safejets-theme-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
    clear: both !important;
}

/* Hide any conflicting footers */
footer:not(.safejets-theme-footer) {
    display: none !important;
}

/* Elementor footer override */
.elementor-location-footer {
    display: none !important;
}

/* Force theme footer to appear */
#safejets-footer {
    display: block !important;
    visibility: visible !important;
}

/* Clear any cached footer styles */
body {
    margin-bottom: 0 !important;
}

/* Ensure footer is at bottom */
html, body {
    height: 100%;
}

.safejets-theme-footer {
    margin-top: auto;
}


/* Hide reading time on front page */
.home .rt-reading-time,
.home .reading-time,
.front-page .rt-reading-time,
.front-page .reading-time,
body.home [class*="reading"],
body.home [class*="rt_reading"],
body.front-page [class*="reading"],
body.front-page [class*="rt_reading"] {
    display: none !important;
}

/* Hide any plugin-generated reading time elements on home/front page */
body.home .post-meta .reading-time,
body.home .entry-meta .reading-time,
body.front-page .post-meta .reading-time,
body.front-page .entry-meta .reading-time {
    display: none !important;
}
