/* Truck Page Specific Styles */
.truck-page {
    margin-top: 70px;
}

.truck-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/images/USA-1-banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 60px 0;
}

.truck-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.truck-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.truck-subtitle {
    font-size: 1.3rem;
    color: #bdc3c7;
    margin-bottom: 2rem;
}

.truck-specs {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.truck-specs span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.truck-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Content Grid */
.truck-content {
    padding: 60px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.truck-article h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 3px solid #ff6b35;
    padding-bottom: 0.5rem;
}

.truck-article h3 {
    color: #34495e;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
}

.truck-article h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem 0;
}

.truck-article p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #555;
}

.truck-article ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.truck-article li {
    margin-bottom: 0.5rem;
    color: #555;
}

.build-step {
    background: #f8f9fa;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

.mod-section {
    background: #e8f5e8;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

/* Sidebar Widgets */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.parts-widget,
.specs-widget,
.forum-archive {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.parts-widget h3,
.specs-widget h3,
.forum-archive h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.part-item {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.part-item:last-child {
    border-bottom: none;
}

.part-item h4 {
    color: #34495e;
    margin-bottom: 0.5rem;
}

.part-item p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.buy-link {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.buy-link:hover {
    background: #e55a2b;
}

/* Specifications Table */
.specs-widget table {
    width: 100%;
    border-collapse: collapse;
}

.specs-widget td {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.specs-widget td:first-child {
    font-weight: 600;
    color: #2c3e50;
}

/* Forum Archive Links */
.forum-archive ul {
    list-style: none;
    padding: 0;
}

.forum-archive li {
    margin-bottom: 0.5rem;
}

.forum-archive a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forum-archive a:hover {
    color: #2980b9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .truck-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .truck-hero-content h1 {
        font-size: 2.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .main-content,
    .parts-widget,
    .specs-widget,
    .forum-archive {
        padding: 1rem;
    }

    .truck-specs {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .truck-hero {
        padding: 40px 0;
    }

    .truck-hero-content h1 {
        font-size: 2rem;
    }

    .truck-subtitle {
        font-size: 1.1rem;
    }

    .truck-content {
        padding: 40px 0;
    }
}/* A
rchive-specific styling */
.archive-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #007bff;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.archive-highlight h3 {
    color: #007bff;
    margin-bottom: 1rem;
}

.archive-highlight ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.archive-highlight ol li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.archive-insight {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.archive-insight h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.durability-insight {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.durability-insight h3 {
    color: #0c5460;
    margin-bottom: 1rem;
}

.comparison-callout {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.comparison-callout h3 {
    color: #721c24;
    margin-bottom: 1rem;
}

.guide-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.archive-note {
    background: #e2e3e5;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #495057;
}

.performance-ranking {
    margin: 2rem 0;
}

.rank-comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid transparent;
}

.rank-item.current {
    background: #fff3cd;
    border-color: #ffeaa7;
}

.rank-number {
    background: #007bff;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.rank-item.current .rank-number {
    background: #ffc107;
    color: #212529;
}

.rank-details h4 {
    margin: 0 0 0.25rem 0;
    color: #212529;
}

.rank-details p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}