/*
Theme Name: Custom Auto Theme
Author: System
Version: 1.0
*/

:root {
  --c-bg: #ffffff;
  --c-dark: #0a0a0a;
  --c-blue: #2979FF;
  --c-blue-light: #e3edff;
  --c-blue-dark: #1557cc;
  --c-gray: #f5f5f7;
  --c-gray-mid: #888;
  --c-gray-border: #e0e0e0;
  --c-text: #1a1a1a;
  --c-text-soft: #555;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --radius: 10px;
  --shadow: 0 2px 20px rgba(0,0,0,0.07);
  --max-w: 1200px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--c-text); background: var(--c-bg); line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* TOPBAR */
.vv-topbar { background: var(--c-dark); color: #aaa; font-size: .72rem; padding: 6px 0; letter-spacing: .05em; }
.vv-topbar-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.vv-topbar a { color: #7ab3ff; transition: color .2s; }
.vv-topbar a:hover { color: #fff; }

/* HEADER */
.vv-header { background: var(--c-bg); border-bottom: 3px solid var(--c-dark); position: sticky; top: 0; z-index: 200; }
.vv-header-inner { max-width: var(--max-w); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; }
.vv-logo { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--c-dark); letter-spacing: -.03em; }
.vv-logo span { color: var(--c-blue); }
.vv-nav { display: flex; gap: 20px; align-items: center; }
.vv-nav a { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--c-text-soft); transition: color .25s; position: relative; }
.vv-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--c-blue); transition: width .35s cubic-bezier(.4,0,.2,1); }
.vv-nav a:hover::after, .vv-nav a.active::after { width: 100%; }
.vv-nav a:hover, .vv-nav a.active { color: var(--c-blue); }
.vv-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.vv-burger span { width: 26px; height: 2.5px; background: var(--c-dark); border-radius: 2px; transition: all .3s; }

/* LAYOUT */
.vv-layout { max-width: var(--max-w); margin: 0 auto; padding: 0 20px 60px; display: grid; grid-template-columns: 280px 1fr; gap: 36px; }
.vv-sidebar { position: sticky; top: 80px; align-self: start; display: flex; flex-direction: column; gap: 24px; padding-top: 36px; }
.vv-main-col { padding-top: 0; }

