/*
Theme Name: Affiliate Toolbox Blog
Theme URI: http://yourdomain.com/
Author: Peter
Author URI: http://yourdomain.com
Description: Futuristic & calm affiliate marketing blog — unified card design, no stacking!
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: affiliate-toolbox-blog
Tags: clean, modern, affiliate, blog, Orbitron, responsive
*/

@import url('https://fonts.googleapis.com/css?family=Orbitron:700&display=swap');

:root {
  --primary: #10f1ff;
  --secondary: #3838c9;
  --bg: #0e1023;
  --card-bg: #181a36;
  --text: #eaf6fb;
  --cta: #ff7d10;
  --shadow: 0 10px 30px rgba(16, 241, 255, 0.20), 0 1.5px 4.5px var(--secondary);
}

body {
  background: linear-gradient(134deg, #15163a 0%, #1c3347 70%);
  color: var(--text);
  font-family: 'Orbitron', Arial, sans-serif;
  margin: 0;
  padding: 0;
  font-size: 17px;
  line-height: 1.7;
}

/* HEADER */
.header {
  background: rgba(16, 241, 255, 0.15);
  padding: 40px 10px 30px 10px;
  text-align: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.header h1 {
  font-size: 2.8em;
  color: var(--primary);
  text-shadow: 2px 2px 14px #0699db;
  margin-bottom: 10px;
  margin-top: 0;
  letter-spacing: 2px;
}

.header p {
  font-size: 1.3em;
  color: #bceaff;
  margin-bottom: 0;
  margin-top: 0;
  letter-spacing: 1px;
}

nav {
  margin-top: 30px;
}

nav a {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px;
  transition: color 0.2s;
  font-size: 1.1em;
}

nav a:hover {
  color: var(--cta);
  text-shadow: 0 0 5px var(--cta);
}

.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
}

.main-content {
  flex: 1 1 70%;
  min-width: 300px;
}

.sidebar {
  flex: 1 1 25%;
  min-width: 280px;
  position: sticky;
  top: 180px;
}

/* YOUR UNIFIED CARD DESIGN — NO STACKING, NO PATCHES */
.article-card, .sidebar-widget {
  background: var(--card-bg);
  color: var(--text);
  border-radius: 22px;
  box-shadow: 0 6px 24px rgba(16, 241, 255, 0.13), 0 2px 12px var(--secondary);
  padding: 34px 26px;
  margin-bottom: 26px;
  border: 2px solid var(--cta); /* bold orange-red outline */
}

/* Unified headers and effect for article/card */
.article-header {
  text-align: center;
  margin-bottom: 40px;
}

.article-header .category {
  color: var(--cta);
  font-weight: bold;
  letter-spacing: 1px;
}

.article-header h1 {
  font-size: 2.4em;
  color: var(--primary);
  margin: 10px 0;
}

.article-header .meta {
  color: #bceaff;
  font-size: 0.9em;
}

.featured-image {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 8px 30px #0e1023;
}

.article-content h2, .article-content h3 {
  color: var(--primary);
  letter-spacing: 1px;
}
.article-content h2 { font-size: 1.8em; margin-top: 40px;}
.article-content h3 { font-size: 1.5em; margin-top: 30px;}

.article-content p, .article-content li {
  color: #cbe7fd;
}

.article-content a {
  color: var(--cta);
  text-decoration: none;
  font-weight: bold;
}
.article-content a:hover {
  text-decoration: underline;
}

.article-content ul {
  list-style: none;
  padding-left: 20px;
}
.article-content ul li {
  padding-left: 30px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2310f1ff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 20px;
  margin-bottom: 10px;
}

.author-box {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--primary);
  color: #222;
}

.author-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--cta);
}

/* Sidebar CTA and widgets */
.sidebar-widget h3 {
  font-size: 1.5em;
  color: var(--primary);
  margin-top: 0;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 11px 32px;
  border-radius: 30px;
  background: linear-gradient(90deg, #0ff2fc, #ff7d10);
  color: #17193a;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.11em;
  box-shadow: 0 4px 16px var(--primary);
  transition: all 0.22s;
  border: none;
  cursor: pointer;
  text-shadow: 0 0 8px #d6fafb44;
  text-align: center;
}
.btn:hover {
  background: linear-gradient(90deg, #ff7d10, #0ff2fc);
  color: #fff;
  transform: scale(1.038);
}

.sidebar-cta {
  padding: 25px;
  border: 2px solid var(--cta);
}

.sidebar-cta .btn {
  display: block;
  margin-top: 20px;
}

footer {
  margin-top: 120px;
  padding: 40px 20px;
  background: #0e1023;
  text-align: center;
  color: #aef;
  font-size: 1em;
  font-family: Arial, sans-serif;
}

.footer-links a {
  color: var(--primary);
  margin: 0 15px;
}

@media(max-width:900px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
  .main-content, .sidebar {
    flex: 1 1 100%;
    width: 100%;
  }
  .sidebar {
    position: static;
  }
}
/* ULTRA-SPECIFIC CARDS & SIDEBAR WIDGETS — DESIGN LOCKDOWN */
.article-card,
.wp-block-group.article-card,
.sidebar .wp-block-group,
.sidebar-widget,
.sidebar .sidebar-widget,
.widget,
.sidebar .widget_block,
.sidebar .wp-block-group.widget {
    background: var(--card-bg) !important;
    color: var(--text) !important;
    border-radius: 22px !important;
    box-shadow: 0 6px 24px rgba(16, 241, 255, 0.13), 0 2px 12px var(--secondary) !important;
    padding: 34px 26px !important;
    margin-bottom: 26px !important;
    border: 2.5px solid var(--cta) !important;
    font-family: 'Orbitron', Arial, sans-serif !important;
}

.sidebar-widget h3,
.widget h3,
.wp-block-heading {
    color: var(--primary) !important;
    font-size: 1.5em !important;
    margin-top: 0 !important;
    text-align: center !important;
    font-family: 'Orbitron', Arial, sans-serif !important;
}

.article-header h1,
.article-card h1 {
    color: var(--primary) !important;
    font-family: 'Orbitron', Arial, sans-serif !important;
}

.btn, .sidebar-cta .btn, .article-content .btn {
    background: linear-gradient(90deg, #0ff2fc, #ff7d10) !important;
    color: #17193a !important;
    font-weight: 700 !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 16px var(--primary) !important;
    border: none !important;
    padding: 11px 32px !important;
    display: inline-block !important;
    text-shadow: 0 0 8px #d6fafb44 !important;
    font-size: 1.11em !important;
    transition: all 0.22s !important;
    cursor: pointer !important;
    text-align: center !important;
    font-family: 'Orbitron', Arial, sans-serif !important;
}
.btn:hover {
    background: linear-gradient(90deg, #ff7d10, #0ff2fc) !important;
    color: #fff !important;
    transform: scale(1.038) !important;
}

.sidebar .wp-block-search,
.sidebar .widget_search {
    background: var(--card-bg) !important;
    border-radius: 14px !important;
    padding: 15px !important;
    border: 2px solid var(--cta) !important;
}

.sidebar .wp-block-search input,
.sidebar .widget_search input[type="search"] {
    border: none !important;
    border-radius: 8px !important;
    background: #222750 !important;
    color: var(--text) !important;
    padding: 7px 12px !important;
    font-family: 'Orbitron', Arial, sans-serif !important;
}