/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
:root { --bg: #f5f5f0; --header-bg: #0d1b2a; --accent1: #d62828; --accent2: #f77f00; --text: #1a1a1a; --card-bg: #ffffff; --card-shadow: 0 2px 8px rgba(0,0,0,0.08); --card-shadow-hover: 0 8px 24px rgba(0,0,0,0.15); } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; font-size: 16px; } body { background: var(--bg); color: var(--text); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.75; } a { color: inherit; text-decoration: none; } img { max-width: 100%; display: block; } button, .btn { cursor: pointer; border: none; } h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; } /* HEADER */ .top-bar { background: var(--header-bg); color: rgba(255,255,255,0.7); font-size: 11px; letter-spacing: 1px; padding: 6px 24px; display: flex; justify-content: space-between; align-items: center; } .top-bar time, .top-bar .locale-tag { font-family: 'Helvetica Neue', sans-serif; text-transform: uppercase; } .site-header { background: var(--header-bg); padding: 18px 24px 20px; text-align: center; position: relative; } .logo { font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; color: #ffffff; letter-spacing: -1px; display: inline-flex; align-items: center; gap: 0; position: relative; } .logo::before { content: ''; display: inline-block; width: 5px; height: 1em; background: var(--accent1); margin-right: 10px; flex-shrink: 0; } .nav-main { background: var(--header-bg); border-top: 1px solid rgba(255,255,255,0.08); padding: 0 24px; display: flex; justify-content: center; gap: 0; } .nav-main a { color: rgba(255,255,255,0.82); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; padding: 12px 20px; display: inline-block; transition: color 0.2s; border-bottom: 3px solid transparent; } .nav-main a:hover { color: #fff; border-bottom-color: var(--accent1); } .breaking-bar { background: var(--accent1); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; padding: 0; display: flex; align-items: center; overflow: hidden; height: 32px; border-bottom: 3px solid #0d1b2a; } .breaking-label { background: #0d1b2a; color: #fff; padding: 0 14px; height: 100%; display: flex; align-items: center; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; flex-shrink: 0; } .marquee-track { display: flex; width: 100%; overflow: hidden; } .marquee-inner { display: flex; white-space: nowrap; animation: marquee 28s linear infinite; padding-left: 100%; } .marquee-inner span { padding: 0 40px; } @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } } /* BURGER */ .burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); } .burger span { display: block; width: 24px; height: 2px; background: #fff; transition: 0.3s; } .nav-mobile { display: none; } /* SECTION DIVIDERS */ .section-heading { display: flex; align-items: center; gap: 16px; margin: 40px 0 24px; } .section-heading::before, .section-heading::after { content: ''; flex: 1; height: 1px; background: #cccccc; } .section-heading span { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent1); white-space: nowrap; } /* LAYOUT */ .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; } .content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; margin: 40px 0; } @media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } } /* HERO */ .hero { position: relative; width: 100%; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; } .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; } .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,27,42,0.92) 0%, rgba(13,27,42,0.45) 60%, transparent 100%); z-index: 1; } .hero-content { position: relative; z-index: 2; padding: 48px 40px; max-width: 760px; } .hero-category { display: inline-block; background: var(--accent1); color: #fff; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; margin-bottom: 16px; } .hero-title { font-family: Georgia, serif; font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 16px; } .hero-lead { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 580px; margin-bottom: 28px; } .btn { display: inline-block; background: var(--accent1); color: #fff; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; padding: 13px 28px; font-family: 'Helvetica Neue', sans-serif; font-weight: 700; transition: background 0.2s; } .btn:hover { background: var(--header-bg); } .btn-orange { background: var(--accent2); } .btn-orange:hover { background: #c96600; } /* ARTICLE CARDS */ .cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; } .card { background: var(--card-bg); box-shadow: var(--card-shadow); border-left: 4px solid var(--accent1); transition: transform 0.2s, box-shadow 0.2s; overflow: hidden; display: flex; flex-direction: column; } .card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); } .card-tag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent1); font-weight: 700; padding: 14px 16px 0; } .card-body { padding: 10px 16px 20px; flex: 1; } .card-title { font-family: Georgia, serif; font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin-bottom: 8px; } .card-title a:hover { color: var(--accent1); } .card-excerpt { font-size: 0.88rem; color: #555; margin-bottom: 14px; } .card-footer { border-top: 1px solid #eee; padding: 10px 16px; font-size: 0.8rem; color: #888; display: flex; justify-content: space-between; } /* ASIDE */ .aside-widget { background: var(--card-bg); box-shadow: var(--card-shadow); padding: 20px; margin-bottom: 28px; } .aside-widget h3 { font-family: Georgia, serif; font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent1); } .quote-widget blockquote { font-family: Georgia, serif; font-size: 1.05rem; font-style: italic; color: #333; line-height: 1.6; } .quote-widget cite { display: block; margin-top: 10px; font-size: 0.8rem; font-style: normal; color: #888; letter-spacing: 0.5px; } .most-read-list { list-style: none; } .most-read-list li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.9rem; counter-increment: mr; display: flex; gap: 12px; align-items: baseline; } .most-read-list li::before { content: counter(mr); font-family: Georgia, serif; font-size: 1.4rem; font-weight: 700; color: var(--accent1); flex-shrink: 0; } .most-read-list { counter-reset: mr; } .most-read-list a:hover { color: var(--accent1); } .tags-widget { display: flex; flex-wrap: wrap; gap: 8px; } .tag-pill { background: var(--accent2); color: #fff; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; font-weight: 600; transition: background 0.2s; } .tag-pill:hover { background: #0d1b2a; } /* ABOUT / FEATURES */ .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; } @media (max-width: 700px) { .features-grid { grid-template-columns: 1fr; } } .feature-card { background: var(--card-bg); box-shadow: var(--card-shadow); padding: 28px 22px; border-top: 4px solid var(--accent1); transition: transform 0.2s; } .feature-card:hover { transform: translateY(-3px); } .feature-card h3 { font-family: Georgia, serif; font-size: 1.1rem; margin-bottom: 10px; } .feature-card p { font-size: 0.88rem; color: #555; } .feature-icon { font-size: 2rem; margin-bottom: 14px; } /* NEWSLETTER */ .newsletter-section { background: var(--header-bg); color: #fff; padding: 60px 24px; text-align: center; margin: 48px 0 0; } .newsletter-section h2 { font-family: Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; } .newsletter-section p { color: rgba(255,255,255,0.75); max-width: 500px; margin: 0 auto 28px; } .subscribe-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; } .subscribe-form input[type="email"] { flex: 1; border: none; padding: 13px 18px; font-size: 0.95rem; background: #fff; color: #111; outline: none; } .subscribe-form button { background: var(--accent1); color: #fff; border: none; padding: 13px 22px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; cursor: pointer; transition: background 0.2s; } .subscribe-form button:hover { background: var(--accent2); } /* ARTICLE PAGE */ .article-header { padding: 36px 0 20px; border-bottom: 3px solid var(--accent1); margin-bottom: 32px; } .article-header .art-category { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent1); font-weight: 700; margin-bottom: 10px; } .article-header h1 { font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; } .article-header .art-meta { font-size: 0.82rem; color: #777; } .article-body { font-size: 1.02rem; line-height: 1.85; } .article-body p { margin-bottom: 1.4em; } .article-body h2 { font-family: Georgia, serif; font-size: 1.5rem; margin: 2em 0 0.8em; } .article-body h3 { font-family: Georgia, serif; font-size: 1.2rem; margin: 1.6em 0 0.6em; } .article-body ul, .article-body ol { margin: 1em 0 1.4em 1.4em; } .article-body li { margin-bottom: 0.5em; } .article-body blockquote { border-left: 4px solid var(--accent1); padding: 14px 20px; margin: 2em 0; background: #fafafa; font-family: Georgia, serif; font-style: italic; font-size: 1.1rem; color: #333; } .article-body .highlight-box { background: #fff8f0; border-left: 4px solid var(--accent2); padding: 18px 20px; margin: 2em 0; } .article-body .highlight-box p { margin: 0; font-size: 0.95rem; } .disclaimer-box { background: #f0f0f0; border: 1px solid #ddd; padding: 16px 20px; margin: 40px 0 20px; font-size: 0.82rem; color: #666; border-radius: 2px; } /* FOOTER */ .site-footer { background: var(--header-bg); color: rgba(255,255,255,0.65); padding: 40px 24px 24px; margin-top: 60px; } .footer-inner { max-width: 1200px; margin: 0 auto; } .footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; margin-bottom: 32px; } .footer-logo { font-family: Georgia, serif; font-size: 1.8rem; color: #fff; display: flex; align-items: center; gap: 0; } .footer-logo::before { content: ''; display: inline-block; width: 4px; height: 1em; background: var(--accent1); margin-right: 8px; } .footer-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; } .footer-links a { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.6); transition: color 0.2s; } .footer-links a:hover { color: #fff; } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.78rem; line-height: 1.6; } .footer-disclaimer { margin-top: 12px; font-size: 0.75rem; color: rgba(255,255,255,0.45); max-width: 820px; } /* COOKIES BANNER */ .cookies-banner-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 9999; max-width: 360px; } #cookie-toggle { display: none; } #cookie-toggle:checked ~ .cookies-banner { display: none; } .cookies-banner { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.2); padding: 20px; font-size: 0.85rem; line-height: 1.5; } .cookies-banner p { margin-bottom: 14px; color: #333; } .cookies-banner-btns { display: flex; gap: 8px; flex-wrap: wrap; } .cookies-banner-btns label { background: var(--accent1); color: #fff; padding: 8px 16px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; cursor: pointer; transition: background 0.2s; } .cookies-banner-btns label:hover { background: var(--header-bg); } .cookies-banner-btns .reject-label { background: #e0e0e0; color: #333; } .cookies-banner-btns .reject-label:hover { background: #bbb; } .cookies-banner a { color: var(--accent1); text-decoration: underline; } /* SUCCESS / POLICY PAGES */ .simple-page { max-width: 760px; margin: 60px auto; padding: 0 24px; } .simple-page h1 { font-family: Georgia, serif; font-size: 2.2rem; margin-bottom: 20px; } .simple-page h2 { font-family: Georgia, serif; font-size: 1.4rem; margin: 2em 0 0.7em; } .simple-page p { margin-bottom: 1.2em; color: #444; } .simple-page ul { margin: 1em 0 1.4em 1.4em; } .simple-page li { margin-bottom: 0.5em; color: #444; } /* 404 */ .page-404 { text-align: center; padding: 80px 24px; } .page-404 h1 { font-family: Georgia, serif; font-size: clamp(5rem, 15vw, 10rem); color: var(--accent1); line-height: 1; margin-bottom: 12px; } .page-404 p { font-size: 1.1rem; color: #555; margin-bottom: 32px; } /* STICKY ASIDE */ @media (min-width: 901px) { .aside-sticky { position: sticky; top: 24px; } } /* RESPONSIVE */ @media (max-width: 768px) { .burger { display: flex; } .nav-main { display: none; } .nav-main.open { display: flex; flex-direction: column; align-items: flex-start; } .nav-main.open a { padding: 10px 20px; width: 100%; } .hero-content { padding: 32px 20px; } .cards-grid { grid-template-columns: 1fr; } .subscribe-form { flex-direction: column; } .features-grid { grid-template-columns: 1fr; } .footer-top { flex-direction: column; } .cookies-banner-wrap { right: 12px; bottom: 12px; left: 12px; max-width: 100%; } } @media (max-width: 480px) { .container { padding: 0 16px; } .hero { min-height: 400px; } } /* TIPS SECTION */ .tips-section { padding: 60px 0; background: var(--bg); } .tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; } .tip-card { background: var(--card-bg); border-radius: 12px; padding: 32px; box-shadow: var(--card-shadow); transition: box-shadow 0.3s, transform 0.3s; } .tip-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); } .tip-number { font-family: Georgia, serif; font-size: 2.4rem; font-weight: 700; color: var(--accent1); opacity: 0.25; display: block; margin-bottom: 8px; } .tip-card h3 { font-size: 1.15rem; margin-bottom: 10px; } .tip-card p { font-size: 0.95rem; color: #444; line-height: 1.7; } /* STATS SECTION */ .stats-section { padding: 70px 0; background: var(--header-bg); color: #fff; text-align: center; } .stats-title { font-family: Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; } .stats-subtitle { max-width: 600px; margin: 0 auto 40px; font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.6; } .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; } .stat-card { padding: 24px 16px; } .stat-number { font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--accent2); margin-bottom: 12px; } .stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.6; } /* PHILOSOPHY SECTION */ .philosophy-section { padding: 70px 0; background: #eae9e4; } .philosophy-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; } .philosophy-text h2 { font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; } .philosophy-text p { font-size: 1rem; line-height: 1.8; margin-bottom: 16px; color: #333; } .philosophy-values { display: flex; flex-direction: column; gap: 24px; } .value-item { background: var(--card-bg); border-radius: 10px; padding: 24px; box-shadow: var(--card-shadow); border-left: 4px solid var(--accent1); } .value-item h4 { font-size: 1rem; margin-bottom: 8px; color: var(--accent1); } .value-item p { font-size: 0.9rem; color: #555; line-height: 1.6; } /* FAQ SECTION */ .faq-section { padding: 60px 0; background: var(--bg); } .faq-list { max-width: 760px; margin: 24px auto 0; } .faq-item { background: var(--card-bg); border-radius: 10px; margin-bottom: 12px; box-shadow: var(--card-shadow); overflow: hidden; } .faq-item summary { padding: 20px 24px; font-family: Georgia, serif; font-size: 1.05rem; cursor: pointer; list-style: none; position: relative; padding-right: 48px; } .faq-item summary::-webkit-details-marker { display: none; } .faq-item summary::after { content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent1); font-weight: 700; transition: transform 0.2s; } .faq-item[open] summary::after { content: '−'; } .faq-item p { padding: 0 24px 20px; font-size: 0.95rem; color: #444; line-height: 1.75; } @media (max-width: 768px) { .tips-grid { grid-template-columns: 1fr; } .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } .philosophy-inner { grid-template-columns: 1fr; } } @media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }