/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/

:root {
  --mv-black: #0d0d0d;
  --mv-dark: #111111;
  --mv-card: #141414;
  --mv-border: #1e1e1e;
  --mv-text: #e8e8e8;
  --mv-muted: #888888;
  --mv-hint: #444444;
  --mv-orange: #f97316;
  --mv-orange-dim: rgba(249,115,22,0.12);
  --mv-orange-border: rgba(249,115,22,0.25);
  --mv-green: #22c55e;
  --mv-red: #ef4444;
}

body { background: var(--mv-black) !important; color: var(--mv-text) !important; }
a { color: var(--mv-orange); text-decoration: none; }
a:hover { color: #fb923c; }
h1,h2,h3,h4,h5,h6 { color: #fff !important; }

.site-header { background: var(--mv-dark) !important; border-bottom: 1px solid var(--mv-border) !important; box-shadow: none !important; }
.site-title a { color: #fff !important; font-size: 22px !important; font-weight: 700 !important; }
.site-branding { padding: 12px 0 !important; }

.main-navigation { background: transparent !important; }
.main-navigation ul li a { color: var(--mv-muted) !important; font-size: 13px !important; border-radius: 6px !important; transition: all 0.15s !important; }
.main-navigation ul li a:hover { color: var(--mv-orange) !important; background: var(--mv-orange-dim) !important; }
.main-navigation ul li.current-menu-item > a { color: var(--mv-orange) !important; }

.site-content { background: var(--mv-black) !important; }
.content-area { max-width: 1200px !important; margin: 0 auto !important; padding: 32px 24px !important; }

.entry-title { font-size: 28px !important; font-weight: 700 !important; color: #fff !important; }
.entry-content { color: var(--mv-text) !important; font-size: 15px !important; line-height: 1.75 !important; }
.entry-content h2 { font-size: 20px !important; color: #fff !important; margin: 28px 0 12px !important; padding-bottom: 8px !important; border-bottom: 1px solid var(--mv-border) !important; }
.entry-content h3 { font-size: 16px !important; color: #ddd !important; margin: 20px 0 8px !important; }
.entry-content p { color: #ccc !important; margin-bottom: 16px !important; }
.entry-content ul, .entry-content ol { color: #ccc !important; margin: 12px 0 20px 20px !important; }
.entry-content li { margin-bottom: 6px !important; }
.entry-content strong { color: #fff !important; }

.entry-content h3 + p { background: var(--mv-dark); border-left: 3px solid var(--mv-orange); border-radius: 0 6px 6px 0; padding: 12px 16px !important; margin: 0 0 16px !important; }

.post-image img { border-radius: 10px !important; border: 1px solid var(--mv-border) !important; }

.site-footer { background: #0a0a0a !important; border-top: 1px solid var(--mv-border) !important; color: var(--mv-hint) !important; }
.site-footer a { color: var(--mv-hint) !important; }
.site-footer a:hover { color: var(--mv-orange) !important; }

.widget-area { background: var(--mv-dark) !important; border: 1px solid var(--mv-border) !important; border-radius: 10px !important; padding: 20px !important; }
.widget-title { color: #fff !important; font-size: 14px !important; font-weight: 600 !important; border-bottom: 1px solid var(--mv-border) !important; padding-bottom: 10px !important; margin-bottom: 14px !important; }

#mv-ticker { background: #0a0a0a; border-bottom: 1px solid var(--mv-border); padding: 8px 24px; display: flex; gap: 24px; overflow-x: auto; font-size: 12px; }
.mv-ticker-item { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mv-ticker-name { color: #fff; font-weight: 600; }
.mv-ticker-price { color: var(--mv-muted); }
.mv-ticker-up { color: var(--mv-green); background: rgba(34,197,94,0.1); padding: 1px 6px; border-radius: 4px; }
.mv-ticker-down { color: var(--mv-red); background: rgba(239,68,68,0.1); padding: 1px 6px; border-radius: 4px; }

.mv-related { background: var(--mv-card); border: 1px solid var(--mv-border); border-radius: 10px; padding: 20px; margin: 32px 0; }
.mv-related-title { font-size: 12px; font-weight: 700; color: var(--mv-orange); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.mv-related-links a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mv-text); padding: 8px 0; border-bottom: 1px solid var(--mv-border); }
.mv-related-links a:last-child { border-bottom: none; }
.mv-related-links a::before { content: '→'; color: var(--mv-orange); }
.mv-related-links a:hover { color: var(--mv-orange); }

@media (max-width: 768px) {
  .mv-cards-grid { grid-template-columns: 1fr !important; }
  #mv-ticker { gap: 12px; }
}

/* Логотип */
.site-title a {
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -1px !important;
}

.site-title a span.orange { color: #f97316; }

.site-description {
  color: #555 !important;
  font-size: 12px !important;
}

/* Убираем белый сайдбар */
.widget-area { display: none !important; }
.sidebar-primary { display: none !important; }

/* Контент на всю ширину */
.content-area {
  width: 100% !important;
  max-width: 1200px !important;
  float: none !important;
}

/* Hero секция */
.mv-hero {
  background: #111;
  border-bottom: 1px solid #1e1e1e;
  padding: 56px 0 48px;
  margin-bottom: 40px;
}

.mv-hero-inner { max-width: 680px; }

.mv-hero-tag {
  display: inline-block;
  background: rgba(249,115,22,0.12);
  color: #f97316;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(249,115,22,0.25);
  margin-bottom: 16px;
}

.mv-hero h1 {
  font-size: 36px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #fff !important;
  margin-bottom: 14px !important;
  border: none !important;
}

.mv-hero h1 em {
  color: #f97316 !important;
  font-style: normal !important;
}

.mv-hero-desc {
  font-size: 16px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 24px;
}

.mv-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.mv-btn-primary {
  background: #f97316;
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s;
  display: inline-block;
}

.mv-btn-primary:hover { background: #ea6c0a !important; color: #fff !important; }

.mv-btn-ghost {
  background: transparent;
  color: #888 !important;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid #333;
  text-decoration: none !important;
  display: inline-block;
  transition: all 0.15s;
}

.mv-btn-ghost:hover { border-color: #f97316; color: #f97316 !important; }

/* Секции */
.mv-section { margin-bottom: 48px; }

.mv-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e1e1e;
}

.mv-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mv-section-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 18px;
  background: #f97316;
  border-radius: 2px;
}

.mv-section-link { font-size: 13px; color: #f97316; }
.mv-section-link:hover { color: #fb923c; }

/* Карточки */
.mv-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mv-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
  text-decoration: none !important;
  display: block;
}

.mv-card:hover {
  border-color: rgba(249,115,22,0.4);
  transform: translateY(-3px);
}

.mv-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: #1a1a1a;
}

.mv-card-body { padding: 14px 16px; }

.mv-card-cat {
  font-size: 10px;
  font-weight: 700;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.mv-card-title {
  font-size: 14px;
  font-weight: 500;
  color: #e8e8e8;
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mv-card-meta { font-size: 11px; color: #444; display: flex; gap: 8px; }

/* Новости лента */
.mv-news-list { display: flex; flex-direction: column; gap: 8px; }

.mv-news-item {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: border-color 0.15s;
  text-decoration: none !important;
}

.mv-news-item:hover { border-color: rgba(249,115,22,0.35); }

.mv-news-dot {
  width: 7px;
  height: 7px;
  background
cat >> /var/www/html/wp-content/themes/generatepress-child/style.css << 'EOF'

/* Логотип */
.site-title a {
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -1px !important;
}

.site-title a span.orange { color: #f97316; }

.site-description {
  color: #555 !important;
  font-size: 12px !important;
}

/* Убираем белый сайдбар */
.widget-area { display: none !important; }
.sidebar-primary { display: none !important; }

/* Контент на всю ширину */
.content-area {
  width: 100% !important;
  max-width: 1200px !important;
  float: none !important;
}

/* Hero секция */
.mv-hero {
  background: #111;
  border-bottom: 1px solid #1e1e1e;
  padding: 56px 0 48px;
  margin-bottom: 40px;
}

.mv-hero-inner { max-width: 680px; }

.mv-hero-tag {
  display: inline-block;
  background: rgba(249,115,22,0.12);
  color: #f97316;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(249,115,22,0.25);
  margin-bottom: 16px;
}

.mv-hero h1 {
  font-size: 36px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #fff !important;
  margin-bottom: 14px !important;
  border: none !important;
}

.mv-hero h1 em {
  color: #f97316 !important;
  font-style: normal !important;
}

.mv-hero-desc {
  font-size: 16px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 24px;
}

.mv-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.mv-btn-primary {
  background: #f97316;
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s;
  display: inline-block;
}

.mv-btn-primary:hover { background: #ea6c0a !important; color: #fff !important; }

.mv-btn-ghost {
  background: transparent;
  color: #888 !important;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid #333;
  text-decoration: none !important;
  display: inline-block;
  transition: all 0.15s;
}

.mv-btn-ghost:hover { border-color: #f97316; color: #f97316 !important; }

/* Секции */
.mv-section { margin-bottom: 48px; }

.mv-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e1e1e;
}

.mv-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mv-section-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 18px;
  background: #f97316;
  border-radius: 2px;
}

.mv-section-link { font-size: 13px; color: #f97316; }
.mv-section-link:hover { color: #fb923c; }

/* Карточки */
.mv-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mv-card {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
  text-decoration: none !important;
  display: block;
}

.mv-card:hover {
  border-color: rgba(249,115,22,0.4);
  transform: translateY(-3px);
}

.mv-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: #1a1a1a;
}

.mv-card-body { padding: 14px 16px; }

.mv-card-cat {
  font-size: 10px;
  font-weight: 700;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.mv-card-title {
  font-size: 14px;
  font-weight: 500;
  color: #e8e8e8;
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mv-card-meta { font-size: 11px; color: #444; display: flex; gap: 8px; }

/* Новости лента */
.mv-news-list { display: flex; flex-direction: column; gap: 8px; }

.mv-news-item {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: border-color 0.15s;
  text-decoration: none !important;
}

.mv-news-item:hover { border-color: rgba(249,115,22,0.35); }

.mv-news-dot {
  width: 7px;
  height: 7px;
  background: #f97316;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.mv-news-title { font-size: 13px; color: #ccc; line-height: 1.45; margin-bottom: 3px; }
.mv-news-meta { font-size: 11px; color: #444; }

/* Двухколоночная сетка */
.mv-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Перелинковка внутри статей */
.mv-related {
  background: #111;
  border: 1px solid #1e1e1e;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 36px 0;
}

.mv-related-title {
  font-size: 11px;
  font-weight: 700;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.mv-related-links { display: flex; flex-direction: column; }

.mv-related-links a {
  font-size: 13px;
  color: #ccc !important;
  padding: 9px 0;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.mv-related-links a:last-child { border-bottom: none; padding-bottom: 0; }
.mv-related-links a::before { content: '→'; color: #f97316; font-size: 12px; flex-shrink: 0; }
.mv-related-links a:hover { color: #f97316 !important; }

/* Адаптив */
@media (max-width: 900px) {
  .mv-cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .mv-two-col { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
  .mv-cards-grid { grid-template-columns: 1fr !important; }
  .mv-hero h1 { font-size: 26px !important; }
}

/* Убираем белый фон контента */
.site-main,
.content-area,
.entry-content,
.inside-article,
article.post,
article.page,
.singular .inside-article,
.separate-containers .inside-article,
.separate-containers .widget-area,
.separate-containers .inside-right-sidebar {
  background: #111111 !important;
  color: #e8e8e8 !important;
}

.separate-containers .site-main {
  background: transparent !important;
}

/* Убираем белый отступ под хедером */
.site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
  background: #0d0d0d !important;
}

.page-header {
  background: #111 !important;
  border-bottom: 1px solid #1e1e1e !important;
  padding: 20px 0 !important;
}

.page-header-title {
  color: #fff !important;
}

/* Убираем белый фон контента */
.site-main,
.content-area,
.entry-content,
.inside-article,
article.post,
article.page,
.singular .inside-article,
.separate-containers .inside-article,
.separate-containers .widget-area,
.separate-containers .inside-right-sidebar {
  background: #111111 !important;
  color: #e8e8e8 !important;
}

.separate-containers .site-main {
  background: transparent !important;
}

/* Убираем белый отступ под хедером */
.site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
  background: #0d0d0d !important;
}

.page-header {
  background: #111 !important;
  border-bottom: 1px solid #1e1e1e !important;
  padding: 20px 0 !important;
}

.page-header-title {
  color: #fff !important;
}

/* Тикер расширенный */
.mv-ticker-sep {
  color: #333;
  font-size: 14px;
  flex-shrink: 0;
  align-self: center;
}

.mv-ticker-neutral {
  color: #f97316;
  background: rgba(249,115,22,0.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}

#mv-ticker {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

#mv-ticker::-webkit-scrollbar { display: none; }

.site-content,
.content-area,
.site-main,
.inside-article,
article,
.page-hero-section,
.separate-containers .inside-article,
.one-container .site-main,
.wp-site-blocks,
#page,
#content,
#primary {
  background: #0d0d0d !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.page, .single, .home {
  background: #0d0d0d !important;
}

.generate-columns-container {
  background: transparent !important;
}

body.home .site-content,
body.home #content,
body.home #primary,
body.home .content-area {
  padding: 0 !important;
  margin: 0 !important;
  background: #0d0d0d !important;
}

body.home .inside-article,
body.home article {
  padding: 0 !important;
  background: transparent !important;
}

body.home .entry-content {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.site-header {
  display: block !important;
  visibility: visible !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
}

.single .inside-article,
.single article {
  background: #111111 !important;
  border: 1px solid #1e1e1e !important;
  border-radius: 12px !important;
  padding: 32px !important;
}

.single .entry-content p,
.single .entry-content li {
  color: #cccccc !important;
}

.single .post-image {
  margin-bottom: 24px !important;
}

/* Force dark article background */
.site-main article,
.site-main .inside-article,
.entry-content,
.singular-content,
div.inside-article {
  background-color: #111111 !important;
  color: #cccccc !important;
}

.legal-disclaimer {
  background: #1a1a1a !important;
  border-left: 4px solid #f97316 !important;
  color: #cccccc !important;
}

.legal-disclaimer strong,
.legal-disclaimer em {
  color: #e8e8e8 !important;
}

div.inside-article { background-color: #111111 !important; }
div.inside-article .entry-content { background-color: #111111 !important; color: #cccccc !important; }
div.inside-article p { color: #cccccc !important; }
div.inside-article li { color: #cccccc !important; }
div.inside-article .legal-disclaimer { background: #1a1a1a !important; color: #cccccc !important; }

.single .entry-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  background: #1a1a1a !important;
}

.single .entry-content table th {
  background: #f97316 !important;
  color: #fff !important;
  padding: 10px !important;
  text-align: left !important;
}

.single .entry-content table td {
  background: #111111 !important;
  color: #cccccc !important;
  padding: 10px !important;
  border-bottom: 1px solid #1e1e1e !important;
}
