/*
Theme Name: Smart Home Maker
Theme URI: https://the-smart-home-maker.com
Author: Daniel
Description: Dark modern tech blog theme for The Smart Home Maker. Built with Inter + JetBrains Mono, glassmorphism cards, and purple-cyan brand accents.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smart-home-maker
*/

/* ===== RESET & VARIABLES ===== */
:root {
  --brand-purple: #6746CE;
  --brand-purple-light: #D3B6EC;
  --brand-purple-vivid: #7C5CFC;
  --brand-cyan: #00D4FF;
  --bg-deep: #08080D;
  --bg-surface: #0D0D14;
  --bg-card: rgba(255,255,255,0.025);
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(103,70,206,0.35);
  --text-white: #F0F0F4;
  --text-gray: #8A8A9E;
  --text-dim: #52526A;
  --accent-green: #6FFF90;
  --glow-purple: rgba(103,70,206,0.12);
  --glow-cyan: rgba(0,212,255,0.08);
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --r: 14px;
  --r-pill: 9999px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  background: var(--bg-deep);
  color: var(--text-white);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html, body {
  background: #08080D !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip;
  width: 100% !important;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100% !important; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== LAYOUT ===== */
.site-container { max-width: 1140px; margin: 0 auto; padding: 0 36px; }

/* ===== NAV ===== */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,13,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 36px;
  display: flex; align-items: center; height: 60px;
}
.logo-group { display: flex; align-items: center; gap: 12px; }
.logo-icon { height: 32px; width: auto; max-width: 32px !important; object-fit: contain; }
.logo-text { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; color: var(--text-white); }
.nav-menu { display: flex; gap: 28px; margin-left: auto; margin-right: 20px; }
.nav-menu a {
  font-size: 13px; font-weight: 500; color: var(--text-gray);
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--text-white); }
.nav-cta {
  background: var(--brand-purple); color: #fff; border: none;
  padding: 8px 20px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; cursor: pointer;
  font-family: var(--mono); letter-spacing: 0.04em;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--brand-purple-vivid); }

/* Language switcher */
.lang-switch { display: flex; gap: 4px; margin-right: 12px; }
.lang-btn {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  padding: 4px 8px; border-radius: 4px;
  color: var(--text-dim); transition: all 0.2s;
  border: 1px solid transparent;
}
.lang-btn:hover { color: var(--text-white); }
.lang-btn.active {
  color: var(--brand-purple-light);
  border-color: rgba(103,70,206,0.3);
  background: var(--glow-purple);
}

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; color: var(--text-white); font-size: 24px; cursor: pointer; }

/* ===== HERO (front-page) ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 80px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: end;
}
.hero::before {
  content: ''; position: absolute; top: -200px; left: 30%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
  pointer-events: none;
}
.hero-left { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 5px 14px; border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 11px; color: var(--text-dim);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-green); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: clamp(44px, 5.5vw, 64px); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 20px;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--brand-purple), var(--brand-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-desc { color: var(--text-gray); font-size: 17px; line-height: 1.8; max-width: 480px; }
.hero-right {
  position: relative; z-index: 1;
  border-left: 1px solid var(--border); padding-left: 36px;
}
.hero-stats { display: flex; gap: 36px; }
.stat-num {
  font-family: var(--mono); font-size: 32px; font-weight: 700;
  background: linear-gradient(135deg, var(--brand-purple-light), var(--brand-cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label {
  font-family: var(--mono); font-size: 10px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.14em; margin-top: 2px;
}
.hero-buttons { display: flex; gap: 12px; margin-top: 32px; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-purple), #5535B8);
  color: #fff; padding: 13px 28px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--glow-purple); }
.btn-ghost {
  display: inline-block;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-white); padding: 13px 28px; border-radius: 10px;
  font-weight: 500; font-size: 14px; transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--border-hover); }

/* ===== DIVIDER ===== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ===== AUTHOR STRIP ===== */
.author-strip {
  padding: 40px 0;
  display: flex; align-items: center; gap: 24px;
}
.author-avatar { position: relative; flex-shrink: 0; }
.author-avatar img {
  width: 72px !important; height: 72px !important; max-width: 72px !important; border-radius: 50%; object-fit: cover;
  border: 2.5px solid transparent;
  background-image: linear-gradient(var(--bg-deep), var(--bg-deep)), linear-gradient(135deg, var(--brand-purple), var(--brand-cyan));
  background-origin: border-box;
  background-clip: content-box, border-box;
  box-shadow: 0 0 20px var(--glow-purple), 0 0 40px var(--glow-cyan);
}
.author-avatar .status {
  position: absolute; bottom: 2px; right: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-green); border: 2.5px solid var(--bg-deep);
}
.author-info { flex: 1; }
.author-name { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.author-bio { font-size: 13px; color: var(--text-gray); line-height: 1.6; max-width: 520px; }
.author-social { display: flex; gap: 12px; margin-left: auto; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 16px; transition: all 0.2s;
}
.social-link:hover { border-color: var(--border-hover); color: var(--brand-purple-light); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.social-link svg[fill="none"] { fill: none; }

/* ===== FEED SECTION ===== */
.feed-section { padding: 64px 0; }
.feed-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 40px;
}
.feed-label {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-dim);
}
.feed-filters { display: flex; gap: 6px; }
.filter-btn {
  font-family: var(--mono); font-size: 11px; padding: 5px 14px;
  border-radius: 6px; border: 1px solid var(--border);
  background: transparent; color: var(--text-dim); cursor: pointer;
  transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--glow-purple); border-color: var(--border-hover);
  color: var(--brand-purple-light);
}

