/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
* { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; font-size: 16px; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #2C2C2C; background: #FFFFFF; line-height: 1.65; overflow-x: hidden; } img { max-width: 100%; height: auto; display: block; } a { color: inherit; text-decoration: none; transition: all 0.3s ease; } :root { --yellow: #FFD93D; --orange: #FF8C42; --graphite: #2C2C2C; --white: #FFFFFF; --light-gray: #F8F8F8; --border: #E8E8E8; } .container { max-width: 1240px; margin: 0 auto; padding: 0 20px; } .header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.04); } .header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 40px; } .logo { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--graphite); position: relative; } .logo::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 32px; height: 4px; background: var(--yellow); border-radius: 2px; } .nav { display: flex; gap: 32px; align-items: center; } .nav a { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--graphite); position: relative; padding: 8px 0; } .nav a::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--yellow); transition: width 0.3s ease; } .nav a:hover::before, .nav a.active::before { width: 100%; } .burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; } .burger span { width: 26px; height: 3px; background: var(--graphite); border-radius: 2px; transition: all 0.3s; } .hero { background: linear-gradient(135deg, #FFF9E6 0%, #FFEDCC 100%); padding: 0 0 60px; position: relative; overflow: hidden; } .hero::before { content: ''; position: absolute; top: 0; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,217,61,0.15) 0%, transparent 70%); border-radius: 50%; } .hero-content { position: relative; z-index: 2; } .hero-tag { display: inline-block; background: var(--orange); color: var(--white); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding: 8px 18px; border-radius: 30px; margin: 40px 0 24px; } .hero-title { font-size: clamp(2.5rem, 5vw, 4.2rem); font-weight: 900; line-height: 1.1; color: var(--graphite); margin-bottom: 28px; letter-spacing: -0.02em; } .hero-subtitle { font-size: 1.3rem; color: #555; margin-bottom: 36px; line-height: 1.5; max-width: 720px; } .hero-img-wrap { width: 100%; height: auto; border-radius: 16px; overflow: hidden; margin-bottom: 50px; box-shadow: 0 8px 32px rgba(0,0,0,0.08); } .hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; } .main-grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; padding: 60px 0; } .article-content h2 { font-size: 1.85rem; font-weight: 800; color: var(--graphite); margin: 52px 0 20px; padding-left: 20px; border-left: 5px solid var(--yellow); line-height: 1.25; } .article-content h3 { font-size: 1.4rem; font-weight: 700; color: var(--graphite); margin: 40px 0 16px; } .article-content p { font-size: 1.08rem; line-height: 1.8; color: #3A3A3A; margin-bottom: 22px; } .exercise-card { background: linear-gradient(135deg, var(--yellow) 0%, #FFE066 100%); padding: 32px 36px; border-radius: 20px; margin: 48px 0; box-shadow: 0 12px 40px rgba(255,217,61,0.25); position: relative; overflow: hidden; } .exercise-card::before { content: '★'; position: absolute; top: 16px; right: 24px; font-size: 5rem; color: rgba(255,255,255,0.2); } .exercise-card h3 { margin: 0 0 18px; color: var(--graphite); position: relative; z-index: 2; } .exercise-card ul { list-style: none; position: relative; z-index: 2; } .exercise-card li { padding: 10px 0 10px 32px; font-size: 1rem; color: var(--graphite); position: relative; border-bottom: 1px solid rgba(0,0,0,0.08); } .exercise-card li:last-child { border-bottom: none; } .exercise-card li::before { content: '→'; position: absolute; left: 0; color: var(--orange); font-weight: 900; font-size: 1.3rem; } .tip-box { background: var(--light-gray); border-left: 5px solid var(--orange); padding: 28px 32px; margin: 40px 0; border-radius: 12px; } .tip-box strong { color: var(--orange); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 10px; } .tip-box p { margin: 0; font-size: 1rem; color: #444; } .article-img { margin: 48px 0; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.08); } .article-img img { width: 100%; height: auto; object-fit: cover; } .article-img figcaption { padding: 14px 20px; background: var(--light-gray); font-size: 0.85rem; color: #666; font-style: italic; } .quote { background: linear-gradient(135deg, #2C2C2C 0%, #3A3A3A 100%); color: var(--white); padding: 40px 44px; margin: 48px 0; border-radius: 16px; font-size: 1.3rem; font-style: italic; line-height: 1.6; position: relative; } .quote::before { content: '"'; position: absolute; top: 20px; left: 28px; font-size: 6rem; color: rgba(255,217,61,0.2); line-height: 1; } .quote cite { display: block; margin-top: 16px; font-size: 0.9rem; font-style: normal; color: var(--yellow); } .sidebar { position: sticky; top: 100px; } .sidebar-block { background: var(--white); border: 2px solid var(--border); border-radius: 16px; padding: 28px 24px; margin-bottom: 28px; } .sidebar-block h3 { font-size: 1.1rem; font-weight: 800; color: var(--graphite); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 3px solid var(--yellow); } .sidebar-item { padding: 16px 0; border-bottom: 1px solid var(--border); transition: all 0.3s; } .sidebar-item:last-child { border-bottom: none; } .sidebar-item:hover { transform: translateX(4px); } .sidebar-item span { display: block; font-size: 0.75rem; text-transform: uppercase; color: var(--orange); font-weight: 700; letter-spacing: 0.06em; margin-bottom: 6px; } .sidebar-item a { font-size: 0.95rem; font-weight: 600; color: var(--graphite); line-height: 1.4; display: block; } .newsletter { background: linear-gradient(135deg, var(--orange) 0%, #FF9E4E 100%); color: var(--white); padding: 32px 28px; border-radius: 16px; text-align: center; } .newsletter h3 { font-size: 1.2rem; margin-bottom: 12px; font-weight: 800; } .newsletter p { font-size: 0.9rem; opacity: 0.95; margin-bottom: 20px; } .newsletter input { width: 100%; padding: 14px 18px; border: none; border-radius: 8px; font-size: 0.95rem; margin-bottom: 12px; } .newsletter button { width: 100%; padding: 14px; background: var(--graphite); color: var(--white); border: none; border-radius: 8px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s; } .newsletter button:hover { background: #1A1A1A; transform: translateY(-2px); } .footer { background: var(--graphite); color: rgba(255,255,255,0.8); padding: 60px 0 30px; margin-top: 80px; } .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; } .footer h4 { color: var(--white); font-size: 1rem; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.06em; } .footer p { font-size: 0.9rem; line-height: 1.7; } .footer ul { list-style: none; } .footer li { margin-bottom: 10px; } .footer a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color 0.3s; } .footer a:hover { color: var(--yellow); } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; } .footer-copy { font-size: 0.85rem; color: rgba(255,255,255,0.6); } .footer-links { display: flex; gap: 24px; } .footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.5); } .disclaimer { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 20px; line-height: 1.6; max-width: 900px; } .cookie-banner { position: fixed; bottom: 20px; right: 20px; background: var(--white); border: 2px solid var(--yellow); border-radius: 12px; padding: 24px; max-width: 380px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); z-index: 10000; } .cookie-banner:target { display: none; } .cookie-banner h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--graphite); } .cookie-banner p { font-size: 0.85rem; margin-bottom: 16px; color: #555; } .cookie-buttons { display: flex; gap: 10px; } .cookie-buttons button, .cookie-buttons a { padding: 10px 16px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; cursor: pointer; border: none; transition: all 0.3s; } .cookie-accept { background: var(--yellow); color: var(--graphite); } .cookie-decline { background: var(--light-gray); color: var(--graphite); } .cookie-buttons a { display: inline-block; padding: 10px 16px; background: transparent; color: var(--orange); text-decoration: underline; } .success-page { text-align: center; padding: 100px 20px; } .success-page h1 { font-size: 3rem; color: var(--graphite); margin-bottom: 20px; } .success-page p { font-size: 1.2rem; color: #555; margin-bottom: 40px; } .btn { display: inline-block; padding: 16px 36px; background: var(--yellow); color: var(--graphite); font-weight: 700; border-radius: 8px; font-size: 1rem; transition: all 0.3s; } .btn:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); } .legal-page { max-width: 800px; margin: 60px auto; padding: 0 20px; } .legal-page h1 { font-size: 2.5rem; color: var(--graphite); margin-bottom: 40px; } .legal-page h2 { font-size: 1.5rem; color: var(--graphite); margin: 40px 0 16px; } .legal-page p, .legal-page li { font-size: 1rem; line-height: 1.8; color: #3A3A3A; margin-bottom: 16px; } .legal-page ul { margin-left: 24px; } .error-page { text-align: center; padding: 120px 20px; } .error-page h1 { font-size: 8rem; font-weight: 900; color: var(--yellow); margin-bottom: 20px; } .error-page h2 { font-size: 2rem; color: var(--graphite); margin-bottom: 30px; } .error-page p { font-size: 1.1rem; color: #555; margin-bottom: 40px; } .article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 30px; } .article-card { background: var(--light-gray); border-radius: 12px; padding: 24px; transition: all 0.3s; } .article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); } .article-card h3 { font-size: 1.1rem; color: var(--graphite); margin-bottom: 10px; } .article-card p { font-size: 0.9rem; color: #666; } @media (max-width: 900px) { .main-grid { grid-template-columns: 1fr; gap: 40px; } .sidebar { position: static; } .footer-grid { grid-template-columns: 1fr 1fr; } .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; border-top: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.1); } .nav.active { display: flex; } .burger { display: flex; } .hero-title { font-size: 2rem; } } @media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } .cookie-banner { left: 20px; max-width: calc(100% - 40px); } .error-page h1 { font-size: 5rem; } }