/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; font-size: 16px; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text-dark); background: var(--bg-light); line-height: 1.7; min-height: 100vh; } :root { --bg-light: #f5f5f5; --text-dark: #1a2b3c; --text-mid: #4a5a6a; --accent-lime: #b8e656; --accent-lime-dark: #a4d65e; --white: #ffffff; --border: #e0e0e0; --shadow: 0 2px 12px rgba(26, 43, 60, 0.08); --shadow-lg: 0 8px 32px rgba(26, 43, 60, 0.12); --radius: 12px; --radius-sm: 8px; } a { color: inherit; text-decoration: none; transition: color 0.3s, transform 0.2s; } a:hover { color: var(--accent-lime-dark); } img { max-width: 100%; height: auto; display: block; } .header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow); } .header-inner { max-width: 1400px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; } .logo { font-size: 2rem; font-weight: 800; color: var(--text-dark); letter-spacing: -0.03em; position: relative; } .logo::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 40%; height: 3px; background: var(--accent-lime); } .nav { display: flex; gap: 32px; align-items: center; } .nav a { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-mid); position: relative; } .nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent-lime); transition: width 0.3s; } .nav a:hover::after { width: 100%; } .burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; } .burger span { width: 26px; height: 2.5px; background: var(--text-dark); transition: all 0.3s; border-radius: 2px; } .container { max-width: 1400px; margin: 0 auto; padding: 0 24px; } .split-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; padding: 60px 0 40px; max-width: 1400px; margin: 0 auto; padding-left: 24px; padding-right: 24px; } .hero-content { padding-top: 20px; } .hero-tag { display: inline-block; background: var(--accent-lime); color: var(--text-dark); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 6px 16px; border-radius: 50px; margin-bottom: 20px; } .hero-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; color: var(--text-dark); line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em; } .hero-lead { font-size: 1.15rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 28px; max-width: 600px; } .hero-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-mid); padding-top: 16px; border-top: 1px solid var(--border); } .hero-meta strong { color: var(--text-dark); } .hero-image { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); height: 600px; } .hero-image img { width: 100%; height: 100%; object-fit: cover; } .main-layout { display: grid; grid-template-columns: 1fr 380px; gap: 60px; max-width: 1400px; margin: 40px auto; padding: 0 24px; align-items: start; } .article-content h2 { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); margin: 48px 0 20px; padding-left: 20px; border-left: 5px solid var(--accent-lime); line-height: 1.3; } .article-content p { margin-bottom: 18px; color: var(--text-dark); font-size: 1.05rem; line-height: 1.8; } .article-content h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin: 32px 0 16px; } .tip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 36px 0; } .tip-card { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s; border-top: 4px solid var(--accent-lime); } .tip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } .tip-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; } .tip-card p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.6; } .highlight-box { background: linear-gradient(135deg, var(--accent-lime) 0%, var(--accent-lime-dark) 100%); border-radius: var(--radius); padding: 36px 32px; margin: 40px 0; color: var(--text-dark); position: relative; overflow: hidden; } .highlight-box::before { content: '★'; position: absolute; right: 20px; top: 20px; font-size: 8rem; opacity: 0.1; } .highlight-box h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; } .highlight-box p { font-size: 1.05rem; line-height: 1.7; opacity: 0.95; } .article-image { margin: 40px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); } .article-image img { width: 100%; height: auto; max-height: 480px; object-fit: cover; } .article-image figcaption { padding: 12px 20px; background: var(--white); font-size: 0.8rem; color: var(--text-mid); font-style: italic; text-align: right; } .list-styled { list-style: none; margin: 28px 0; } .list-styled li { padding: 14px 0 14px 36px; border-bottom: 1px solid var(--border); position: relative; font-size: 1rem; color: var(--text-dark); } .list-styled li:last-child { border-bottom: none; } .list-styled li::before { content: '→'; position: absolute; left: 0; color: var(--accent-lime); font-weight: 700; font-size: 1.2rem; } .quote-block { background: var(--white); border-left: 5px solid var(--accent-lime); padding: 28px 32px; margin: 36px 0; border-radius: var(--radius-sm); box-shadow: var(--shadow); } .quote-block blockquote { font-size: 1.15rem; font-style: italic; color: var(--text-dark); line-height: 1.7; margin-bottom: 12px; } .quote-block cite { font-size: 0.85rem; color: var(--text-mid); font-style: normal; } .tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); } .tag { background: var(--white); color: var(--text-mid); padding: 8px 18px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; transition: all 0.3s; border: 1px solid var(--border); } .tag:hover { background: var(--accent-lime); color: var(--text-dark); border-color: var(--accent-lime); transform: translateY(-2px); } .sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 28px; } .sidebar-block { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); } .sidebar-block h3 { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--accent-lime); } .sidebar-item { padding: 16px 0; border-bottom: 1px solid var(--border); } .sidebar-item:last-child { border-bottom: none; padding-bottom: 0; } .sidebar-item a { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); display: block; line-height: 1.5; transition: color 0.2s; } .sidebar-item a:hover { color: var(--accent-lime-dark); } .sidebar-item p { font-size: 0.82rem; color: var(--text-mid); margin-top: 6px; line-height: 1.4; } .sidebar-item span { display: block; font-size: 0.7rem; color: var(--accent-lime-dark); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; font-weight: 700; } .quick-facts { display: flex; flex-direction: column; gap: 14px; } .quick-fact { display: flex; gap: 14px; align-items: start; } .quick-fact-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--accent-lime); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; } .quick-fact p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.5; } .newsletter { background: linear-gradient(135deg, var(--text-dark) 0%, #2a3a4c 100%); border-radius: var(--radius); padding: 32px 24px; color: var(--white); text-align: center; } .newsletter h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; } .newsletter p { font-size: 0.88rem; opacity: 0.85; margin-bottom: 20px; line-height: 1.6; } .newsletter-input { width: 100%; padding: 12px 18px; border-radius: 50px; border: none; font-size: 0.9rem; margin-bottom: 12px; outline: none; } .newsletter-btn { width: 100%; padding: 12px; background: var(--accent-lime); color: var(--text-dark); font-weight: 700; font-size: 0.9rem; border: none; border-radius: 50px; cursor: pointer; transition: all 0.3s; } .newsletter-btn:hover { background: var(--accent-lime-dark); transform: translateY(-2px); } .footer { background: var(--text-dark); color: rgba(255, 255, 255, 0.7); padding: 60px 0 28px; margin-top: 80px; } .footer-inner { max-width: 1400px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; } .footer-brand h4 { color: var(--white); font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; } .footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; } .footer-col h5 { color: var(--white); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; } .footer-col a { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; margin-bottom: 10px; transition: color 0.2s; } .footer-col a:hover { color: var(--white); } .footer-bottom { max-width: 1400px; margin: 0 auto; padding: 24px 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; } .footer-copy { font-size: 0.82rem; } .footer-links { display: flex; gap: 20px; } .footer-links a { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); transition: color 0.2s; } .footer-links a:hover { color: var(--white); } .footer-disclaimer { max-width: 1400px; margin: 28px auto 0; padding: 0 24px; font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); line-height: 1.6; } .cookie-banner { position: fixed; bottom: 20px; right: 20px; background: var(--white); border-radius: var(--radius); padding: 24px; max-width: 380px; box-shadow: var(--shadow-lg); z-index: 1000; border: 1px solid var(--border); display: none; } .cookie-banner:target { display: block; } .cookie-banner h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; } .cookie-banner p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.5; margin-bottom: 16px; } .cookie-banner p a { color: var(--accent-lime-dark); text-decoration: underline; } .cookie-btns { display: flex; gap: 10px; } .cookie-btns button, .cookie-btns a { flex: 1; padding: 10px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; text-align: center; } .cookie-accept { background: var(--accent-lime); color: var(--text-dark); border: none; } .cookie-accept:hover { background: var(--accent-lime-dark); } .cookie-decline { background: transparent; color: var(--text-mid); border: 1px solid var(--border); } .cookie-decline:hover { background: var(--bg-light); } .success-page { text-align: center; padding: 100px 24px; max-width: 700px; margin: 0 auto; } .success-page h1 { font-size: 2.5rem; font-weight: 900; color: var(--text-dark); margin-bottom: 20px; } .success-page p { font-size: 1.1rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 32px; } .btn-primary { display: inline-block; background: var(--accent-lime); color: var(--text-dark); padding: 14px 32px; border-radius: 50px; font-weight: 700; font-size: 0.95rem; transition: all 0.3s; border: none; cursor: pointer; } .btn-primary:hover { background: var(--accent-lime-dark); transform: translateY(-2px); } .legal-page { max-width: 900px; margin: 0 auto; padding: 60px 24px; } .legal-page h1 { font-size: 2.2rem; font-weight: 900; color: var(--text-dark); margin-bottom: 16px; } .legal-page .updated { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 36px; } .legal-page h2 { font-size: 1.4rem; font-weight: 700; color: var(--text-dark); margin: 36px 0 16px; padding-left: 16px; border-left: 4px solid var(--accent-lime); } .legal-page p { font-size: 1rem; color: var(--text-dark); line-height: 1.8; margin-bottom: 16px; } .legal-page ul { margin: 20px 0 20px 32px; } .legal-page li { font-size: 0.98rem; color: var(--text-dark); line-height: 1.7; margin-bottom: 10px; } .error-page { text-align: center; padding: 120px 24px; max-width: 800px; margin: 0 auto; } .error-page h1 { font-size: 6rem; font-weight: 900; color: var(--accent-lime); margin-bottom: 20px; line-height: 1; } .error-page h2 { font-size: 2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; } .error-page p { font-size: 1.1rem; color: var(--text-mid); margin-bottom: 36px; } .error-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; } .error-links a { background: var(--white); padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 600; box-shadow: var(--shadow); transition: all 0.3s; } .error-links a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); } @media (max-width: 1100px) { .split-hero { grid-template-columns: 1fr; gap: 40px; } .hero-image { height: 400px; } .main-layout { grid-template-columns: 1fr; gap: 40px; } .sidebar { position: static; } .footer-inner { grid-template-columns: 1fr 1fr; } .tip-grid { grid-template-columns: 1fr; } } @media (max-width: 768px) { .nav { display: none; } .burger { display: flex; } .hero-title { font-size: 2rem; } .split-hero { padding: 40px 16px; } .main-layout { padding: 0 16px; } .footer-inner { grid-template-columns: 1fr; gap: 32px; } .footer-bottom { flex-direction: column; align-items: flex-start; } .article-content h2 { font-size: 1.5rem; } .cookie-banner { bottom: 10px; right: 10px; left: 10px; max-width: none; } }