/* ===== FEATURED POST ===== */
.featured-post {
  display: grid; grid-template-columns: 1.2fr 1fr;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  margin-bottom: 32px; transition: border-color 0.3s;
  position: relative;
}
.featured-post:hover { border-color: var(--border-hover); }
.featured-visual {
  min-height: 340px; position: relative; overflow: hidden;
}
.featured-visual img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; top: 0; left: 0;
}
.featured-visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 50%, var(--bg-surface) 100%);
}
.featured-body {
  padding: 44px; display: flex; flex-direction: column; justify-content: center;
}
.featured-meta {
  font-family: var(--mono); font-size: 11px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px;
}
.featured-body h2 {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.3; margin-bottom: 14px;
}
.featured-body h2 a { color: var(--text-white); }
.featured-body h2 a:hover { color: var(--brand-purple-light); }
.featured-body .excerpt { color: var(--text-gray); line-height: 1.8; margin-bottom: 24px; font-size: 14px; }
.read-link {
  font-family: var(--mono); font-size: 12px; color: var(--brand-purple-light);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.2s, color 0.2s;
}
.read-link:hover { gap: 14px; color: var(--brand-cyan); }

/* ===== NUMBERED POST LIST ===== */
.post-list { display: flex; flex-direction: column; gap: 2px; }
.post-item {
  display: grid; grid-template-columns: 40px 72px 1fr auto;
  align-items: center; gap: 16px;
  padding: 14px 20px; border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.25s;
}
.post-item:hover {
  background: var(--bg-card); border-color: var(--border);
}
.pi-num {
  font-family: var(--mono); font-size: 24px; font-weight: 700;
  color: var(--text-dim); transition: color 0.25s;
}
.post-item:hover .pi-num { color: var(--brand-purple-light); }
.pi-thumb {
  width: 72px; height: 48px; border-radius: 6px; overflow: hidden; flex-shrink: 0;
}
.pi-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pi-content h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em; }
.pi-content h3 a { color: var(--text-white); }
.pi-content h3 a:hover { color: var(--brand-purple-light); }
.pi-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.pi-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ===== TAGS ===== */
.tag {
  font-family: var(--mono); font-size: 10px; padding: 3px 10px;
  border-radius: 4px; border: 1px solid var(--border);
  color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em;
  white-space: nowrap; display: inline-block;
}
.tag.purple { border-color: rgba(103,70,206,0.3); color: var(--brand-purple-light); }
.tag.cyan { border-color: rgba(0,212,255,0.25); color: var(--brand-cyan); }
.tag.green { border-color: rgba(111,255,144,0.2); color: var(--accent-green); }

