/* Enhanced Tow FAQ Styling */

/* Enhanced Header Styling */
.faq-header {
    background-color: #1a3458;
    color: white;
    padding: 40px 30px;
    margin-bottom: 30px;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.faq-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M10 15l-5.878 3.09 1.123-6.545L.489 6.91l6.572-.955L10 0l2.939 5.955 6.572.955-4.756 4.635 1.123 6.545z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-repeat: repeat;
    opacity: 0.1;
    border-radius: 5px;
}

.faq-header h1 {
    color: white !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    margin: 0 0 15px !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.faq-header .entry-meta,
.faq-header .published-date {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin-bottom: 0;
    font-style: italic;
}

/* Target the specific classes I see in your code */
.tow_faq-template-default .faq-header,
.single-tow_faq .faq-header,
.postid-27362 .faq-header,
div.tow-faq-page {
    padding: 40px 30px;
    margin-bottom: 30px;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* For your specific class structure */
#masthead {
    margin-bottom: 0 !important;
}

.site-content {
    padding-top: 0 !important;
}

.tow-faq-page {
    margin-top: 0;
}

/* Style the specific header div I see in your code */
.faq-header, 
div.class="faq-header" {
    background-color: #1a3458;
    background-image: linear-gradient(135deg, #1a3458 0%, #2a4778 100%);
    color: white;
    padding: 40px 30px;
    margin-bottom: 30px;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Blue header section I see in your HTML comments */
/* Blue header section like your directory pages */
.blue-header-section {
    background-color: #1a3458;
    background-image: linear-gradient(135deg, #1a3458 0%, #2a4778 100%);
    color: white;
    padding: 40px 30px;
    margin-bottom: 30px;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-header,
    .tow_faq-template-default .faq-header,
    .single-tow_faq .faq-header,
    .blue-header-section {
        padding: 25px 20px;
    }
    
    .faq-header h1 {
        font-size: 28px !important;
    }
}

/* Breadcrumb Navigation Styling */
.faq-breadcrumb {
    background-color: #f5f8fa;
    border-bottom: 1px solid #e9ecef;
    padding: 12px 0;
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb-nav a {
    color: #1a3458;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: #4285f4;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #888;
}

.breadcrumb-nav .current {
    color: #666;
    font-weight: 500;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* For mobile screens */
@media (max-width: 768px) {
    .breadcrumb-nav {
        font-size: 13px;
    }
    
    .breadcrumb-separator {
        margin: 0 5px;
    }
    
    .breadcrumb-nav .current {
        max-width: 150px;
    }
}

/* Main Container */
.tow-faq-container {
    font-family: inherit;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styling */
.entry-header, .tow-faq-title {
    background-color: #1a3458;
    color: white !important;
    padding: 30px 15px;
    margin-bottom: 25px;
    border-radius: 5px;
}

.entry-header h1, .tow-faq-title h1 {
    color: white !important;
    font-size: 32px;
    margin: 0;
    font-weight: 700;
}

.entry-meta, .tow-faq-meta {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    font-size: 14px;
}

/* Main Content Layout */
.tow-faq-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.tow-faq-main {
    flex: 1;
    min-width: 65%;
    padding: 0 15px;
}

.tow-faq-sidebar {
    width: 35%;
    padding: 0 15px;
}

/* Content Box Styling */
.tow-faq-box {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 25px;
    margin-bottom: 30px;
}

/* Question & Answer Styling */
.tow-faq-question {
    color: #1a3458;
    font-size: 24px;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.tow-faq-summary {
    background-color: #f5f8ff;
    border-left: 4px solid #4285f4;
    padding: 15px 20px;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
    border-radius: 0 5px 5px 0;
}

/* Section Styling */
.tow-faq-section {
    margin-bottom: 30px;
}

.tow-faq-section h2 {
    color: #1a3458;
    font-size: 22px;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* List Styling */
.tow-faq-list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px;
}

.tow-faq-list li {
    padding: 12px 0;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 28px;
}

.tow-faq-list li:before {
    content: "•";
    color: #4285f4;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 10px;
}

.tow-faq-list li:last-child {
    border-bottom: none;
}

/* Numbered List Styling */
ol.tow-faq-numbered-list {
    counter-reset: item;
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px;
}

ol.tow-faq-numbered-list li {
    padding: 12px 0 12px 38px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

ol.tow-faq-numbered-list li:before {
    content: counter(item) ".";
    counter-increment: item;
    color: #4285f4;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 12px;
}

ol.tow-faq-numbered-list li:last-child {
    border-bottom: none;
}

/* Sidebar Styling */
.tow-faq-cta {
    background-color: #1a3458;
    color: white;
    padding: 25px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 30px;
}

.tow-faq-cta h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

.tow-faq-cta p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.tow-faq-btn {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.tow-faq-btn:hover {
    background-color: #c0392b;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tow-faq-categories h3, .tow-faq-popular h3 {
    color: #1a3458;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.category-list, .popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li, .popular-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child, .popular-list li:last-child {
    border-bottom: none;
}

.category-list a, .popular-list a {
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    display: block;
    position: relative;
    padding-left: 20px;
}

.category-list a:before {
    content: "›";
    position: absolute;
    left: 0;
    color: #4285f4;
    font-weight: bold;
}

.popular-list a:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4285f4;
}

.category-list a:hover, .popular-list a:hover {
    color: #4285f4;
    padding-left: 25px;
}

/* Related Questions Card Styling */
.related-questions-section,
.related-faqs-section {
    margin: 40px 0;
    padding: 25px;
    border-radius: 8px;
}

.related-questions-section h3,
.related-faqs-section h3 {
    color: #1a3458;
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 700;
}

.related-questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.related-question-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-question-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    border-color: #d0d0d0;
}

.related-question-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-question-icon {
    background-color: #1a3458;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.related-question-header {
    padding: 16px 16px 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.related-question-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.related-question-content {
    padding: 12px 16px 16px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
}

.related-question-content p {
    margin: 0;
}

.related-question-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background-color: #f9f9f9;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: #888;
}

.related-question-views {
    display: flex;
    align-items: center;
}

.related-question-views:before {
    content: "👁️";
    margin-right: 5px;
}

.related-question-date {
    display: flex;
    align-items: center;
}

.related-question-date:before {
    content: "📅";
    margin-right: 5px;
}

/* Hide the old list if it exists somewhere */
.related-faqs-list {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .related-questions-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tow-faq-wrapper {
        flex-direction: column;
    }
    
    .tow-faq-main, .tow-faq-sidebar {
        width: 100%;
    }
    
    .entry-header, .tow-faq-title {
        padding: 20px 15px;
    }
    
    .entry-header h1, .tow-faq-title h1 {
        font-size: 24px;
    }
    
    .tow-faq-box {
        padding: 15px;
    }
    
    .tow-faq-question {
        font-size: 20px;
    }
}

/* Enhanced FAQ Navigation Styling */
.faq-navigation-container {
    margin: 40px 0;
    padding: 25px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-nav-link {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    max-width: 45%;
    text-decoration: none;
    color: #333;
}

.faq-nav-link:hover {
    background-color: #e9eff9;
    border-color: #c5d3e8;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    color: #1a3458;
}

.faq-nav-previous {
    text-align: left;
}

.faq-nav-next {
    text-align: right;
    margin-left: auto;
}

.faq-nav-icon {
    font-size: 20px;
    color: #1a3458;
}

.faq-nav-previous .faq-nav-icon {
    margin-right: 12px;
}

.faq-nav-next .faq-nav-icon {
    margin-left: 12px;
}

.faq-nav-content {
    flex: 1;
}

.faq-nav-label {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
}

.faq-nav-title {
    font-weight: 600;
    font-size: 15px;
    display: block;
    color: #333;
    line-height: 1.4;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-navigation-container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .faq-nav-link {
        max-width: 100%;
    }
}

/* Enhanced FAQ Navigation Styling */
.faq-navigation-container {
    margin: 40px 0;
    padding: 25px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-nav-link {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    max-width: 45%;
    text-decoration: none;
    color: #333;
}

.faq-nav-link:hover {
    background-color: #e9eff9;
    border-color: #c5d3e8;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    color: #1a3458;
}

.faq-nav-previous {
    text-align: left;
}

.faq-nav-next {
    text-align: right;
    margin-left: auto;
}

.faq-nav-icon {
    font-size: 20px;
    color: #1a3458;
}

.faq-nav-previous .faq-nav-icon {
    margin-right: 12px;
}

.faq-nav-next .faq-nav-icon {
    margin-left: 12px;
}

.faq-nav-content {
    flex: 1;
}

.faq-nav-label {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 5px;
}

.faq-nav-title {
    font-weight: 600;
    font-size: 15px;
    display: block;
    color: #333;
    line-height: 1.4;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-navigation-container {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .faq-nav-link {
        max-width: 100%;
    }
}

/* Towing FAQ Archive Page Styling */

/* Main container */
.towing-faq-container {
    font-family: inherit;
    line-height: 1.6;
    color: #333;
}

/* Header styling */
.towing-faq-header {
    background-color: #1a3458;
    background-image: linear-gradient(135deg, #1a3458 0%, #2a4778 100%);
    color: white;
    padding: 50px 0;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.towing-faq-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 20 20"><path d="M10 15l-5.878 3.09 1.123-6.545L.489 6.91l6.572-.955L10 0l2.939 5.955 6.572.955-4.756 4.635 1.123 6.545z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-repeat: repeat;
    opacity: 0.1;
}

.towing-faq-header h1 {
    color: white !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    margin: 0 0 15px !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.towing-faq-header p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin: 0;
    max-width: 800px;
}

/* Content boxes */
.towing-faq-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 30px;
}

.section-title {
    color: #1a3458;
    font-size: 22px;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* FAQ Card Grid */
.faq-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    gap: 20px;
}

.faq-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #c5d3e8;
}

.faq-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit;
}

.faq-card-content {
    padding: 20px;
    flex-grow: 1;
}

.faq-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a3458;
    margin: 0 0 12px;
    line-height: 1.4;
}

.faq-card-excerpt {
    color: #666;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.faq-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: #f5f8fa;
    border-top: 1px solid #e0e0e0;
}

.faq-card-date {
    color: #777;
    font-size: 13px;
}

.faq-card-read-more {
    color: #1a3458;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.faq-card:hover .faq-card-read-more {
    color: #4285f4;
}

.faq-card:hover .faq-card-read-more i {
    transform: translateX(3px);
}

.faq-card-read-more i {
    margin-left: 5px;
    transition: transform 0.2s ease;
}

/* Pagination */
.faq-pagination {
    margin-top: 30px;
    text-align: center;
}

.faq-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 3px;
    border-radius: 5px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.faq-pagination .page-numbers.current {
    background-color: #1a3458;
    border-color: #1a3458;
    color: white;
}

.faq-pagination .page-numbers:hover:not(.current) {
    background-color: #f5f8fa;
    border-color: #c5d3e8;
}

.faq-pagination .prev,
.faq-pagination .next {
    width: auto;
    padding: 0 15px;
}

/* Sidebar */
.towing-faq-sidebar {
    position: sticky;
    top: 30px;
}

/* Search form */
.faq-search-form {
    margin-bottom: 10px;
}

.search-input-group {
    display: flex;
    position: relative;
}

.search-field {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.search-field:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.search-submit {
    background-color: #1a3458;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.2s;
}

.search-submit:hover {
    background-color: #2a4778;
}

/* Category list */
.faq-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-category-item {
    margin-bottom: 5px;
}

.faq-category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;