
/* ===== BASE STYLES ===== */
:root {
    --primary: #e63946; /* Direct Brakes red */
    --secondary: #457b9d; /* Complementary blue */
    --dark: #1d3557;
    --light: #f8f9fa;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e0e0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
    padding: 0;
    background-color: white;
    font-weight: 400;
}

.container {
  margin-left: 15px;
display: flex;
align-items: center;
justify-content: space-between;
}

h1, h2, h3, h4 {
    color: var(--dark);
    margin-top: 0;
    font-weight: 600;
}

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

/* ===== ALERT BAR ===== */
.alert-bar {
background-color: var(--primary);
color: white;
margin-top: 70px;
padding: 12px 0;
text-align: center;
font-weight: bold;
}

.alert-cta {
display: inline-block;
background: black;
color: white;
padding: 5px 15px;
margin-left: 10px;
border-radius: 4px;
text-decoration: none;
}

.alert-cta:hover {
    background: #333;
}

/* ===== HEADER SECTION ===== */
.blog-header {
padding: 40px 0;
background: white;
}

.header-content {
    flex: 1;
    padding-right: 40px;
}

.header-image {
    flex: 1;
    text-align: right;
}
.header-image img {
max-width: 90%;
height: auto;
border-radius: 8px;
}
.blog-header h1 {
font-size: 2rem;
margin-bottom: 15px;
font-weight: 700;
}


.blog-header p {
color: var(--text-light);
margin-bottom: 25px;
font-size: 1rem;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== MAIN CONTENT ===== */
.blog-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0;
}

@media (min-width: 992px) {
    .blog-container {
        grid-template-columns: 2fr 1fr;
    }
}

/* FAQ Content */
.faq-section {
    margin-bottom: 40px;
}

.faq-section h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    font-weight: 600;
}

.faq-item {
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-question {
    background: white;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 1rem;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.2s ease;
    font-size: 0.9rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease, padding 0.2s ease;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text);
}

.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.faq-answer li {
    margin-bottom: 8px;
    color: var(--text);
}

/* Service Highlight Box */
.service-highlight {
    background: var(--light);
    border-left: 3px solid var(--primary);
    padding: 16px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}

.service-highlight h4 {
    margin-top: 0;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.service-highlight p {
    font-size: 0.95rem;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 0.9rem;
}

.comparison-table th, .comparison-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--light);
    font-weight: 500;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .better {
    color: var(--primary);
    font-weight: 500;
}

/* Sidebar */
.blog-sidebar {
    background: white;
    padding: 25px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.sidebar-widget {
    margin-bottom: 25px;
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    font-weight: 600;
}

.popular-services ul {
    list-style: none;
    padding: 0;
}

.popular-services li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border);
}

.popular-services a {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.popular-services a:hover {
    color: var(--primary);
}

.emergency-cta-sidebar {
    background: var(--primary);
    color: white;
    padding: 18px;
    border-radius: 6px;
    text-align: center;
}

.emergency-cta-sidebar h3 {
    color: white;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    font-size: 1.1rem;
}

.emergency-cta-sidebar p {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.emergency-cta-sidebar ul {
    text-align: left;
    color: white;
    padding-left: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* ===== CTA SECTION ===== */
.blog-cta {
    background: var(--dark);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.blog-cta h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.blog-cta p {
    max-width: 700px;
    margin: 0 auto 25px;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    margin-right: 12px;
}

.btn-primary:hover {
    background: #c1121f;
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .blog-header {
        flex-direction: column;
        padding: 30px 0;
    }
    
    .header-content {
        padding-right: 0;
        margin-bottom: 25px;
    }
    
    .header-image {
        text-align: center;
    }
    .header-image {
display: none;
    }
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 1.8rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 12px;
    }
    
    .btn-primary {
        margin-right: 0;
    }
    
    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .alert-bar {
        font-size: 0.8rem;
        padding: 8px 0;
    }
    
    .alert-cta {
        display: block;
        margin: 8px auto 0;
        width: fit-content;
    }
    
    .blog-header h1 {
        font-size: 1.6rem;
    }
    
    .faq-section h2 {
        font-size: 1.3rem;
    }
}