/* ===== ARTICLE GRID ===== */
.article-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px; margin-top: 24px;
}
.article-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.article-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.card-visual { height: 190px; position: relative; overflow: hidden; background: var(--bg-surface); }
.card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.article-card:hover .card-visual img { transform: scale(1.04); }
.card-body { padding: 22px; }
.card-body .tag { margin-bottom: 10px; }
.card-title { font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; letter-spacing: -0.01em; }
.card-title a { color: var(--text-white); }
.card-title a:hover { color: var(--brand-purple-light); }
.card-excerpt { font-size: 13px; color: var(--text-gray); line-height: 1.7; margin-bottom: 14px; }
.card-footer {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--text-dim);
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex; justify-content: center; gap: 8px;
  padding: 48px 0;
}
.pagination a, .pagination span {
  font-family: var(--mono); font-size: 13px;
  padding: 8px 16px; border-radius: 8px;
  border: 1px solid var(--border); color: var(--text-dim);
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--border-hover); color: var(--brand-purple-light); }
.pagination .current {
  background: var(--glow-purple); border-color: var(--border-hover);
  color: var(--brand-purple-light);
}

/* ===== SINGLE POST ===== */
.single-post-content { max-width: 720px; margin: 0 auto; padding: 80px 0; }
.single-meta {
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.1em;
  display: flex; gap: 16px; margin-bottom: 24px; align-items: center;
  flex-wrap: wrap;
}
.single-meta .cat {
  color: var(--brand-purple-light); border: 1px solid rgba(103,70,206,0.3);
  padding: 2px 10px; border-radius: 4px;
}
.single-post-content > h1,
.single-post-content .entry-title {
  font-size: clamp(30px, 4vw, 42px); font-weight: 800;
  line-height: 1.18; letter-spacing: -0.025em; margin-bottom: 24px;
}
.single-featured-image {
  width: 100%; border-radius: var(--r); overflow: hidden; margin-bottom: 40px;
}
.single-featured-image img { width: 100%; height: auto; }

/* Entry content */
.entry-content p { color: var(--text-gray); line-height: 1.85; margin-bottom: 20px; }
.entry-content strong { color: var(--text-white); }
.entry-content em { font-style: italic; }
.entry-content a { color: var(--brand-purple-light); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--brand-cyan); }
.entry-content h2 { font-size: 22px; font-weight: 700; margin: 48px 0 16px; letter-spacing: -0.01em; color: var(--text-white); }
.entry-content h3 { font-size: 18px; font-weight: 600; margin: 36px 0 12px; color: var(--text-white); }
.entry-content h4 { font-size: 16px; font-weight: 600; margin: 28px 0 10px; color: var(--text-white); }
.entry-content ul, .entry-content ol {
  margin: 16px 0; padding-left: 24px;
  list-style: disc; color: var(--text-gray);
}
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 8px; line-height: 1.7; }
.entry-content blockquote {
  background: rgba(0,212,255,0.04); border-left: 3px solid var(--brand-cyan);
  border-radius: 0 10px 10px 0; padding: 20px 24px; margin: 28px 0;
}
.entry-content blockquote p { color: var(--text-gray); margin: 0; }
.entry-content code {
  font-family: var(--mono); font-size: 13px;
  background: rgba(103,70,206,0.1); color: var(--brand-purple-light);
  padding: 2px 8px; border-radius: 4px;
}
.entry-content pre {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 24px; margin: 24px 0; overflow-x: auto;
}
.entry-content pre code {
  background: none; padding: 0; color: var(--text-white);
  font-size: 13px; line-height: 1.9; display: block;
}
.entry-content img {
  border-radius: var(--r); margin: 24px 0;
}
.entry-content .wp-block-image { margin: 32px 0; }
.entry-content .wp-block-image img { border-radius: var(--r); }
.entry-content figure figcaption {
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
  text-align: center; margin-top: 8px;
}

/* YouTube embed responsive */
.entry-content iframe,
.entry-content .wp-block-embed__wrapper iframe {
  border-radius: var(--r); width: 100%; aspect-ratio: 16/9; height: auto;
}

/* ===== NEWSLETTER ===== */
.newsletter-section { padding: 0 0 80px; }
.nl-card {
  position: relative; overflow: hidden;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 56px; text-align: center;
}
.nl-card::before {
  content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
  pointer-events: none;
}
.nl-card h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; position: relative; }
.nl-card p { color: var(--text-gray); margin-bottom: 28px; position: relative; font-size: 14px; }
.nl-form { display: flex; gap: 10px; justify-content: center; position: relative; max-width: 400px; margin: 0 auto; }
.nl-form input {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 18px; color: var(--text-white);
  font-size: 14px; outline: none; font-family: var(--sans);
}
.nl-form input::placeholder { color: var(--text-dim); }
.nl-form input:focus { border-color: var(--brand-purple); }
.nl-form button {
  background: var(--brand-purple); color: #fff; border: none;
  padding: 13px 24px; border-radius: 10px; font-weight: 600;
  font-size: 13px; cursor: pointer; font-family: var(--mono);
  letter-spacing: 0.04em; white-space: nowrap; transition: background 0.2s;
}
.nl-form button:hover { background: var(--brand-purple-vivid); }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 36px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-dim);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-family: var(--mono); font-size: 11px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.06em; transition: color 0.2s;
}
.footer-links a:hover { color: var(--brand-purple-light); }

