/*
Theme Name:  Media Express Child
Template:    dt-the7
Description: Child theme — dark satellite design language
*/

/* ===== DESIGN TOKENS ===== */
:root {
  --green:       #22c55e;
  --green-dark:  #16a34a;
  --dark:        #0f172a;
  --dark2:       #1e293b;
  --white:       #ffffff;
  --muted:       #94a3b8;
  --border:      #334155;
}

/* ===== BASE ===== */
#the7-body,
#the7-body #page,
#the7-body #content,
#the7-body #main,
#the7-body .wf-wrap,
#the7-body .l-main,
#the7-body .s-wrapper {
  background-color: #0f172a !important;
  color: #e2e8f0;
}

#the7-body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
}

/* ===== TYPOGRAPHY ===== */
#the7-body h1,
#the7-body h2,
#the7-body h3,
#the7-body h4,
#the7-body h5,
#the7-body h6 {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
  color: #ffffff !important;
}

#the7-body p,
#the7-body li,
#the7-body td,
#the7-body span,
#the7-body div {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
}

#the7-body p { color: #e2e8f0; }

#the7-body a { color: #22c55e; }
#the7-body a:hover { color: #ffffff; }

/* ===== HEADER / MASTHEAD ===== */
#the7-body .masthead,
#the7-body .header-bar,
#the7-body .sticky-header-wrap,
#the7-body .sticky-header {
  background-color: rgba(15,23,42,0.95) !important;
  border-bottom: 2px solid #22c55e !important;
  backdrop-filter: blur(12px);
}

/* Top bar */
#the7-body .top-bar,
#the7-body .top-bar-bg {
  background-color: #000000 !important;
  border-bottom: 1px solid #1e293b !important;
}

#the7-body .top-bar .mini-contacts,
#the7-body .top-bar a {
  color: #94a3b8 !important;
}

/* Logo area */
#the7-body .branding { background: transparent !important; }

/* ===== NAVIGATION ===== */
#the7-body #primary-menu > li > a,
#the7-body .main-nav > li > a,
#the7-body .main-nav li a .menu-text {
  color: #22c55e !important;
  font-family: 'Segoe UI', system-ui, sans-serif !important;
  font-weight: 600;
}

#the7-body #primary-menu > li > a:hover,
#the7-body .main-nav > li > a:hover,
#the7-body .main-nav li:hover > a .menu-text {
  color: #ffffff !important;
}

#the7-body .main-nav li a .subtitle-text,
#the7-body #primary-menu .subtitle-text,
#the7-body .menu-item-text .subtitle-text {
  color: #e2e8f0 !important;
  opacity: 1 !important;
}

/* Dropdown */
#the7-body .main-nav .sub-nav,
#the7-body ul.main-nav ul {
  background-color: #1e293b !important;
  border: 1px solid #334155 !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5) !important;
}

#the7-body .main-nav .sub-nav li a .menu-text {
  color: #e2e8f0 !important;
}
#the7-body .main-nav .sub-nav li a:hover .menu-text {
  color: #22c55e !important;
}

/* Mobile menu */
#the7-body .dt-mobile-header {
  background-color: rgba(15,23,42,0.98) !important;
}
#the7-body .mobile-main-nav li a .menu-text {
  color: #22c55e !important;
}

/* ===== PAGE TITLE ===== */
#the7-body .page-title,
#the7-body .page-title.solid-bg,
#the7-body .page-title-bg {
  background-color: #1e293b !important;
  border-bottom: 1px solid #334155 !important;
}

#the7-body .page-title h1,
#the7-body .page-title .page-title-text {
  color: #ffffff !important;
}

#the7-body .breadcrumbs,
#the7-body .breadcrumbs li,
#the7-body .breadcrumbs li a,
#the7-body .breadcrumbs li span,
#the7-body .page-title-breadcrumbs .breadcrumbs,
#the7-body .page-title-breadcrumbs ol,
#the7-body .page-title-breadcrumbs li,
#the7-body .page-title-breadcrumbs a,
#the7-body .page-title-breadcrumbs span {
  color: #e2e8f0 !important;
  opacity: 1 !important;
}
#the7-body .breadcrumbs a:hover,
#the7-body .page-title-breadcrumbs a:hover { color: #22c55e !important; }

/* ===== MAIN CONTENT AREA ===== */
#the7-body #main,
#the7-body .wf-wrap,
#the7-body .wpb-content-wrapper,
#the7-body .vc_row,
#the7-body .wpb_row,
#the7-body .vc_column_container,
#the7-body .vc_column-inner,
#the7-body .wpb_wrapper {
  background-color: transparent !important;
}

/* WPBakery row backgrounds — override inline styles */
#the7-body .vc_row[style*="background-color: #fff"],
#the7-body .vc_row[style*="background-color:#fff"],
#the7-body .vc_row[style*="background-color: white"],
#the7-body .vc_row[style*="background: #fff"],
#the7-body .vc_row[style*="background: white"] {
  background-color: #1e293b !important;
}

/* Content text */
#the7-body .entry-content,
#the7-body .page-content,
#the7-body .post-content {
  background: transparent !important;
  color: #e2e8f0;
}

/* ===== CONTENT BOXES / CARDS ===== */
#the7-body .dt-sc-div,
#the7-body .dt-sc-icon-box,
#the7-body .dt-sc-counter-box,
#the7-body .the7-feature-box,
#the7-body .the7-service-box,
#the7-body [class*="dt-sc-icon-box"],
#the7-body .vc_separator {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}

/* Custom me-* content blocks */
#the7-body [class^="me-"],
#the7-body [class*=" me-"] {
  color: #e2e8f0;
}

