/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
:root { --color-primary: #E65100; --color-primary-light: #FFF3E0; --color-accent: #1565C0; --color-dark: #BF360C; --color-text: #212121; --color-bg-alt: #FFF8F2; --font: 'Nunito', system-ui, sans-serif; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: var(--font); color: var(--color-text); background: #fff; display: flex; flex-direction: column; min-height: 100vh; line-height: 1.7; } main { flex: 1; display: flex; flex-direction: column; } a { color: inherit; text-decoration: none; } img { max-width: 100%; height: auto; display: block; } .container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1.2rem; } .btn { display: inline-block; padding: 0.75rem 1.6rem; border-radius: 8px; font-weight: 800; cursor: pointer; transition: background 0.2s, transform 0.15s; border: none; font-family: var(--font); font-size: 1rem; } .btn-primary { background: var(--color-primary); color: #fff; } .btn-primary:hover { background: var(--color-dark); transform: translateY(-2px); } .btn-accent { background: var(--color-accent); color: #fff; } .btn-accent:hover { background: #0d47a1; transform: translateY(-2px); } .btn-outline { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); } .btn-outline:hover { background: var(--color-primary); color: #fff; } .btn-nav { background: var(--color-primary); color: #fff; padding: 0.5rem 1.2rem; border-radius: 8px; font-weight: 800; transition: background 0.2s; } .btn-nav:hover { background: var(--color-dark); } .site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 10px rgba(230,81,0,0.12); } .header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; } .logo { font-size: 1.6rem; font-weight: 900; color: var(--color-primary); letter-spacing: -0.5px; } .logo:hover { color: var(--color-dark); } .main-nav { display: flex; align-items: center; gap: 2rem; } .main-nav a { color: var(--color-text); font-weight: 700; font-size: 0.95rem; transition: color 0.2s; } .main-nav a:hover { color: var(--color-primary); } .burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; } .burger span { display: block; width: 24px; height: 2px; background: var(--color-primary); border-radius: 2px; transition: 0.3s; } @media (max-width: 700px) { .burger { display: flex; } .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 1rem 1.2rem; gap: 1rem; box-shadow: 0 4px 12px rgba(0,0,0,0.1); } .main-nav.open { display: flex; } } .hero { background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-dark) 100%); color: #fff; text-align: center; padding: 4rem 1.2rem 3.5rem; } .hero-tagline { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 900; line-height: 1.15; margin-bottom: 1rem; color: #fff; } .hero-subtitle { font-size: 1.15rem; max-width: 580px; margin: 0 auto 2rem; opacity: 0.92; color: #fff; } .hero-cta { margin-top: 0.5rem; } .hero-announcement { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; } .announce-item { background: rgba(255,255,255,0.15); border-radius: 20px; padding: 0.35rem 1rem; font-size: 0.88rem; color: #fff; border: 1px solid rgba(255,255,255,0.25); } #articles { padding: 4.5rem 1.2rem; background: #fff; } #articles .section-title { font-size: 2rem; font-weight: 900; color: var(--color-dark); margin-bottom: 2.5rem; text-align: center; } .grid-equal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } @media (max-width: 900px) { .grid-equal { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .grid-equal { grid-template-columns: 1fr; } } .article-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 18px rgba(230,81,0,0.09); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; border-top: 4px solid var(--color-primary); } .article-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(230,81,0,0.16); } .card-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; } .card-tag { display: inline-block; background: var(--color-primary-light); color: var(--color-primary); border-radius: 4px; padding: 0.25rem 0.7rem; font-size: 0.8rem; font-weight: 800; margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; } .card-title { font-size: 1.2rem; font-weight: 800; line-height: 1.3; margin-bottom: 0.8rem; color: var(--color-dark); } .card-teaser { font-size: 0.97rem; line-height: 1.65; color: #555; margin-bottom: 1.2rem; flex: 1; } .card-link { align-self: flex-start; font-weight: 800; color: var(--color-primary); border-bottom: 2px solid var(--color-accent); padding-bottom: 2px; transition: color 0.2s; font-size: 0.92rem; } .card-link:hover { color: var(--color-accent); } #about { background: var(--color-bg-alt); padding: 3.5rem 1.2rem; } .mission-quote { border-left: 6px solid var(--color-primary); padding: 1.5rem 2rem; background: #fff; border-radius: 0 10px 10px 0; margin-bottom: 2rem; box-shadow: 0 2px 12px rgba(230,81,0,0.07); } .mission-quote p { font-size: 1.4rem; font-weight: 700; color: var(--color-dark); line-height: 1.4; font-style: italic; } .about-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .about-perk { background: #fff; border-radius: 8px; padding: 1rem 1.2rem; display: flex; gap: 0.8rem; align-items: flex-start; box-shadow: 0 2px 8px rgba(0,0,0,0.05); } .about-perk-icon { color: var(--color-primary); font-size: 1.3rem; flex-shrink: 0; } .about-perk-text { font-size: 0.95rem; color: #444; line-height: 1.5; } @media (max-width: 600px) { .about-perks { grid-template-columns: 1fr; } } .site-disclaimer { background: var(--color-primary-light); border-top: 2px solid #ffcc80; padding: 1rem 1.2rem; } .site-disclaimer p { font-size: 0.84rem; color: #666; text-align: center; } .pre-footer-newsletter { background: var(--color-dark); color: #fff; padding: 3.5rem 1.2rem; } .pre-footer-newsletter h2 { font-size: 1.6rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; text-align: center; } .pre-footer-newsletter p { text-align: center; color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-size: 0.98rem; } .newsletter-form { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; max-width: 560px; margin: 0 auto; } .newsletter-form input { padding: 0.75rem 1rem; border-radius: 8px; border: none; font-size: 0.97rem; font-family: var(--font); } .newsletter-form button { background: var(--color-primary); color: #fff; padding: 0.75rem 1.6rem; border: none; border-radius: 8px; font-weight: 800; font-size: 1rem; cursor: pointer; font-family: var(--font); transition: background 0.2s; } .newsletter-form button:hover { background: #BF360C; } .site-footer { background: #1a1a1a; } .footer-disclaimer-bar { background: rgba(0,0,0,0.25); padding: 0.7rem 1.2rem; } .footer-disclaimer-bar p { font-size: 0.82rem; color: rgba(255,255,255,0.6); text-align: center; } .footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.2rem; } .footer-logo a { color: #fff; font-size: 1.3rem; font-weight: 900; } .footer-nav { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; } .footer-nav a { color: rgba(255,255,255,0.75); font-size: 0.88rem; transition: color 0.2s; } .footer-nav a:hover { color: #fff; } .footer-copy { color: rgba(255,255,255,0.55); font-size: 0.82rem; } @media (max-width: 600px) { .footer-inner { flex-direction: column; align-items: flex-start; } } .article-hero-banner { background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-dark) 100%); color: #fff; padding: 3rem 1.2rem 2.5rem; } .article-hero-banner h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; line-height: 1.2; margin-bottom: 0.8rem; color: #fff; } .article-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.88rem; color: rgba(255,255,255,0.8); margin-top: 0.5rem; } .article-body-wrapper { max-width: 1060px; margin: 0 auto; padding: 2.5rem 1.2rem 3rem; display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; } @media (max-width: 800px) { .article-body-wrapper { grid-template-columns: 1fr; } .article-body-wrapper aside { order: -1; } } .article-aside { position: sticky; top: 80px; } .aside-box { background: var(--color-primary-light); border-radius: 10px; padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; } .aside-box h4 { font-size: 0.92rem; font-weight: 900; color: var(--color-dark); margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; } .aside-toc a { display: block; font-size: 0.9rem; color: var(--color-primary); padding: 0.3rem 0; border-bottom: 1px solid rgba(230,81,0,0.1); font-weight: 700; transition: color 0.2s; } .aside-toc a:hover { color: var(--color-dark); } .aside-newsletter-form { display: flex; flex-direction: column; gap: 0.6rem; } .aside-newsletter-form input { padding: 0.6rem 0.8rem; border-radius: 6px; border: 1px solid #e0e0e0; font-size: 0.9rem; font-family: var(--font); } .aside-newsletter-form button { background: var(--color-primary); color: #fff; padding: 0.65rem; border: none; border-radius: 6px; font-weight: 800; font-size: 0.9rem; cursor: pointer; font-family: var(--font); } article h2 { font-size: 1.4rem; font-weight: 900; color: var(--color-dark); margin: 2rem 0 0.8rem; } article p { margin-bottom: 1.1rem; line-height: 1.8; font-size: 1.02rem; } article ul, article ol { margin: 0.8rem 0 1.2rem 1.5rem; } article li { margin-bottom: 0.5rem; line-height: 1.65; font-size: 1rem; } .tip-block { background: var(--color-primary-light); border-radius: 10px; padding: 1.3rem 1.6rem; margin: 1.8rem 0; position: relative; } .tip-block::before { content: ''; display: block; width: 40px; height: 4px; background: var(--color-primary); border-radius: 2px; margin-bottom: 0.7rem; } .tip-block strong { color: var(--color-dark); display: block; margin-bottom: 0.4rem; font-size: 1rem; } .tip-block p { margin: 0; font-size: 0.98rem; color: #333; } .article-top-image { margin: 1.5rem 0 2rem; border-radius: 10px; overflow: hidden; } .article-top-image img { width: 100%; height: auto; display: block; } .article-inline-img { margin: 1.8rem 0; border-radius: 10px; overflow: hidden; } .article-inline-img img { width: 100%; height: auto; display: block; } .related-articles { margin: 2.5rem 0 1.5rem; } .related-articles h3 { font-size: 1.15rem; font-weight: 900; color: var(--color-dark); margin-bottom: 1.2rem; } .related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .related-card { background: var(--color-bg-alt); border-radius: 8px; padding: 1.2rem; border-top: 3px solid var(--color-primary); transition: box-shadow 0.2s; } .related-card:hover { box-shadow: 0 4px 14px rgba(230,81,0,0.12); } .related-card h4 { font-size: 0.97rem; font-weight: 800; color: var(--color-dark); margin-bottom: 0.4rem; } .related-card a { color: var(--color-primary); font-size: 0.88rem; font-weight: 800; } @media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } } .article-disclaimer { background: #f5f5f5; border-radius: 8px; padding: 1.2rem 1.5rem; margin-top: 2rem; border-left: 4px solid #bbb; } .article-disclaimer p { font-size: 0.85rem; color: #666; margin: 0; } .policy-hero { background: var(--color-primary); color: #fff; padding: 2.5rem 1.2rem; } .policy-hero h1 { font-size: 1.8rem; font-weight: 900; color: #fff; } .policy-hero p { color: rgba(255,255,255,0.85); font-size: 0.92rem; margin-top: 0.4rem; } .policy-body { max-width: 860px; margin: 0 auto; padding: 2.5rem 1.2rem 3rem; line-height: 1.8; } .policy-body h2 { font-size: 1.25rem; font-weight: 900; color: var(--color-dark); margin: 2rem 0 0.7rem; } .policy-body p { margin-bottom: 1rem; font-size: 0.98rem; } .policy-body ul { margin: 0.5rem 0 1rem 1.5rem; } .policy-body li { margin-bottom: 0.4rem; } .policy-body a { color: var(--color-primary); text-decoration: underline; } .success-page { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4rem 1.2rem; text-align: center; } .success-icon { font-size: 4rem; margin-bottom: 1rem; } .success-page h1 { font-size: 2.2rem; font-weight: 900; color: var(--color-dark); margin-bottom: 0.8rem; } .success-page p { font-size: 1.1rem; color: #666; max-width: 480px; margin: 0 auto 2rem; } .page-404 { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4rem 1.2rem; text-align: center; } .num-404 { font-size: 8rem; font-weight: 900; color: var(--color-primary-light); line-height: 1; } .page-404 svg { margin: 0.5rem auto 1.5rem; } .page-404 h1 { font-size: 1.8rem; font-weight: 900; color: var(--color-dark); margin-bottom: 0.8rem; } .page-404 p { color: #666; max-width: 420px; margin: 0 auto 2rem; } .page-404-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; } .cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #1a1a1a; color: #fff; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; z-index: 9999; box-shadow: 0 -4px 16px rgba(0,0,0,0.2); } .cookie-banner p { font-size: 0.9rem; color: rgba(255,255,255,0.9); flex: 1; min-width: 220px; } .cookie-banner a { color: #ffcc80; text-decoration: underline; } .cookie-banner-btns { display: flex; gap: 0.7rem; } .cookie-btn-accept { background: var(--color-primary); color: #fff; border: none; padding: 0.5rem 1.2rem; border-radius: 6px; font-weight: 800; cursor: pointer; font-family: var(--font); } .cookie-btn-decline { background: transparent; color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.3); padding: 0.5rem 1rem; border-radius: 6px; cursor: pointer; font-family: var(--font); font-size: 0.88rem; } .has-bg-image { position: relative; background-size: cover; background-position: center; } .bg-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 1; } .has-bg-image .container { position: relative; z-index: 2; } @media (max-width: 480px) { .hero { padding: 2.5rem 1rem 2rem; } .hero-tagline { font-size: 1.75rem; } }