/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
/* === Vitrano GLOBAL STYLES === */ @import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700;800&display=swap'); *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; } body { font-family: 'Work Sans', sans-serif; background: #f3f4f6; color: #2f2937; font-size: 16px; line-height: 1.6; } a { color: #7b2600; text-decoration: none; } a:hover { text-decoration: underline; } img { max-width: 100%; height: auto; display: block; } /* PROGRESS BAR */ .wp-progress-bar-wrap { position: fixed; top: 0; left: 0; width: 100%; height: 4px; background: #e5e7eb; z-index: 9999; } .wp-progress-bar { height: 4px; background: #7b2600; width: 0%; transition: width 0.1s linear; } /* HEADER */ .wp-header { background: #fff; border-bottom: 2px solid #7b2600; padding: 0 20px; position: sticky; top: 4px; z-index: 900; box-shadow: 0 2px 8px rgba(0,0,0,0.06); } .wp-header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; } .wp-logo { font-size: 26px; font-weight: 800; color: #7b2600; letter-spacing: -0.5px; } .wp-logo span { color: #2f2937; } .wp-nav { display: flex; gap: 24px; } .wp-nav a { font-size: 14px; font-weight: 600; color: #374151; text-transform: uppercase; letter-spacing: 0.5px; } .wp-nav a:hover { color: #7b2600; text-decoration: none; } /* BREADCRUMBS */ .wp-breadcrumbs { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 10px 20px; } .wp-breadcrumbs-inner { max-width: 1200px; margin: 0 auto; font-size: 13px; color: #6b7280; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .wp-breadcrumbs-inner a { color: #7b2600; } .wp-breadcrumbs-inner span { color: #9ca3af; } /* HERO */ .wp-hero { position: relative; overflow: hidden; background: #1c1c1e; max-height: 600px; } .wp-hero-img { width: 100%; max-height: 650px; object-fit: cover; object-position: center; opacity: 0.85; } .wp-hero-overlay { padding: 40px; background: linear-gradient(transparent, rgba(0,0,0,0.82)); color: #fff; } .wp-hero-category { display: inline-block; background: #7b2600; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 12px; border-radius: 3px; margin-bottom: 12px; } .wp-hero-title { font-size: clamp(22px, 4vw, 42px); font-weight: 800; line-height: 1.2; text-wrap: balance; margin-bottom: 10px; } .wp-hero-meta { font-size: 13px; color: #d1d5db; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; } /* LAYOUT */ .wp-container { max-width: 1200px; margin: 0 auto; padding: 32px 20px; display: grid; grid-template-columns: 1fr 340px; gap: 32px; } @media (max-width: 900px) { .wp-container { grid-template-columns: 1fr; } .wp-sidebar { order: -1; } } /* ARTICLE */ .wp-article { background: #fff; border-radius: 6px; padding: 36px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); } .wp-article h2 { font-size: 22px; font-weight: 700; color: #2f2937; margin: 28px 0 12px; } .wp-article h3 { font-size: 18px; font-weight: 600; color: #374151; margin: 22px 0 10px; } .wp-article p { color: #374151; line-height: 1.75; margin-bottom: 18px; } .wp-article blockquote { border-left: 4px solid #7b2600; background: #fef2f2; padding: 16px 22px; margin: 24px 0; border-radius: 0 4px 4px 0; font-style: italic; color: #4b5563; font-size: 17px; } .wp-article ul { padding-left: 22px; margin-bottom: 18px; } .wp-article ul li { margin-bottom: 8px; color: #374151; line-height: 1.7; } .wp-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid #e5e7eb; } .wp-tag { background: #f3f4f6; color: #6b7280; font-size: 12px; padding: 4px 12px; border-radius: 20px; font-weight: 500; } .wp-tag:hover { background: #7b2600; color: #fff; text-decoration: none; } /* ALSO READ */ .wp-also-read { background: #fff; border-radius: 6px; padding: 28px; margin-top: 28px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); } .wp-also-read h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #6b7280; margin-bottom: 16px; } .wp-also-read-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f3f4f6; } .wp-also-read-item:last-child { border-bottom: none; } .wp-also-read-item a { font-size: 15px; font-weight: 600; color: #2f2937; line-height: 1.4; } .wp-also-read-item a:hover { color: #7b2600; } .wp-also-read-num { font-size: 22px; font-weight: 800; color: #e5e7eb; line-height: 1; min-width: 28px; } /* SIDEBAR */ .wp-sidebar { } .wp-sidebar-block { background: #fff; border-radius: 6px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); margin-bottom: 24px; position: sticky; top: 80px; } .wp-sidebar-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #6b7280; border-bottom: 2px solid #7b2600; padding-bottom: 10px; margin-bottom: 16px; } .wp-sidebar-item { padding: 10px 0; border-bottom: 1px solid #f3f4f6; cursor: pointer; } .wp-sidebar-item:last-child { border-bottom: none; } .wp-sidebar-item a { display: block; font-size: 14px; font-weight: 600; color: #2f2937; line-height: 1.4; margin-bottom: 3px; } .wp-sidebar-item a:hover { color: #7b2600; text-decoration: none; } .wp-sidebar-item p { font-size: 12px; color: #6b7280; line-height: 1.4; } /* SUBSCRIBE FORM */ .wp-subscribe { background: #7b2600; border-radius: 6px; padding: 24px; margin-top: 24px; color: #fff; } .wp-subscribe h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; } .wp-subscribe p { font-size: 13px; color: #fca5a5; margin-bottom: 16px; } .wp-subscribe input[type='email'] { width: 100%; padding: 11px 14px; border-radius: 4px; border: none; font-size: 14px; font-family: 'Work Sans', sans-serif; margin-bottom: 10px; outline: none; } .wp-subscribe button { width: 100%; background: #fff; color: #7b2600; font-weight: 700; font-size: 14px; padding: 11px; border: none; border-radius: 4px; cursor: pointer; font-family: 'Work Sans', sans-serif; transition: background 0.2s; } .wp-subscribe button:hover { background: #f3f4f6; } /* COOKIE BANNER */ .wp-cookie { position: fixed; bottom: 0; left: 0; right: 0; background: #1c1c1e; color: #d1d5db; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; z-index: 9999; box-shadow: 0 -4px 16px rgba(0,0,0,0.25); flex-wrap: wrap; } .wp-cookie p { font-size: 13px; line-height: 1.6; flex: 1; min-width: 200px; } .wp-cookie p a { color: #fca5a5; } .wp-cookie-btn { background: #7b2600; color: #fff; font-weight: 700; font-size: 13px; padding: 10px 24px; border: none; border-radius: 4px; cursor: pointer; font-family: 'Work Sans', sans-serif; white-space: nowrap; } .wp-cookie-btn:hover { background: #6b0000; } /* FOOTER */ .wp-footer { background: #1c1c1e; color: #d1d5db; padding: 48px 20px 24px; margin-top: 48px; } .wp-footer-inner { max-width: 1200px; margin: 0 auto; } .wp-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; } @media (max-width: 768px) { .wp-footer-top { grid-template-columns: 1fr; gap: 28px; } } .wp-footer-logo { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 12px; } .wp-footer-desc { font-size: 13px; line-height: 1.7; color: #9ca3af; margin-bottom: 16px; } .wp-footer-contact { font-size: 13px; color: #9ca3af; } .wp-footer-contact a { color: #fca5a5; } .wp-footer-col h5 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #fff; margin-bottom: 14px; } .wp-footer-col ul { list-style: none; } .wp-footer-col ul li { margin-bottom: 8px; } .wp-footer-col ul li a { font-size: 13px; color: #9ca3af; } .wp-footer-col ul li a:hover { color: #fca5a5; text-decoration: none; } .wp-footer-bottom { border-top: 1px solid #374151; padding-top: 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; } .wp-footer-copy { font-size: 12px; color: #6b7280; } .wp-disclaimer { font-size: 11px; color: #6b7280; max-width: 600px; line-height: 1.6; } /* POLICY PAGES */ .wp-policy { background: #fff; border-radius: 6px; padding: 40px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); max-width: 860px; } .wp-policy h1 { font-size: 28px; font-weight: 800; color: #2f2937; margin-bottom: 8px; } .wp-policy .wp-policy-date { font-size: 13px; color: #6b7280; margin-bottom: 28px; } .wp-policy h2 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; color: #2f2937; } .wp-policy p { color: #374151; line-height: 1.75; margin-bottom: 14px; font-size: 15px; } .wp-policy ul { padding-left: 22px; margin-bottom: 14px; } .wp-policy ul li { color: #374151; line-height: 1.7; margin-bottom: 6px; font-size: 15px; } /* SUCCESS PAGE */ .wp-success-wrap { max-width: 620px; margin: 60px auto; background: #fff; border-radius: 8px; padding: 56px 48px; text-align: center; box-shadow: 0 4px 24px rgba(0,0,0,0.07); } .wp-success-icon { width: 72px; height: 72px; background: #fef2f2; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; } .wp-success-icon svg { width: 36px; height: 36px; stroke: #7b2600; } .wp-success-wrap h1 { font-size: 26px; font-weight: 800; color: #2f2937; margin-bottom: 12px; } .wp-success-wrap p { color: #6b7280; line-height: 1.7; margin-bottom: 8px; font-size: 15px; } .wp-btn-home { display: inline-block; margin-top: 28px; background: #7b2600; color: #fff; font-weight: 700; padding: 13px 32px; border-radius: 5px; font-size: 15px; transition: background 0.2s; } .wp-btn-home:hover { background: #6b0000; text-decoration: none; } /* RESPONSIVE NAV */ @media (max-width: 600px) { .wp-nav { display: none; } .wp-hero-overlay { padding: 20px; } .wp-article { padding: 22px; } .wp-footer-bottom { flex-direction: column; } }