/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/
:root { --color-primary: #00838F; --color-primary-light: #E0F7FA; --color-accent: #E65100; --color-dark: #006064; --color-text: #1A1A1A; --color-bg-alt: #F0FCFD; --font-family: 'Raleway', system-ui, sans-serif; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: var(--font-family); 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: var(--color-primary); text-decoration: none; } a:hover { color: var(--color-dark); } img { max-width: 100%; height: auto; display: block; } .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; } .btn { display: inline-block; padding: 0.7rem 1.8rem; border-radius: 6px; font-weight: 700; font-size: 0.95rem; cursor: pointer; border: none; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; text-align: center; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,131,143,0.25); } .btn-primary { background: var(--color-primary); color: #fff; } .btn-primary:hover { background: var(--color-dark); color: #fff; } .btn-accent { background: var(--color-accent); color: #fff; } .btn-accent:hover { background: #bf360c; color: #fff; } .btn-outline { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); } .btn-outline:hover { background: var(--color-primary); color: #fff; } .header-top-bar { background: var(--color-primary); color: #fff; font-size: 0.82rem; padding: 0.4rem 0; } .header-top-bar .container { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; } .header-top-bar-item { display: flex; align-items: center; gap: 0.4rem; } .header-top-bar-item svg { width: 14px; height: 14px; } .site-header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.08); } .header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 0.8rem; padding-bottom: 0.8rem; } .logo { font-size: 1.5rem; 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: 1.5rem; } .main-nav a { color: var(--color-text); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; } .main-nav a:hover { color: var(--color-primary); } .btn-nav { background: var(--color-primary); color: #fff !important; padding: 0.55rem 1.4rem; border-radius: 6px; font-weight: 700; } .btn-nav:hover { background: var(--color-dark) !important; color: #fff !important; } .burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; } .burger span { display: block; width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; transition: 0.3s; } .hero { position: relative; min-height: 45vh; display: flex; align-items: center; color: #fff; overflow: hidden; background-size: cover; background-position: center; } .hero.has-bg-image { background-size: cover; background-position: center; } .bg-overlay { position: absolute; inset: 0; background: rgba(0,96,100,0.68); z-index: 0; } .hero .container { position: relative; z-index: 1; } .hero-content { max-width: 640px; padding: 3rem 0; } .hero-content h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; line-height: 1.15; margin-bottom: 1rem; color: #fff; } .hero-content p { font-size: 1.1rem; line-height: 1.65; margin-bottom: 1.5rem; color: rgba(255,255,255,0.9); } .hero-cta-group { display: flex; flex-direction: column; gap: 1rem; } .hero-mini-form { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); border-radius: 10px; padding: 1rem 1.2rem; max-width: 420px; } .hero-mini-form p { font-size: 0.85rem; color: rgba(255,255,255,0.85); margin-bottom: 0.6rem; font-weight: 600; } .hero-mini-form .form-row { display: flex; gap: 0.5rem; flex-wrap: wrap; } .hero-mini-form input { flex: 1; min-width: 120px; padding: 0.5rem 0.8rem; border: 1px solid rgba(255,255,255,0.4); border-radius: 5px; background: rgba(255,255,255,0.15); color: #fff; font-size: 0.88rem; font-family: inherit; } .hero-mini-form input::placeholder { color: rgba(255,255,255,0.65); } .hero-mini-form button { padding: 0.5rem 1rem; background: var(--color-accent); color: #fff; border: none; border-radius: 5px; font-weight: 700; cursor: pointer; font-size: 0.88rem; white-space: nowrap; } #stats { background: var(--color-primary); color: #fff; padding: 2rem 0; } .stats-inner { display: flex; gap: 0; justify-content: space-around; align-items: center; flex-wrap: wrap; } .stat-item { text-align: center; padding: 0.5rem 1.5rem; } .stat-item .stat-number { font-size: 2.2rem; font-weight: 900; color: #fff; display: block; line-height: 1; } .stat-item .stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.82); margin-top: 0.3rem; font-weight: 500; } .stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.25); } #articles { padding: 4rem 0; background: #fff; } #articles h2.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: var(--color-dark); margin-bottom: 2.5rem; } .magazine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; } .article-card { background: #fff; border-radius: 14px; box-shadow: 0 4px 20px rgba(0,131,143,0.10); overflow: hidden; transition: transform 0.22s, box-shadow 0.22s; display: flex; flex-direction: column; } .article-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,131,143,0.18); } .article-card-featured { grid-column: 1; grid-row: 1 / 3; background: var(--color-bg-alt); border-left: 5px solid var(--color-primary); } .magazine-right { display: flex; flex-direction: column; gap: 2rem; } .card-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; } .card-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent); margin-bottom: 0.7rem; } .card-title { font-size: 1.4rem; font-weight: 800; color: var(--color-dark); margin-bottom: 0.8rem; line-height: 1.25; } .article-card-featured .card-title { font-size: 1.8rem; } .card-teaser { color: #444; font-size: 0.97rem; line-height: 1.65; flex: 1; margin-bottom: 1.2rem; } .card-link { display: inline-block; padding: 0.55rem 1.3rem; background: var(--color-primary); color: #fff; border-radius: 6px; font-weight: 700; font-size: 0.88rem; align-self: flex-start; transition: background 0.2s, transform 0.15s; } .card-link:hover { background: var(--color-dark); color: #fff; transform: translateX(3px); } #about { background: var(--color-bg-alt); padding: 3.5rem 0; } #about h2.section-title { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 900; color: var(--color-dark); text-align: center; margin-bottom: 0.5rem; } .about-subtitle { text-align: center; color: #555; font-size: 1rem; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; } .about-timeline { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; } .timeline-step { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 200px; position: relative; } .timeline-step:not(:last-child)::after { content: ''; position: absolute; top: 22px; left: calc(100% - 0px); width: 100%; height: 2px; background: var(--color-primary); opacity: 0.35; } .timeline-circle { width: 46px; height: 46px; border-radius: 50%; background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem; margin-bottom: 0.8rem; flex-shrink: 0; } .timeline-label { font-size: 0.88rem; font-weight: 600; color: var(--color-dark); line-height: 1.35; } .timeline-connector { flex: 1; height: 2px; background: var(--color-primary); opacity: 0.3; margin-top: 22px; min-width: 40px; } #newsletter { background: var(--color-primary); color: #fff; padding: 4rem 0; } #newsletter h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 0.8rem; color: #fff; text-align: center; } #newsletter p { text-align: center; color: rgba(255,255,255,0.88); margin-bottom: 2rem; font-size: 1rem; } .newsletter-form { display: flex; gap: 0.8rem; max-width: 560px; margin: 0 auto; flex-wrap: wrap; } .newsletter-form input { flex: 1; min-width: 150px; padding: 0.75rem 1rem; border: none; border-radius: 6px; font-size: 0.97rem; font-family: inherit; } .newsletter-form button { padding: 0.75rem 1.8rem; background: var(--color-accent); color: #fff; border: none; border-radius: 6px; font-weight: 700; font-size: 0.97rem; cursor: pointer; transition: background 0.2s; } .newsletter-form button:hover { background: #bf360c; } .pre-footer-newsletter { background: var(--color-dark); padding: 3rem 0; } .pre-footer-newsletter h2 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; text-align: center; } .pre-footer-newsletter p { color: rgba(255,255,255,0.8); text-align: center; margin-bottom: 1.5rem; } .site-footer { background: #00363A; color: rgba(255,255,255,0.85); padding: 3rem 0 0; } .footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2rem; } .footer-col { } .footer-logo a { font-size: 1.4rem; font-weight: 900; color: #fff; } .footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 0.6rem; line-height: 1.55; } .footer-col h4 { color: #fff; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.9rem; } .footer-nav { display: flex; flex-direction: column; gap: 0.5rem; } .footer-nav a { color: rgba(255,255,255,0.72); font-size: 0.9rem; transition: color 0.2s; } .footer-nav a:hover { color: #fff; } .footer-contact-email { color: rgba(255,255,255,0.72); font-size: 0.9rem; margin-bottom: 0.4rem; } .footer-response { font-size: 0.8rem; color: rgba(255,255,255,0.5); } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.2rem 0; } .footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; } .footer-disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.5); max-width: 700px; } .footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.55); white-space: nowrap; } .article-banner { background: var(--color-primary); color: #fff; padding: 4.5rem 0 3.5rem; text-align: center; } .article-banner .banner-tag { display: inline-block; background: rgba(255,255,255,0.15); color: #fff; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.3rem 0.9rem; border-radius: 999px; margin-bottom: 1rem; } .article-banner h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: #fff; max-width: 800px; margin: 0 auto 1rem; line-height: 1.18; } .article-banner-meta { display: flex; align-items: center; justify-content: center; gap: 1.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.78); flex-wrap: wrap; } .article-top-image { margin: 2rem 0; } .article-top-image img { width: 100%; height: auto; display: block; border-radius: 10px; } .article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; padding: 3rem 0 4rem; align-items: start; } article { min-width: 0; } article h2 { font-size: 1.35rem; font-weight: 800; color: var(--color-dark); margin: 2.2rem 0 0.9rem; } article p { margin-bottom: 1.3rem; font-size: 1rem; line-height: 1.78; color: #333; } article ul, article ol { margin: 1rem 0 1.5rem 1.5rem; } article li { margin-bottom: 0.55rem; font-size: 1rem; line-height: 1.65; color: #333; } .article-inline-img { margin: 2rem 0; } .article-inline-img img { width: 100%; height: auto; border-radius: 10px; } .tip-block { border: none; padding: 1.2rem 2rem; margin: 2.2rem 0; } .tip-block .quote-mark { font-size: 4rem; line-height: 0.8; color: var(--color-primary); font-family: Georgia, serif; display: block; margin-bottom: 0.5rem; } .tip-block p { font-style: italic; font-size: 1.05rem; color: var(--color-dark); font-weight: 500; } aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.5rem; } .aside-toc { background: var(--color-bg-alt); border-radius: 10px; padding: 1.2rem 1.4rem; } .aside-toc h3 { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-dark); margin-bottom: 0.8rem; } .aside-toc ul { list-style: none; margin: 0; padding: 0; } .aside-toc ul li { margin-bottom: 0.45rem; } .aside-toc ul li a { font-size: 0.88rem; color: var(--color-text); font-weight: 500; } .aside-toc ul li a:hover { color: var(--color-primary); } .aside-related { background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 1.2rem 1.4rem; } .aside-related h3 { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-dark); margin-bottom: 0.9rem; } .related-card { display: block; margin-bottom: 0.9rem; padding-bottom: 0.9rem; border-bottom: 1px solid #f0f0f0; } .related-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } .related-card-title { font-size: 0.88rem; font-weight: 700; color: var(--color-text); line-height: 1.35; } .related-card-title:hover { color: var(--color-primary); } .related-card-tag { font-size: 0.72rem; color: var(--color-accent); font-weight: 600; display: block; margin-bottom: 0.2rem; } .aside-newsletter { background: var(--color-primary); color: #fff; border-radius: 10px; padding: 1.2rem 1.4rem; } .aside-newsletter h3 { color: #fff; font-size: 0.85rem; font-weight: 800; margin-bottom: 0.5rem; } .aside-newsletter p { color: rgba(255,255,255,0.82); font-size: 0.8rem; margin-bottom: 0.8rem; } .aside-newsletter input { width: 100%; padding: 0.5rem 0.7rem; border-radius: 5px; border: none; font-size: 0.85rem; margin-bottom: 0.5rem; font-family: inherit; } .aside-newsletter button { width: 100%; padding: 0.5rem; background: var(--color-accent); color: #fff; border: none; border-radius: 5px; font-weight: 700; font-size: 0.85rem; cursor: pointer; } .newsletter-cta { background: var(--color-bg-alt); border-radius: 14px; padding: 2rem 2rem; margin: 2.5rem 0; border-left: 4px solid var(--color-primary); } .newsletter-cta h3 { font-size: 1.1rem; font-weight: 800; color: var(--color-dark); margin-bottom: 0.5rem; } .newsletter-cta p { font-size: 0.92rem; color: #555; margin-bottom: 1rem; } .newsletter-cta .newsletter-form { max-width: 100%; } .article-disclaimer { background: var(--color-bg-alt); border-left: 4px solid var(--color-accent); border-radius: 0 8px 8px 0; padding: 1rem 1.4rem; margin-top: 2.5rem; font-size: 0.85rem; color: #555; line-height: 1.6; } .article-disclaimer strong { color: var(--color-accent); } .page-disclaimer { background: var(--color-bg-alt); padding: 1.2rem 0; } .page-disclaimer p { font-size: 0.82rem; color: #666; line-height: 1.55; } .success-page { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 5rem 1.5rem; } .success-page .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.05rem; color: #555; max-width: 480px; margin: 0 auto 2rem; line-height: 1.65; } .page-404 { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; } .page-404 .big-num { font-size: clamp(5rem, 15vw, 9rem); font-weight: 900; color: var(--color-primary-light); line-height: 1; display: block; } .page-404 .not-found-icon { margin: 1rem auto; } .page-404 h1 { font-size: 1.8rem; font-weight: 800; color: var(--color-dark); margin-bottom: 0.8rem; } .page-404 p { color: #555; max-width: 440px; margin: 0 auto 2rem; font-size: 1rem; line-height: 1.6; } .page-404 .cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; } .policy-layout { display: grid; grid-template-columns: 1fr 240px; gap: 3rem; padding: 3rem 0 4rem; align-items: start; } .policy-content h2 { font-size: 1.25rem; font-weight: 800; color: var(--color-dark); margin: 2rem 0 0.8rem; } .policy-content p { font-size: 0.97rem; line-height: 1.8; color: #333; margin-bottom: 1.1rem; } .policy-content ul { margin: 0.8rem 0 1.2rem 1.5rem; } .policy-content li { font-size: 0.97rem; line-height: 1.7; color: #333; margin-bottom: 0.4rem; } .policy-sidebar { position: sticky; top: 100px; background: var(--color-bg-alt); border-radius: 10px; padding: 1.2rem 1.4rem; } .policy-sidebar h3 { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-dark); margin-bottom: 0.8rem; } .policy-sidebar ul { list-style: none; padding: 0; margin: 0; } .policy-sidebar li { margin-bottom: 0.45rem; } .policy-sidebar a { font-size: 0.87rem; color: var(--color-text); font-weight: 500; } .policy-sidebar a:hover { color: var(--color-primary); } .policy-hero { background: linear-gradient(135deg, var(--color-dark), var(--color-primary)); color: #fff; padding: 3rem 0; } .policy-hero h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; color: #fff; margin-bottom: 0.5rem; } .policy-hero .policy-date { font-size: 0.83rem; color: rgba(255,255,255,0.72); } .accordion-item { border-bottom: 1px solid #e0e0e0; } .accordion-toggle { width: 100%; background: none; border: none; text-align: left; padding: 1.1rem 0; font-family: inherit; font-size: 1.05rem; font-weight: 700; color: var(--color-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; } .accordion-toggle::after { content: '+'; font-size: 1.3rem; color: var(--color-primary); transition: transform 0.2s; } .accordion-toggle[aria-expanded='true']::after { transform: rotate(45deg); } .accordion-content { display: none; padding: 0 0 1.2rem; } .accordion-content.open { display: block; } .accordion-content p, .accordion-content li { font-size: 0.97rem; line-height: 1.78; color: #333; } .accordion-content ul { margin: 0.5rem 0 0.8rem 1.5rem; } .policy-block { padding: 2rem 0; border-bottom: 1px solid #eee; display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem; align-items: start; } .policy-block-number { font-size: 2.5rem; font-weight: 900; color: var(--color-primary); line-height: 1; } .policy-block h2 { font-size: 1.1rem; font-weight: 800; color: var(--color-dark); margin-bottom: 0.7rem; } .policy-block p { font-size: 0.97rem; line-height: 1.78; color: #333; margin-bottom: 0.7rem; } .policy-block ul { margin: 0.5rem 0 0.8rem 1.5rem; } .policy-block li { font-size: 0.97rem; line-height: 1.65; color: #333; margin-bottom: 0.35rem; } @media (max-width: 900px) { .magazine-grid { grid-template-columns: 1fr; } .article-card-featured { grid-column: auto; grid-row: auto; } .article-layout { grid-template-columns: 1fr; } aside { position: static; } .footer-inner { grid-template-columns: 1fr 1fr; } .policy-layout { grid-template-columns: 1fr; } .policy-sidebar { position: static; } .about-timeline { flex-direction: column; align-items: center; } .timeline-connector { width: 2px; height: 30px; margin: 0; } .timeline-step:not(:last-child)::after { display: none; } } @media (max-width: 640px) { .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.1); padding: 1rem 1.5rem 1.5rem; gap: 0.8rem; } .main-nav.open { display: flex; } .burger { display: flex; } .footer-inner { grid-template-columns: 1fr; } .stats-inner { gap: 1.5rem; } .stat-divider { display: none; } .hero-content { padding: 2.5rem 0; } .newsletter-form { flex-direction: column; } .hero-mini-form .form-row { flex-direction: column; } }