/*
Theme Name: Thông tin Phạt nguội
Description: Tra cứu phạt nguội ô tô, xe máy toàn quốc
Version: 1.0
Author: Dai Nguyen
Text Domain: phatnguoi
*/

/* Import Google Fonts - Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* Root Variables */
:root {
    --primary-color: #0d6efd;
    --primary-rgb: 0, 74, 173;
    --font-family: 'Open Sans', sans-serif;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: #F5F5F5;
    color: #000;
}

/* Override Bootstrap Primary Color */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: rgba(var(--primary-rgb), 0.8);
    border-color: rgba(var(--primary-rgb), 0.8);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Navbar Styles */
.navbar-brand img {
    max-height: 40px;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body {
    padding-top: 90px;
}

.h1, h1 {
    font-size: 2rem;
}

.h2, h2 {
    font-size: 1.8rem;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-menu li {
    margin: 0 1rem;
}

.footer-menu a {
    color: #6c757d;
    text-decoration: none;
}

.footer-menu a:hover {
    color: var(--primary-color);
}

.app-links a {
    display: inline-block;
    margin: 0 0.5rem;
}

.app-links img {
    height: 40px;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0.5rem 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.faq-question {
    background-color: #f8f9fa;
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid #dee2e6;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

.faq-answer {
    padding: 1rem;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-answer ul, .faq-answer ol {
    margin: 15px 0;
    padding-left: 25px;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.faq-answer h4 {
    font-size: 1.2rem;
}

.related-keywords {
    margin-bottom: 20px;
}

.related-keywords h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 15px;
}

.keyword {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 10px;
    margin: 3px;
    border-radius: 15px;
    font-size: 14px;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-menu ul {
        flex-direction: column;
        text-align: center;
    }

    .footer-menu li {
        margin: 0.25rem 0;
    }
}

/* Search Form */
.search-form {
    max-width: 400px;
}

/* Post */
.recent-posts-section h5.card-title {
    font-size: 1rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Post meta */
.post-meta {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Archive styles */
.archive-header {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 2rem;
}