/* SIDEBAR BLOCKS */
.vv-sb-block { background: var(--c-gray); border-radius: var(--radius); padding: 22px 18px; border: 1px solid var(--c-gray-border); }
.vv-sb-block h3 { font-family: var(--font-display); font-size: 1rem; color: var(--c-dark); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--c-blue); }
.vv-sb-item { padding: 10px 0; border-bottom: 1px solid var(--c-gray-border); }
.vv-sb-item:last-child { border-bottom: none; }
.vv-sb-item a { font-size: .88rem; font-weight: 600; color: var(--c-text); display: block; transition: color .2s; line-height: 1.4; }
.vv-sb-item a:hover { color: var(--c-blue); }
.vv-sb-item .vv-cat { font-size: .7rem; color: var(--c-blue); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; display: block; font-weight: 700; }
.vv-sb-item p { font-size: .78rem; color: var(--c-gray-mid); margin-top: 4px; }
.vv-sb-quote { background: var(--c-dark); color: #ccd8ee; padding: 22px; border-radius: var(--radius); font-style: italic; font-size: .92rem; line-height: 1.6; }
.vv-sb-quote footer { margin-top: 10px; font-style: normal; font-size: .75rem; color: #6a89b8; }
.vv-sb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.vv-sb-tags a { font-size: .72rem; background: var(--c-bg); border: 1px solid var(--c-gray-border); padding: 4px 12px; border-radius: 20px; color: var(--c-text-soft); transition: all .2s; }
.vv-sb-tags a:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.vv-sb-nl { background: linear-gradient(135deg, var(--c-dark), #111d33); color: #fff; padding: 22px; border-radius: var(--radius); text-align: center; }
.vv-sb-nl h3 { font-family: var(--font-display); color: #fff; border-bottom: none; margin-bottom: 6px; }
.vv-sb-nl p { font-size: .82rem; color: #a0b8d8; margin-bottom: 14px; }
.vv-sb-nl input[type=email] { width: 100%; padding: 9px 14px; border: none; border-radius: 6px; font-size: .85rem; margin-bottom: 8px; font-family: var(--font-body); }
.vv-sb-nl button { width: 100%; padding: 10px; background: var(--c-blue); color: #fff; border: none; border-radius: 6px; font-weight: 700; font-size: .85rem; cursor: pointer; transition: background .2s; }
.vv-sb-nl button:hover { background: var(--c-blue-dark); }

/* HERO */
.vv-hero { background: linear-gradient(180deg, var(--c-gray) 0%, var(--c-bg) 100%); border-bottom: 1px solid var(--c-gray-border); padding: 48px 0 0; }
.vv-hero-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.vv-hero-sidebar { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.vv-hero-sidebar .vv-trending-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--c-blue); margin-bottom: 4px; }
.vv-hero-sidebar .vv-trending-item { padding: 12px 0; border-bottom: 1px solid var(--c-gray-border); }
.vv-hero-sidebar .vv-trending-item:last-child { border-bottom: none; }
.vv-hero-sidebar .vv-trending-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--c-gray-border); line-height: 1; }
.vv-hero-sidebar .vv-trending-title { font-size: .85rem; font-weight: 600; color: var(--c-text); margin-top: 4px; }

.vv-hero-article { padding-bottom: 40px; }
.vv-hero-tag { display: inline-block; background: var(--c-blue); color: #fff; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 4px 14px; margin-bottom: 16px; }
.vv-hero-title { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; color: var(--c-dark); margin-bottom: 18px; animation: vv-title-in 1s ease both; }
@keyframes vv-title-in { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.vv-hero-lead { font-size: 1.1rem; color: var(--c-text-soft); max-width: 680px; margin-bottom: 20px; line-height: 1.8; animation: vv-fade-up .8s .3s ease both; }
.vv-hero-meta { font-size: .8rem; color: var(--c-gray-mid); display: flex; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--c-gray-border); margin-bottom: 24px; animation: vv-fade-up .8s .5s ease both; }
.vv-hero-meta strong { color: var(--c-text); }
.vv-hero-img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); margin-bottom: 0; animation: vv-fade-up .8s .6s ease both; }

/* KINETIC TYPOGRAPHY */
@keyframes vv-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes vv-slide-left { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes vv-scale-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes vv-word-pop { 0% { transform: scale(1); } 50% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes vv-underline-grow { from { width: 0; } to { width: 100%; } }
@keyframes vv-letter-space { 0% { letter-spacing: -.02em; } 50% { letter-spacing: .08em; } 100% { letter-spacing: .02em; } }

.vv-kinetic { animation: vv-fade-up .7s ease both; }
.vv-kinetic-delay1 { animation-delay: .15s; }
.vv-kinetic-delay2 { animation-delay: .3s; }
.vv-kinetic-delay3 { animation-delay: .45s; }

.vv-word-highlight { display: inline-block; color: var(--c-blue); font-weight: 700; position: relative; animation: vv-word-pop 2s ease infinite; }
.vv-word-highlight::after { content: ''; position: absolute; bottom: 0; left: 0; height: 2px; background: var(--c-blue); animation: vv-underline-grow 1s .5s ease both; width: 100%; }

/* ARTICLE BODY */
.vv-article-body h2 { font-family: var(--font-display); font-size: 1.6rem; color: var(--c-dark); margin: 40px 0 16px; padding-left: 16px; border-left: 4px solid var(--c-blue); line-height: 1.3; animation: vv-slide-left .6s ease both; }
.vv-article-body h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--c-dark); margin: 28px 0 12px; }
.vv-article-body p { margin-bottom: 16px; color: var(--c-text); font-size: 1.02rem; }
.vv-article-body blockquote { margin: 28px 0; padding: 22px 26px; background: var(--c-blue-light); border-left: 4px solid var(--c-blue); font-style: italic; color: var(--c-dark); font-size: 1.05rem; line-height: 1.6; border-radius: 0 var(--radius) var(--radius) 0; }

.vv-article-img { margin: 32px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.vv-article-img img { width: 100%; height: 320px; object-fit: cover; }
.vv-article-img figcaption { font-size: .75rem; color: var(--c-gray-mid); padding: 10px 16px; background: var(--c-gray); text-align: right; font-style: italic; }

/* CARDS GRID */
.vv-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.vv-card { background: var(--c-gray); border-radius: var(--radius); padding: 24px 20px; border: 1px solid var(--c-gray-border); transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden; }
.vv-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--c-blue); }
.vv-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(41,121,255,.12); }
.vv-card .vv-card-num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--c-gray-border); line-height: 1; margin-bottom: 4px; }
.vv-card h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--c-dark); margin-bottom: 8px; }
.vv-card p { font-size: .88rem; color: var(--c-text-soft); line-height: 1.6; }
.vv-card .vv-tag { display: inline-block; background: var(--c-blue-light); color: var(--c-blue-dark); font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-top: 10px; }
.vv-card-alt::before { background: #00c853; }
.vv-card-accent::before { background: #ff6d00; }
.vv-card-purple::before { background: #7c4dff; }

/* HIGHLIGHT BOX */
.vv-highlight { background: var(--c-dark); color: #fff; padding: 30px 28px; margin: 34px 0; border-radius: var(--radius); position: relative; overflow: hidden; }
.vv-highlight::after { content: '★'; position: absolute; right: 24px; top: 14px; font-size: 5rem; opacity: .05; }
.vv-highlight h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; color: var(--c-blue-light); }
.vv-highlight p { color: #c0cee4; font-size: .95rem; margin-bottom: 10px; }
.vv-highlight ul { margin: 14px 0 0 18px; list-style: disc; }
.vv-highlight ul li { font-size: .9rem; color: #c0cee4; margin-bottom: 6px; }

/* RECOMMENDATION LIST */
.vv-rec-list { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.vv-rec-item { display: flex; gap: 18px; background: var(--c-bg); border: 1px solid var(--c-gray-border); border-radius: var(--radius); padding: 22px 20px; transition: transform .2s, box-shadow .2s; align-items: flex-start; }
.vv-rec-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.vv-rec-icon { width: 50px; height: 50px; background: var(--c-blue-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.vv-rec-item h4 { font-family: var(--font-display); font-size: .98rem; color: var(--c-dark); margin-bottom: 6px; }
.vv-rec-item p { font-size: .85rem; color: var(--c-text-soft); }

/* CONCLUSION */
.vv-conclusion { background: var(--c-blue-light); border-radius: var(--radius); padding: 32px 28px; border-left: 5px solid var(--c-blue); margin: 34px 0 12px; }
.vv-conclusion h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--c-dark); margin-bottom: 14px; }
.vv-conclusion p { color: var(--c-text-soft); font-size: .95rem; margin-bottom: 10px; }

/* TAGS ROW */
.vv-tags-row { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--c-gray-border); display: flex; gap: 8px; flex-wrap: wrap; }
.vv-tags-row a { font-size: .72rem; background: var(--c-gray); padding: 4px 14px; border-radius: 20px; color: var(--c-text-soft); transition: all .2s; border: 1px solid var(--c-gray-border); }
.vv-tags-row a:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }

/* MOVING TICKER */
.vv-ticker { background: var(--c-dark); color: var(--c-blue); padding: 10px 0; overflow: hidden; white-space: nowrap; }
.vv-ticker-inner { display: inline-block; animation: vv-ticker-scroll 25s linear infinite; font-family: var(--font-display); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; }
@keyframes vv-ticker-scroll { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

/* SINGLE PAGE (articles, legal) */
.vv-page { max-width: 820px; margin: 0 auto; padding: 48px 20px 60px; }
.vv-page h1 { font-family: var(--font-display); font-size: 2rem; color: var(--c-dark); margin-bottom: 20px; line-height: 1.2; }
.vv-page h2 { font-family: var(--font-display); font-size: 1.3rem; color: var(--c-dark); margin: 30px 0 12px; border-left: 4px solid var(--c-blue); padding-left: 14px; }
.vv-page p, .vv-page li { font-size: .95rem; color: var(--c-text); margin-bottom: 12px; line-height: 1.7; }
.vv-page ul, .vv-page ol { margin: 12px 0 18px 20px; }
.vv-page ul { list-style: disc; }
.vv-page ol { list-style: decimal; }
.vv-page a { color: var(--c-blue); }
.vv-page a:hover { text-decoration: underline; }
.vv-page .vv-back-btn { display: inline-block; margin-top: 20px; padding: 12px 28px; background: var(--c-blue); color: #fff; border-radius: 6px; font-weight: 700; transition: background .2s; }
.vv-page .vv-back-btn:hover { background: var(--c-blue-dark); text-decoration: none; }

/* SUCCESS */
.vv-success-wrap { text-align: center; padding: 80px 20px; }
.vv-success-wrap h1 { font-family: var(--font-display); font-size: 2.4rem; color: var(--c-dark); margin-bottom: 16px; }
.vv-success-wrap p { font-size: 1.05rem; color: var(--c-text-soft); margin-bottom: 28px; }
.vv-success-wrap .vv-check { font-size: 4rem; margin-bottom: 20px; display: block; }

/* 404 */
.vv-404-wrap { text-align: center; padding: 80px 20px; }
.vv-404-wrap .vv-404-num { font-family: var(--font-display); font-size: 8rem; font-weight: 700; color: var(--c-blue); line-height: 1; margin-bottom: 10px; animation: vv-word-pop 3s ease infinite; }
.vv-404-wrap h1 { font-family: var(--font-display); font-size: 1.6rem; color: var(--c-dark); margin-bottom: 16px; }
.vv-404-wrap p { color: var(--c-text-soft); margin-bottom: 28px; }
.vv-404-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.vv-404-links a { padding: 10px 22px; background: var(--c-gray); border-radius: 6px; font-weight: 600; font-size: .9rem; transition: all .2s; border: 1px solid var(--c-gray-border); }
.vv-404-links a:hover { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }

/* COOKIE BANNER */
.vv-cookie-overlay { position: fixed; bottom: 20px; right: 20px; z-index: 9999; max-width: 380px; }
.vv-cookie-toggle { display: none; }
.vv-cookie-banner { background: var(--c-dark); color: #ccc; padding: 22px; border-radius: var(--radius); font-size: .82rem; line-height: 1.6; box-shadow: 0 8px 40px rgba(0,0,0,.25); }
.vv-cookie-toggle:checked ~ .vv-cookie-banner { display: none; }
.vv-cookie-banner p { margin-bottom: 14px; }
.vv-cookie-banner a { color: var(--c-blue); }
.vv-cookie-btns { display: flex; gap: 8px; }
.vv-cookie-btns label, .vv-cookie-btns a.vv-cookie-reject { padding: 8px 18px; border-radius: 6px; font-size: .8rem; font-weight: 700; cursor: pointer; border: none; transition: background .2s; text-align: center; display: inline-block; min-width: 44px; min-height: 44px; line-height: 28px; }
.vv-cookie-btns label { background: var(--c-blue); color: #fff; }
.vv-cookie-btns label:hover { background: var(--c-blue-dark); }
.vv-cookie-btns a.vv-cookie-reject { background: #333; color: #aaa; }
.vv-cookie-btns a.vv-cookie-reject:hover { background: #444; }

/* FOOTER */
.vv-footer { background: var(--c-dark); color: #a0b0c8; padding: 40px 0 20px; }
.vv-footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.vv-footer h4 { font-family: var(--font-display); color: #fff; font-size: 1rem; margin-bottom: 12px; }
.vv-footer p { font-size: .85rem; line-height: 1.7; }
.vv-footer ul li { margin-bottom: 8px; }
.vv-footer a { color: #7fa0cc; transition: color .2s; font-size: .85rem; }
.vv-footer a:hover { color: #fff; }
.vv-footer-bottom { max-width: var(--max-w); margin: 28px auto 0; padding: 16px 20px 0; border-top: 1px solid #1a2e50; font-size: .75rem; color: #5a7aa0; }
.vv-footer-disclaimer { margin-top: 10px; font-size: .72rem; color: #4a6080; line-height: 1.6; }

/* RESPONSIVE */
@media(max-width:900px) {
  .vv-layout { grid-template-columns: 1fr; }
  .vv-sidebar { position: static; }
  .vv-hero-inner { grid-template-columns: 1fr; }
  .vv-hero-sidebar { display: none; }
  .vv-nav { display: none; }
  .vv-nav.vv-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--c-bg); padding: 20px; border-bottom: 3px solid var(--c-dark); box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 300; }
  .vv-burger { display: flex; }
  .vv-cards-grid { grid-template-columns: 1fr; }
  .vv-footer-inner { grid-template-columns: 1fr; }
}
@media(max-width:480px) {
  .vv-hero-title { font-size: 1.6rem; }
  .vv-topbar-inner { flex-direction: column; gap: 4px; text-align: center; }
  .vv-cookie-overlay { max-width: calc(100% - 20px); right: 10px; bottom: 10px; }
}
