:root {
    --primary: #E31E24;
    --secondary: #1A1A1A;
    --accent: #F5F5F5;
    --background: #FFFFFF;
    --card-background: #F9F9F9;
    --text-main-light: #121212;
    --text-muted-light: #666666;
    --border-color: #E5E5E5;
    --hover-state: #C4191F;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto Mono', monospace;
    background-color: var(--background);
    color: var(--text-main-light);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

.btn-industrial {
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
}

.btn-industrial:active {
    transform: scale(0.95);
    box-shadow: 0 0 15px var(--primary);
}

.card-bento {
    border: 1px solid var(--border-color);
    border-radius: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-bento:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ===== hero ===== */
.pewneauto-hero {
    position: relative;
    font-family: 'Inter', sans-serif;
}

.pewneauto-hero p {
    font-family: 'Roboto Mono', monospace;
}

.pewneauto-hero .container {
    max-width: 1200px;
}

.pewneauto-hero h1 {
    word-wrap: break-word;
    hyphens: auto;
}

.pewneauto-hero video {
    pointer-events: none;
}

/* ===== about ===== */
.about-section .about-image-wrapper {
    position: relative;
    overflow: hidden;
}

.about-section .about-image-wrapper img {
    transition: transform 0.5s ease;
}

.about-section .about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-section h2,
.about-section h3 {
    font-family: 'Inter', sans-serif;
}

.about-section p {
    font-family: 'Roboto Mono', monospace;
}

@media (max-width: 768px) {
    .about-section h2 {
        font-size: 18px !important;
    }

    .about-section h3 {
        font-size: 14px !important;
    }
}

/* ===== latest_guides ===== */
.latest-guides-section .guide-card {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.latest-guides-section .guide-card h3 {
    line-height: 1.3;
}

.latest-guides-section ::selection {
    background: #E31E24;
    color: #FFFFFF;
}

/* ===== modules ===== */
.diy-modules .diy-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.diy-modules .diy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #E31E24;
}

.diy-modules .js-filter-btn.active {
    background-color: #1A1A1A !important;
    color: #FFFFFF !important;
    border-color: #1A1A1A !important;
}

.diy-modules .diy-card[style*="display: none"] {
    display: none !important;
}

/* ===== newsletter ===== */
.newsletter-block .newsletter-input::placeholder {
    color: #666666;
    opacity: 1;
}

.newsletter-block .newsletter-btn {
    box-shadow: 0 0 0 0 rgba(227, 30, 36, 0);
}

.newsletter-block .newsletter-btn:active {
    transform: scale(0.98);
    box-shadow: 0 0 15px rgba(227, 30, 36, 0.4);
}

.newsletter-block .hidden {
    display: none;
}

/* ===== footer ===== */
.pewneauto-footer .container {
    max-width: 1200px
}

.pewneauto-footer input::placeholder {
    color: #666666;
    opacity: 1
}

.pewneauto-footer .footer-nav a:hover,
.pewneauto-footer .footer-legal a:hover {
    padding-left: 4px
}

.pewneauto-footer nav a {
    transition: all 0.2s ease-in-out
}

.pewneauto-hero {
    position: relative;
    font-family: 'Inter', sans-serif;
}

.pewneauto-hero p {
    font-family: 'Roboto Mono', monospace;
}

.pewneauto-hero .container {
    max-width: 1200px;
}

.pewneauto-hero h1 {
    word-wrap: break-word;
    hyphens: auto;
}

.pewneauto-hero video {
    pointer-events: none;
}

.pewneauto-category-grid .container {
    max-width: 1200px;
}

.pewneauto-category-grid .article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pewneauto-category-grid .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pewneauto-footer .container {
    max-width: 1200px
}

.pewneauto-footer input::placeholder {
    color: #666666;
    opacity: 1
}

.pewneauto-footer .footer-nav a:hover,
.pewneauto-footer .footer-legal a:hover {
    padding-left: 4px
}

.pewneauto-footer nav a {
    transition: all 0.2s ease-in-out
}


/* ===== PAGE: about ===== */
.about-section { font-family: 'Roboto Mono', monospace; }
.about-section h1, .about-section h2, .about-section h3 { font-family: 'Inter', sans-serif; }
.about-section .container { max-width: 1200px; }
.about-section img { transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.about-section img:hover { transform: scale(1.05); }

/* ===== PAGE: contact ===== */
.contact-form-section .contact-card { box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease; }.contact-form-section .contact-card:hover { transform: translateY(-5px); }.contact-form-section input::placeholder, .contact-form-section textarea::placeholder { color: #A0A0A0; opacity: 1; }.contact-form-section .contact-info-text p { margin-bottom: 1.5rem; }.contact-form-section .js-form-success { background-color: #10B981; }.contact-form-section .js-form-error { background-color: #E31E24; }

/* ===== PAGE: privacy ===== */
.privacy-section { word-wrap: break-word; hyphens: auto; }
.privacy-section .privacy-content h2 { position: relative; }
.privacy-section .privacy-block ul li::before { content: ''; display: none; }
.privacy-section .privacy-content p { margin-bottom: 20px; }
.privacy-section .privacy-content p:last-child { margin-bottom: 0; }

/* ===== PAGE: terms ===== */
.terms-main .terms-content p { margin-bottom: 20px; line-height: 1.6; color: #121212; } .terms-main .terms-block { transition: transform 0.2s ease-in-out; } .terms-main .terms-block:hover { transform: translateX(5px); } .terms-main .terms-block h2 { color: #121212; letter-spacing: -0.02em; } .terms-main i.fas { min-width: 20px; }

/* ===== PAGE: disclaimer ===== */
.disclaimer-section { font-family: 'Roboto Mono', monospace; }
.disclaimer-section h2, .disclaimer-section .mono-label { font-family: 'Inter', sans-serif; }
.disclaimer-card { border-radius: 2px; box-shadow: 4px 4px 0px rgba(0,0,0,0.05); }
.disclaimer-section .icon-box { transition: transform 0.3s ease; }
.disclaimer-card:hover .icon-box { transform: scale(1.05); }
@media (max-width: 767px) {
  .disclaimer-section .disclaimer-item { align-items: flex-start; }
}

.comment-avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 2px;
}

.comment-container {
    border-bottom: 1px solid #E5E5E5;
    transition: transform 0.2s ease-in-out;
}

.comment-container:hover {
    transform: translateX(4px);
}

.reply-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 2px;
}

.reply-container {
    position: relative;
}

.reply-container::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 20px;
    width: 24px;
    height: 1px;
    background-color: #E5E5E5;
}


/* ===== PAGE TEMPLATE: maintenance ===== */
.prose-custom h1,
.prose-custom h2,
.prose-custom h3 {
    color: #1A1A1A;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    tracking: -0.02em;
}

.prose-custom h2 {
    font-size: 16px;
}

@media (min-width: 768px) {
    .prose-custom h2 {
        font-size: 32px;
    }
}

.prose-custom p {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .prose-custom p {
        font-size: 16px;
    }
}

.prose-custom ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.prose-custom ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    color: #444;
}

.prose-custom ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #E31E24;
    font-weight: bold;
}