/* ===== SIDEBAR / WIDGETS ===== */
.sidebar-widget {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px; margin-bottom: 24px;
}
.sidebar-widget h3, .widget-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 16px;
  font-family: var(--mono);
}
.sidebar-widget ul { list-style: none; padding: 0; }
.sidebar-widget li { margin-bottom: 10px; }
.sidebar-widget a { color: var(--text-gray); font-size: 14px; transition: color 0.2s; }
.sidebar-widget a:hover { color: var(--brand-purple-light); }

/* ===== COMMENTS ===== */
.comments-area { max-width: 720px; margin: 0 auto; padding: 0 0 60px; }
.comments-area h2 { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.comment-list { list-style: none; padding: 0; }
.comment {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px; margin-bottom: 16px;
}
.comment-author { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.comment-meta { font-family: var(--mono); font-size: 11px; color: var(--text-dim); margin-bottom: 12px; }
.comment-content p { color: var(--text-gray); font-size: 14px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; color: var(--text-white);
  font-size: 14px; font-family: var(--sans); outline: none; margin-bottom: 12px;
}
.comment-respond textarea { min-height: 120px; resize: vertical; }
.comment-respond input:focus,
.comment-respond textarea:focus { border-color: var(--brand-purple); }
.comment-respond .submit {
  background: var(--brand-purple); color: #fff; border: none;
  padding: 12px 28px; border-radius: 10px; font-weight: 600;
  font-size: 14px; cursor: pointer; transition: background 0.2s;
}
.comment-respond .submit:hover { background: var(--brand-purple-vivid); }

/* ===== SEARCH ===== */
.search-form {
  display: flex; gap: 10px;
}
.search-form .search-field {
  flex: 1; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 18px; color: var(--text-white);
  font-size: 14px; outline: none;
}
.search-form .search-submit {
  background: var(--brand-purple); color: #fff; border: none;
  padding: 12px 20px; border-radius: 10px; font-weight: 600;
  font-size: 13px; cursor: pointer;
}

/* ===== 404 ===== */
.error-404 { text-align: center; padding: 120px 0; }
.error-404 h1 { font-size: 64px; font-weight: 900; margin-bottom: 16px; }
.error-404 p { color: var(--text-gray); font-size: 18px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-menu { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-menu.active {
    display: flex; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--bg-surface); border-bottom: 1px solid var(--border);
    padding: 20px; gap: 16px;
  }
  .nav-cta { display: none; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 60px 0 40px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-buttons { flex-wrap: wrap; }
  .nav-inner { padding: 0 16px; }
  .site-container { padding: 0 16px; }
  .hero-right { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-visual { min-height: 200px; }
  .post-item { grid-template-columns: 32px 56px 1fr; }
  .pi-tags { display: none; }
  .pi-thumb { width: 56px; height: 38px; }
  .article-grid { grid-template-columns: 1fr; }
  .author-strip { flex-wrap: wrap; }
  .author-info { flex: 1 1 100%; order: 2; margin-top: 8px; }
  .author-avatar { order: 1; }
  .author-social { order: 3; margin-left: 0; margin-top: 12px; width: 100%; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .single-post-content { padding: 40px 0; }
  .nl-card { padding: 36px 24px; }
  .nl-form { flex-direction: column; }
}

/* ===== WP SPECIFIC OVERRIDES ===== */
.wp-block-separator { border-color: var(--border); margin: 40px 0; }
.wp-block-table table { width: 100%; border-collapse: collapse; }
.wp-block-table td, .wp-block-table th {
  border: 1px solid var(--border); padding: 10px 14px;
  font-size: 14px; color: var(--text-gray);
}
.wp-block-table th { color: var(--text-white); font-weight: 600; }
.alignwide { max-width: 960px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(-50vw + 50%); }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px;
  overflow: hidden; word-wrap: normal;
}
