/**
 * 1800 Doorbell - FAQ System Styles
 * 
 * Extracted from Code Snippets Pro for better performance
 * Original location: Code Snippets line 9614-10206
 * Condition: FAQ pages (checked via meta fields and slug)
 * 
 * CONTENTS:
 * - FAQ category grid (landing page)
 * - FAQ document styling
 * - Search interface
 * - Accordion/collapsible styles
 * - Category navigation
 * - Breadcrumbs
 * - Mobile responsiveness
 * - Print styles
 * 
 * @package 1800doorbell
 * @version 2.0.0
 */
		
	/* FAQ Category Grid - Landing Page */
	.faq-category-grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
		gap: 25px;
		margin: 40px 0;
	}

	.faq-category-card-link {
		text-decoration: none;
		display: block;
	}

	.faq-category-card {
		background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
		border: 2px solid #e5e7eb;
		border-radius: 12px;
		padding: 30px 25px;
		text-align: center;
		transition: all 0.3s ease;
		position: relative;
		overflow: hidden;
		height: 100%;
	}

	.faq-category-card::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 4px;
		background: linear-gradient(90deg, #1e3a5f 0%, #2563eb 100%);
		transform: scaleX(0);
		transition: transform 0.3s ease;
	}

	.faq-category-card-link:hover .faq-category-card::before {
		transform: scaleX(1);
	}

	.faq-category-card-link:hover .faq-category-card {
		border-color: #2563eb;
		box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
		transform: translateY(-4px);
		background: #ffffff;
	}

	.faq-category-icon {
		font-size: 56px;
		margin-bottom: 20px;
		filter: grayscale(0.3);
		transition: all 0.3s ease;
	}

	.faq-category-card-link:hover .faq-category-icon {
		filter: grayscale(0);
		transform: scale(1.1);
	}

	.faq-category-card h3 {
		margin: 15px 0 10px 0;
		font-size: 19px;
		font-weight: 600;
		line-height: 1.4;
		color: #1e3a5f;
		transition: color 0.2s ease;
	}

	.faq-category-card-link:hover .faq-category-card h3 {
		color: #2563eb;
	}

	.faq-category-count {
		color: #6b7280;
		font-size: 14px;
		font-weight: 500;
		margin: 8px 0 0 0;
		padding: 6px 12px;
		background: #f3f4f6;
		border-radius: 20px;
		display: inline-block;
	}
    
    /* FAQ Archive Wrapper */
    .faq-archive-wrapper {
        margin: 0 0 40px 0;
    }
    
    /* Category Grid Container */
    .faq-category-grid-container {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 40px;
        margin-top: 25px;
    }
    
    /* Mobile Category Dropdown - Hidden on Desktop */
    .faq-category-mobile-nav {
        display: none;
        background: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        margin: 20px 0;
    }
    
    .faq-category-mobile-nav label {
        display: block;
        font-weight: 600;
        margin-bottom: 8px;
        color: #1e3a5f;
    }
    
    .faq-category-mobile-nav select {
        width: 100%;
        padding: 10px;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .faq-category-mobile-nav .view-all-mobile {
        display: inline-block;
        color: #2563eb;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
    }
    
    /* Sidebar */
    .faq-category-sidebar {
        background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 25px 20px;
        position: sticky;
        top: 20px;
        height: fit-content;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    
    .faq-category-sidebar h3 {
        margin: 0 0 20px 0;
        font-size: 18px;
        color: #1e3a5f;
        font-weight: 700;
        padding: 0 5px 15px 5px;
        border-bottom: 2px solid #e5e7eb;
    }
    
    .faq-cat-nav {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    
    .faq-cat-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 11px 15px;
        border-radius: 6px;
        color: #4b5563;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.2s ease;
        line-height: 1.4;
    }
    
    .faq-cat-link:hover {
        background: #f0f9ff;
        color: #2563eb;
        padding-left: 18px;
    }
    
    .faq-cat-link.current {
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        color: white;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    }
    
    .faq-cat-link .cat-name {
        flex: 1;
    }
    
    .faq-cat-link .cat-count {
        background: #e5e7eb;
        color: #6b7280;
        font-size: 11px;
        padding: 3px 9px;
        border-radius: 12px;
        font-weight: 600;
        min-width: 24px;
        text-align: center;
    }
    
    .faq-cat-link.current .cat-count {
        background: rgba(255, 255, 255, 0.25);
        color: white;
    }
    
    .faq-category-sidebar .back-to-all {
        display: block;
        margin-top: 20px;
        padding: 12px 15px;
        text-align: center;
        background: #f3f4f6;
        color: #4b5563;
        text-decoration: none;
        border-radius: 6px;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.2s ease;
    }
    
    .faq-category-sidebar .back-to-all:hover {
        background: #e5e7eb;
        color: #1e3a5f;
    }
    
    /* Main Content Area */
    .faq-category-main {
        min-width: 0; /* Prevents grid blowout */
    }
       
    /* FAQ Archive List - Premium Enhanced */
    .faq-archive-list {
        margin: 40px 0;
    }
    
    .faq-doc-item {
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        padding: 0;
        margin-bottom: 18px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .faq-doc-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: linear-gradient(180deg, #2563eb 0%, #1e40af 100%);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }
    
    .faq-doc-item:hover::before {
        transform: scaleY(1);
    }
    
    .faq-doc-item:hover {
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
        border-color: #93c5fd;
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15);
        transform: translateX(8px);
    }
    
    .faq-doc-title {
        margin: 0;
        padding: 20px 30px 8px 30px !important;
        font-size: 21px;
        font-weight: 600;
        position: relative;
    }
    
    .faq-doc-title::after {
        content: "\2192";;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%) translateX(-10px);
        font-size: 24px;
        color: #2563eb;
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .faq-doc-item:hover .faq-doc-title::after {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
    
    .faq-doc-title a {
        color: #1e3a5f;
        text-decoration: none;
        transition: color 0.2s ease;
        display: block;
        padding-right: 50px;
    }
    
    .faq-doc-item:hover .faq-doc-title a {
        color: #2563eb;
    }
    
    .faq-doc-excerpt {
        color: #4b5563;
        line-height: 1.7;
        margin: 0;
        padding: 8px 30px 12px 30px !important;
        font-size: 15px;
    }
    
    .faq-doc-meta {
        font-size: 13px;
        color: #9ca3af;
        font-weight: 500;
        padding: 0 30px 20px 30px !important;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .faq-doc-meta::before {
        content: "\1F552";;
        font-size: 14px;
    }
    
    /* FAQ Doc Container (for individual docs) */
    .faq-doc-container {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 50px;
        margin: 20px 0;
    }
    
    /* Breadcrumb - Enhanced */
    .faq-breadcrumb {
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        padding: 14px 24px;
        border-radius: 8px;
        margin-bottom: 25px;
        font-size: 14px;
        border-left: 3px solid #2563eb;
    }
    
    .faq-breadcrumb a {
        color: #2563eb;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    
    .faq-breadcrumb a:hover {
        color: #1e40af;
        text-decoration: underline;
    }
    
    .faq-breadcrumb span {
        color: #64748b;
        font-weight: 500;
    }
    
    /* Last Updated Notice - Enhanced */
    .faq-last-updated {
        background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
        border-left: 4px solid #2563eb;
        padding: 12px 20px;
        margin-bottom: 25px;
        font-size: 14px;
        color: #1e40af;
        border-radius: 6px;
        font-weight: 500;
    }
    
    /* Sidebar Navigation for Individual Docs */
    .faq-sidebar-nav {
        background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 25px;
        position: sticky;
        top: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    
    .faq-sidebar-nav h3 {
        margin: 0 0 25px 0;
        font-size: 19px;
        color: #1e3a5f;
        font-weight: 700;
        padding-bottom: 15px;
        border-bottom: 2px solid #e5e7eb;
    }
    
    .faq-sidebar-category {
        margin-bottom: 20px;
    }
    
    .faq-sidebar-category h4 {
        margin: 0 0 10px 0;
        font-size: 15px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .faq-sidebar-category h4 a {
        color: #4b5563;
        text-decoration: none;
        flex: 1;
        transition: color 0.2s ease;
    }
    
    .faq-sidebar-category h4 a:hover {
        color: #2563eb;
    }
    
    .faq-sidebar-category.active h4 a {
        color: #2563eb;
        font-weight: 700;
    }
    
    .faq-sidebar-category .count {
        background: #e5e7eb;
        color: #6b7280;
        font-size: 11px;
        padding: 3px 10px;
        border-radius: 12px;
        font-weight: 600;
        min-width: 28px;
        text-align: center;
    }
    
    .faq-sidebar-category.active .count {
        background: #dbeafe;
        color: #2563eb;
    }
    
    .faq-sidebar-docs {
        list-style: none;
        margin: 0 0 0 15px;
        padding: 0;
    }
    
    .faq-sidebar-docs li {
        margin: 6px 0;
    }
    
    .faq-sidebar-docs a {
        color: #6b7280;
        text-decoration: none;
        font-size: 14px;
        display: block;
        padding: 8px 12px;
        border-radius: 6px;
        transition: all 0.2s ease;
        line-height: 1.4;
    }
    
    .faq-sidebar-docs a:hover {
        background: #f0f9ff;
        color: #2563eb;
        padding-left: 16px;
    }
    
    .faq-sidebar-docs li.current a {
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        color: white;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    }
    
    /* Content Area */
    .faq-doc-content {
        max-width: 800px;
    }
    
    .faq-doc-content h1 {
        margin-top: 0;
        color: #1e3a5f;
        font-size: 32px;
        font-weight: 700;
        line-height: 1.3;
    }
    
    .faq-doc-content h2 {
        color: #1e3a5f;
        margin-top: 32px;
        font-weight: 600;
    }
    
    .faq-doc-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin: 20px 0;
    }
    
    .faq-doc-content p {
        line-height: 1.8;
        color: #374151;
    }
    
    .faq-doc-content a {
        color: #2563eb;
        font-weight: 500;
    }
    
    .faq-doc-content a:hover {
        text-decoration: underline;
    }
    
    /* Responsive Breakpoints */
    @media (max-width: 992px) {
        .faq-category-grid-container {
            grid-template-columns: 1fr;
            gap: 0;
        }
        
        .faq-category-sidebar {
            display: none;
        }
        
        .faq-category-mobile-nav {
            display: block;
        }
        
        .faq-doc-container {
            grid-template-columns: 1fr;
            gap: 30px;
        }
        
        .faq-doc-sidebar {
            order: 2;
        }
    }
    
    @media (max-width: 768px) {
        .faq-category-grid {
            grid-template-columns: 1fr;
        }
        
        .faq-doc-title {
            font-size: 18px;
            padding: 15px 20px 8px 20px !important;
        }
        
        .faq-doc-excerpt {
            padding: 8px 20px 10px 20px !important;
        }
        
        .faq-doc-meta {
            padding: 0 20px 15px 20px !important;
        }
    }