#the7-body .me-hero-body,
#the7-body .me-quote-body {
  color: #94a3b8;
}

/* ===== BUTTONS ===== */
#the7-body .dt-btn,
#the7-body .dt-btn-s,
#the7-body .dt-btn-m,
#the7-body .the7-button,
#the7-body input[type="submit"],
#the7-body button[type="submit"],
#the7-body .wpcf7-submit {
  background-color: #22c55e !important;
  color: #0f172a !important;
  border-color: #22c55e !important;
  font-family: 'Segoe UI', system-ui, sans-serif !important;
  font-weight: 700 !important;
}
#the7-body .dt-btn:hover,
#the7-body .the7-button:hover,
#the7-body input[type="submit"]:hover {
  background-color: #16a34a !important;
  border-color: #16a34a !important;
  color: #0f172a !important;
}

/* ===== FORMS ===== */
#the7-body input[type="text"],
#the7-body input[type="email"],
#the7-body input[type="tel"],
#the7-body input[type="url"],
#the7-body textarea,
#the7-body select {
  background-color: #1e293b !important;
  border-color: #334155 !important;
  color: #ffffff !important;
  font-family: 'Segoe UI', system-ui, sans-serif !important;
}
#the7-body input::placeholder,
#the7-body textarea::placeholder { color: #475569; }
#the7-body input:focus,
#the7-body textarea:focus {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.2) !important;
}

/* ===== FOOTER ===== */
#the7-body #footer,
#the7-body .footer-area,
#the7-body .footer-sidebar,
#the7-body .bottom-bar,
#the7-body .footer-bar {
  background-color: #000000 !important;
  border-top: 2px solid #22c55e !important;
  color: #94a3b8 !important;
}

#the7-body #footer a,
#the7-body .footer-area a,
#the7-body .bottom-bar a {
  color: #22c55e !important;
}
#the7-body #footer a:hover,
#the7-body .footer-area a:hover {
  color: #ffffff !important;
}

#the7-body .widget-title,
#the7-body .footer-area .widget-title {
  color: #22c55e !important;
  border-bottom: 1px solid #334155 !important;
}

/* ===== SIDEBAR WIDGETS ===== */
#the7-body .widget,
#the7-body aside .widget,
#the7-body #secondary .widget {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  padding: 1.25rem !important;
  border-radius: 0.5rem;
}

/* ===== PAGE TITLE BREADCRUMBS ===== */
#the7-body .breadcrumbs { color: #e2e8f0; }

/* ===== STRIPES / SECTIONS ===== */
#the7-body .dt-default,
#the7-body [data-bg-color] {
  background-color: transparent !important;
}

/* ===== TABLES ===== */
#the7-body table th {
  background: #1e293b !important;
  color: #22c55e !important;
  border-color: #334155 !important;
}
#the7-body table td {
  border-color: #334155 !important;
  color: #e2e8f0;
}
#the7-body table tr:hover td { background: rgba(255,255,255,0.03); }

/* ===== MISC ===== */
#the7-body hr,
#the7-body .vc_separator .vc_sep_holder .vc_sep_line {
  border-color: #334155 !important;
}

#the7-body blockquote {
  border-left: 4px solid #22c55e !important;
  background: #1e293b;
  color: #94a3b8;
}

/* Page loader */
#the7-body #load { background: #0f172a !important; }

/* ===== ME-* CONTENT BLOCKS (inline styles override) ===== */
#the7-body .me-card {
  background: #1e293b !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
  border-top-color: #22c55e !important;
}
#the7-body .me-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(34,197,94,0.15) !important;
}
#the7-body .me-card h3 { color: #ffffff !important; }
#the7-body .me-card p  { color: #94a3b8 !important; }

#the7-body .me-feature,
#the7-body .me-feature-red,
#the7-body .me-feature-blue,
#the7-body .me-feature-green {
  background: #1e293b !important;
}
#the7-body .me-feature-red   { border-left-color: #ef4444 !important; }
#the7-body .me-feature-blue  { border-left-color: #3b82f6 !important; }
#the7-body .me-feature-green { border-left-color: #22c55e !important; }
#the7-body .me-feature *      { color: #e2e8f0 !important; }

#the7-body .me-hero-body  { color: #94a3b8 !important; font-family: 'Segoe UI', system-ui, sans-serif !important; font-size: 15px; line-height: 1.75; }
#the7-body .me-quote-body { color: #94a3b8 !important; font-family: 'Segoe UI', system-ui, sans-serif !important; font-style: italic; }

/* Force font on ALL me-* elements */
#the7-body [class^="me-"],
#the7-body [class*=" me-"] {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
  color: #e2e8f0;
}

/* Headings inside me-* */
#the7-body [class^="me-"] h1,
#the7-body [class^="me-"] h2,
#the7-body [class^="me-"] h3,
#the7-body [class^="me-"] h4 { color: #ffffff !important; }

/* Muted text inside me-* */
#the7-body [class^="me-"] p,
#the7-body [class^="me-"] li { color: #94a3b8 !important; }

/* Any other inline white backgrounds in content */
#the7-body .wpb_wrapper [style*="background-color: #fff"],
#the7-body .wpb_wrapper [style*="background-color:#fff"],
#the7-body .wpb_wrapper [style*="background-color: white"],
#the7-body .wpb_wrapper [style*="background: #fff"],
#the7-body .wpb_wrapper [style*="background: white"],
#the7-body .wpb_wrapper [style*="background-color: rgb(255, 255, 255)"],
#the7-body .entry-content [style*="background-color: #fff"],
#the7-body .entry-content [style*="background:#fff"] {
  background-color: #1e293b !important;
  color: #e2e8f0 !important;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #22c55e; }
