/*
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: 'Georgia', serif; color: #1a1a1a; background: #ffffff; line-height: 1.75; } :root { --bg-white: #ffffff; --bg-warm: #faf8f6; --bg-beige: #f4ebe1; --terracotta: #d4573b; --terracotta-light: #e86850; --graphite: #2b2b2b; --text-dark: #1a1a1a; --text-gray: #666666; --beige-dark: #e8dfd5; } a { color: inherit; text-decoration: none; transition: color 0.3s; } a:hover { color: var(--terracotta); } img { max-width: 100%; height: auto; display: block; } .header { background: var(--bg-white); border-bottom: 1px solid var(--beige-dark); position: sticky; top: 0; z-index: 100; } .header-inner { max-width: 1400px; margin: 0 auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; } .logo { font-size: 2.2rem; font-weight: 700; color: var(--terracotta); letter-spacing: -0.02em; } .nav { display: flex; gap: 32px; align-items: center; } .nav a { font-size: 0.9rem; font-weight: 400; letter-spacing: 0.03em; text-transform: uppercase; color: var(--graphite); position: relative; } .nav a::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--terracotta); 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: 24px; height: 2px; background: var(--graphite); transition: all 0.3s; } .container { max-width: 1400px; margin: 0 auto; padding: 0 32px; } .hero { background: var(--bg-warm); padding: 60px 0 40px; border-bottom: 1px solid var(--beige-dark); } .hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; } .hero-tag { display: inline-block; background: var(--terracotta); color: var(--bg-white); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; margin-bottom: 18px; } .hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; color: var(--text-dark); margin-bottom: 24px; font-weight: 400; } .hero-lead { font-size: 1.15rem; color: var(--text-gray); line-height: 1.7; margin-bottom: 20px; } .hero-meta { display: flex; gap: 20px; font-size: 0.85rem; color: var(--text-gray); flex-wrap: wrap; } .hero-meta span { display: flex; align-items: center; gap: 6px; } .hero-img { border-radius: 2px; overflow: hidden; } .hero-img img { width: 100%; height: 420px; object-fit: cover; } .main-layout { display: grid; grid-template-columns: 260px 1fr; gap: 60px; padding: 60px 0; } .sidebar { position: sticky; top: 100px; } .sidebar-section { margin-bottom: 40px; } .sidebar h3 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--beige-dark); } .sidebar-list { list-style: none; } .sidebar-list li { margin-bottom: 14px; } .sidebar-list a { font-size: 0.9rem; line-height: 1.5; color: var(--text-dark); display: block; transition: transform 0.2s; } .sidebar-list a:hover { transform: translateX(4px); color: var(--terracotta); } .sidebar-cat { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-gray); margin-top: 4px; } .newsletter-box { background: var(--terracotta); color: var(--bg-white); padding: 24px 20px; margin-top: 30px; } .newsletter-box h3 { font-size: 1rem; margin-bottom: 10px; font-weight: 400; } .newsletter-box p { font-size: 0.85rem; opacity: 0.9; margin-bottom: 16px; } .newsletter-box input { width: 100%; padding: 10px 12px; border: none; font-size: 0.85rem; margin-bottom: 10px; font-family: Georgia, serif; } .newsletter-box button { width: 100%; padding: 10px; background: var(--bg-white); color: var(--terracotta); font-weight: 700; font-size: 0.85rem; border: none; cursor: pointer; transition: opacity 0.3s; font-family: Georgia, serif; } .newsletter-box button:hover { opacity: 0.85; } .sidebar-quote { background: var(--bg-beige); padding: 20px; font-style: italic; font-size: 0.9rem; line-height: 1.6; color: var(--text-dark); margin-top: 30px; } .article-content { max-width: 100%; } .content-columns { column-count: 2; column-gap: 40px; } .content-columns h2 { column-span: all; font-size: 1.6rem; font-weight: 400; color: var(--text-dark); margin: 40px 0 20px; padding-left: 16px; border-left: 3px solid var(--terracotta); } .content-columns p { margin-bottom: 18px; font-size: 1.05rem; color: var(--text-dark); } .content-columns h3 { font-size: 1.2rem; font-weight: 400; color: var(--graphite); margin: 28px 0 12px; } .break-columns { column-span: all; margin: 40px 0; } .info-card { background: var(--bg-warm); padding: 28px 32px; border-left: 4px solid var(--terracotta); column-span: all; margin: 40px 0; } .info-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--terracotta); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; } .info-card p { font-size: 1rem; color: var(--text-dark); line-height: 1.7; } .info-card ul { margin: 14px 0 0 24px; } .info-card li { margin-bottom: 8px; font-size: 0.95rem; } .highlight-box { background: var(--terracotta); color: var(--bg-white); padding: 32px 36px; column-span: all; margin: 40px 0; position: relative; overflow: hidden; } .highlight-box::after { content: '✦'; position: absolute; right: 30px; top: 20px; font-size: 8rem; opacity: 0.08; } .highlight-box h3 { font-size: 1.4rem; font-weight: 400; margin-bottom: 14px; } .highlight-box p { font-size: 1.05rem; opacity: 0.95; line-height: 1.7; } .quote-block { column-span: all; text-align: center; padding: 36px 20px; margin: 40px 0; background: var(--bg-beige); } .quote-block blockquote { font-size: 1.2rem; font-style: italic; color: var(--graphite); line-height: 1.6; margin-bottom: 12px; } .quote-block cite { font-size: 0.85rem; color: var(--text-gray); font-style: normal; } .img-block { column-span: all; margin: 40px 0; } .img-block img { width: 100%; height: 360px; object-fit: cover; } .img-caption { font-size: 0.8rem; color: var(--text-gray); margin-top: 8px; text-align: right; font-style: italic; } .habit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; column-span: all; margin: 40px 0; } .habit-card { background: var(--bg-white); border: 1px solid var(--beige-dark); padding: 28px 24px; transition: transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; } .habit-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--terracotta); } .habit-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(212, 87, 59, 0.15); } .habit-card h4 { font-size: 1.15rem; font-weight: 400; color: var(--text-dark); margin-bottom: 12px; } .habit-card p { font-size: 0.95rem; color: var(--text-gray); line-height: 1.65; } .footer { background: var(--graphite); color: rgba(255,255,255,0.75); padding: 48px 32px 24px; margin-top: 60px; } .footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-bottom: 40px; } .footer h4 { color: var(--bg-white); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; } .footer p, .footer li { font-size: 0.9rem; line-height: 1.7; } .footer ul { list-style: none; } .footer a { color: rgba(255,255,255,0.6); transition: color 0.3s; } .footer a:hover { color: var(--bg-white); } .footer-bottom { max-width: 1400px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.5); } .footer-disclaimer { max-width: 800px; margin: 20px auto 0; font-size: 0.75rem; line-height: 1.6; opacity: 0.7; } .cookies-banner { position: fixed; bottom: 20px; right: 20px; background: var(--bg-white); border: 1px solid var(--beige-dark); box-shadow: 0 4px 24px rgba(0,0,0,0.15); padding: 24px; max-width: 380px; z-index: 200; display: none; } .cookies-banner.show { display: block; } .cookies-banner p { font-size: 0.85rem; margin-bottom: 14px; line-height: 1.5; } .cookies-banner-buttons { display: flex; gap: 10px; } .cookies-banner button { padding: 8px 16px; font-size: 0.8rem; font-family: Georgia, serif; cursor: pointer; border: none; transition: opacity 0.3s; } .cookies-accept { background: var(--terracotta); color: var(--bg-white); font-weight: 700; } .cookies-decline { background: var(--bg-warm); color: var(--graphite); } .cookies-banner button:hover { opacity: 0.85; } .cookies-banner a { color: var(--terracotta); text-decoration: underline; } .page-header { padding: 60px 0 40px; background: var(--bg-warm); border-bottom: 1px solid var(--beige-dark); } .page-header h1 { font-size: 2.4rem; font-weight: 400; color: var(--text-dark); margin-bottom: 12px; } .page-header p { font-size: 1.1rem; color: var(--text-gray); } .legal-content { max-width: 900px; margin: 60px auto; padding: 0 32px; } .legal-content h2 { font-size: 1.6rem; font-weight: 400; color: var(--text-dark); margin: 40px 0 16px; } .legal-content h3 { font-size: 1.2rem; font-weight: 400; color: var(--graphite); margin: 28px 0 12px; } .legal-content p { margin-bottom: 16px; line-height: 1.75; } .legal-content ul { margin: 16px 0 16px 32px; } .legal-content li { margin-bottom: 10px; } .error-page { max-width: 700px; margin: 100px auto; padding: 0 32px; text-align: center; } .error-page h1 { font-size: 8rem; font-weight: 700; color: var(--terracotta); line-height: 1; margin-bottom: 20px; } .error-page h2 { font-size: 1.8rem; font-weight: 400; margin-bottom: 16px; } .error-page p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 32px; } .error-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; } .error-links a { background: var(--bg-warm); padding: 12px 24px; font-size: 0.9rem; transition: background 0.3s; } .error-links a:hover { background: var(--terracotta); color: var(--bg-white); } .success-page { max-width: 700px; margin: 100px auto; padding: 0 32px; text-align: center; } .success-page h1 { font-size: 2.4rem; font-weight: 400; margin-bottom: 20px; color: var(--terracotta); } .success-page p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 32px; line-height: 1.7; } .success-page .btn { display: inline-block; background: var(--terracotta); color: var(--bg-white); padding: 14px 32px; font-size: 0.95rem; font-weight: 700; transition: opacity 0.3s; } .success-page .btn:hover { opacity: 0.85; } @media (max-width: 1200px) { .main-layout { grid-template-columns: 1fr; gap: 40px; } .sidebar { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; } .content-columns { column-count: 1; } .hero-grid { grid-template-columns: 1fr; } .hero-img { max-height: 300px; } .hero-img img { height: 300px; } .habit-grid { grid-template-columns: 1fr; } } @media (max-width: 768px) { .nav { display: none; } .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-white); padding: 24px; border-bottom: 1px solid var(--beige-dark); box-shadow: 0 8px 16px rgba(0,0,0,0.1); } .burger { display: flex; } .header-inner { padding: 16px 20px; } .container { padding: 0 20px; } .hero { padding: 40px 0 30px; } .main-layout { padding: 40px 0; } .sidebar { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; gap: 32px; } } @keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .fade-up { animation: fadeUp 0.8s ease forwards; }