
/*
 Theme Name: Actual Minds – Hello Elementor Child
 Theme URI: https://actualminds.example
 Description: Child theme for Hello Elementor with dark blue gradient blog single, search, and 404 templates.
 Author: Actual Minds
 Version: 1.0.0
 Template: hello-elementor
 Text Domain: actualminds-hello-child
*/

/* Import parent styles (fallback if functions enqueue fails) */
@import url("../hello-elementor/style.css");

:root{
  --am-bg: #0B1020;
  --am-bg-2: #0d1327;
  --am-card: #0f172a;
  --am-card-2: #111827;
  --am-text: #E5E7EB;
  --am-muted: #9CA3AF;
  --am-primary: #2563EB; /* Electric Blue */
  --am-primary-700:#1E3A8A;
  --am-gradient-start: #0E1A3C;
  --am-gradient-end: #071327;
  --am-radius: 16px;
  --am-gap: 24px;
  --am-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Global dark mode */
body{
  background: radial-gradient(1200px 600px at 50% -100px, rgba(37,99,235,.15), transparent 60%),
              radial-gradient(1200px 600px at 80% -80px, rgba(124,58,237,.10), transparent 60%),
              var(--am-bg);
  color: var(--am-text);
}
a{ color: var(--am-primary); text-decoration: none; }
a:hover{ color: #5B8CFF; }

/* Hero band used on single/search/404 */
.am-hero{
  background: linear-gradient(180deg, #0b1226 0%, #0b1226E6 65%, transparent 100%);
  padding: 48px 0 12px;
  margin-bottom: 24px;
  position: relative;
}
.am-hero .am-title{
  font-weight: 800;
  letter-spacing: .2px;
  margin: 0;
  color: #F3F4F6;
}
.am-breadcrumbs{font-size:13px;color:var(--am-muted);}

/* Layout */
.container-am{ width: min(1180px, 92vw); margin: 0 auto; }
.am-grid{ display: grid; grid-template-columns: 1fr; gap: var(--am-gap); }
@media(min-width: 992px){
  .am-grid{ grid-template-columns: 1fr 330px; }
}
.am-card{
  background: linear-gradient(180deg, #0e152c, #0b1226);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: var(--am-shadow);
  border-radius: var(--am-radius);
  overflow: hidden;
}
.am-card-inner{ padding: 22px; }
.am-section{ margin-bottom: 28px; }
.am-meta{ font-size: 14px; color: var(--am-muted); display:flex; gap:16px; align-items:center; }

/* Content */
.single .entry-title, .search .page-title{ color: #F9FAFB; }
.single .entry-content p{ color:#D1D5DB; line-height:1.75; }
.single .entry-content img{ border-radius: 12px; }

/* Sidebar widgets */
.am-widget{ background:#0E152C; border:1px solid rgba(255,255,255,.06); border-radius:12px; margin-bottom:18px; }
.am-widget .am-widget-title{ padding:16px 18px; font-weight:700; border-bottom:1px solid rgba(255,255,255,.06); }
.am-widget .am-widget-body{ padding:16px 18px; color:#CBD5E1; }
.widget_categories ul{ list-style:none; margin:0; padding-left:0;}
.widget_categories li{ padding:8px 0; border-bottom:1px dashed rgba(255,255,255,.07); }
.widget_categories li:last-child{ border-bottom:0; }

/* Buttons */
.button, .am-btn, .search .nav-links a, .post-password-form input[type=submit]{
  display:inline-block; padding:12px 18px; border-radius:10px; background:var(--am-primary);
  color:#fff; font-weight:600; border:none;
}
.button:hover, .am-btn:hover{ background: var(--am-primary-700); color:#fff; }

/* Search results list */
.am-results .result{ padding:18px; border-bottom:1px solid rgba(255,255,255,.06); }
.am-results .result:last-child{ border-bottom:0; }
.am-results .result a{ font-weight:700; font-size:18px; }
.am-results .result .excerpt{ color:#C7D2FE; }

/* 404 */
.am-404{ text-align:center; padding: 80px 0 100px; }
.am-404 .code{ font-size:72px; font-weight:800; margin:0 0 8px; color:#fff; }
.am-404 .msg{ font-size:22px; color:#E5E7EB; margin-bottom:16px; }
.am-404 .desc{ color:#9CA3AF; max-width:600px; margin: 0 auto 22px; }