.prose-custom strong {
    color: #1A1A1A;
    font-weight: 700;
}

.pewneauto-hero-detail .container {
    max-width: 1200px;
}

.pewneauto-content .container {
    max-width: 1200px;
}

.pewneauto-footer .container {
    max-width: 1200px;
}

.pewneauto-footer input::placeholder {
    color: #666666;
    opacity: 1;
}

.pewneauto-footer nav a:hover {
    padding-left: 4px;
}

.pewneauto-footer nav a {
    transition: all 0.2s ease-in-out;
}

.js-tab-trigger.active {
    color: #E31E24;
}

.comment-avatar,
.reply-avatar {
    border-radius: 50%;
}

/* ===== PAGE TEMPLATE: diy-repair ===== */
.prose-custom h1,
.prose-custom h2,
.prose-custom h3 {
    color: #1A1A1A;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    tracking: -0.02em;
}

.prose-custom h2 {
    font-size: 16px;
}

@media (min-width: 768px) {
    .prose-custom h2 {
        font-size: 32px;
    }
}

.prose-custom p {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .prose-custom p {
        font-size: 16px;
    }
}

.prose-custom ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.prose-custom ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    color: #444;
}

.prose-custom ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #E31E24;
    font-weight: bold;
}

.prose-custom strong {
    color: #1A1A1A;
    font-weight: 700;
}

.pewneauto-hero-detail .container {
    max-width: 1200px;
}

.pewneauto-content .container {
    max-width: 1200px;
}

.pewneauto-footer .container {
    max-width: 1200px;
}

.pewneauto-footer input::placeholder {
    color: #666666;
    opacity: 1;
}

.pewneauto-footer nav a:hover {
    padding-left: 4px;
}

.pewneauto-footer nav a {
    transition: all 0.2s ease-in-out;
}

.js-tab-trigger.active {
    color: #E31E24;
}

.comment-avatar,
.reply-avatar {
    border-radius: 50%;
}

/* ===== PAGE TEMPLATE: tools-diagnostics ===== */
.prose-custom h1,
.prose-custom h2,
.prose-custom h3 {
    color: #1A1A1A;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    tracking: -0.02em;
}

.prose-custom h2 {
    font-size: 16px;
}

@media (min-width: 768px) {
    .prose-custom h2 {
        font-size: 32px;
    }
}

.prose-custom p {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .prose-custom p {
        font-size: 16px;
    }
}

.prose-custom ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.prose-custom ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    color: #444;
}

.prose-custom ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #E31E24;
    font-weight: bold;
}

.prose-custom strong {
    color: #1A1A1A;
    font-weight: 700;
}

.pewneauto-hero-detail .container {
    max-width: 1200px;
}

.pewneauto-content .container {
    max-width: 1200px;
}

.pewneauto-footer .container {
    max-width: 1200px;
}

.pewneauto-footer input::placeholder {
    color: #666666;
    opacity: 1;
}

.pewneauto-footer nav a:hover {
    padding-left: 4px;
}

.pewneauto-footer nav a {
    transition: all 0.2s ease-in-out;
}

.js-tab-trigger.active {
    color: #E31E24;
}

.comment-avatar,
.reply-avatar {
    border-radius: 50%;
}
/* Fix double markers in lists with icons */
.prose-custom ul.list-none li::before { display: none; }
