/*
Theme Name: MacGames Dark
Theme URI: https://macgames.fun
Author: macgames.fun
Description: Macでもゲームがしたい！ - カスタムダークゲーミングテーマ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: macgames-dark
*/
/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  overflow-x: hidden;
  width: 100%;
}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a28;
  --bg-card-hover: #222236;
  --bg-accent: #16162a;
  --text-primary: #e8e8f0;
  --text-secondary: #9898b0;
  --text-muted: #686888;
  --accent-blue: #00b4ff;
  --accent-cyan: #00e5cc;
  --accent-purple: #8b5cf6;
  --accent-orange: #ff6b35;
  --accent-green: #22c55e;
  --accent-red: #ef4444;
  --gradient-main: linear-gradient(135deg, #00b4ff, #00e5cc);
  --gradient-cta: linear-gradient(135deg, #ff6b35, #ff8f5e);
  --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1a2e 100%);
  --border-color: rgba(255,255,255,0.06);
  --border-accent: rgba(0,180,255,0.3);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 20px rgba(0,180,255,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font-sans: 'Noto Sans JP', 'Inter', -apple-system, sans-serif;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

iframe, video, embed, object {
  max-width: 100%;
}

table {
  max-width: 100%;
}

a { color: var(--accent-blue); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--accent-cyan); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
.section-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 8px;
  font-weight: 700;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  color: #000;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== HEADER ===== */
.header {
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
  color: var(--text-primary);
}
.logo .icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.logo span { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.nav a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav a.active { color: var(--accent-blue); background: rgba(0,180,255,0.1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.search-box {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  gap: 8px;
  width: 220px;
  transition: all 0.2s;
}
.search-box:focus-within { border-color: var(--accent-blue); box-shadow: var(--shadow-glow); }
.search-box input {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  width: 100%;
  font-family: var(--font-sans);
}
.search-box input::placeholder { color: var(--text-muted); }
.search-icon { color: var(--text-muted); font-size: 14px; }

/* ===== HERO ===== */
.hero {
  background: var(--gradient-hero);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,180,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,180,255,0.12);
  border: 1px solid rgba(0,180,255,0.25);
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.hero h1 .highlight {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(255,107,53,0.3);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.4);
  color: #fff;
}
.hero-sub {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}
.stats-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 28px;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ===== MAIN CONTENT ===== */
.main-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding: 48px 0;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--gradient-main);
  border-radius: 4px;
}
.view-all {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.view-all:hover { color: var(--accent-blue); }

/* ===== ARTICLE CARDS ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
  cursor: pointer;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}
.card-image {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-accent);
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-image .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #1a1a3e, #2a1a4e);
}
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
}
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(10px);
}
.badge-verified {
  background: rgba(34,197,94,0.85);
  color: #fff;
}
.badge-parallels {
  background: rgba(0,180,255,0.85);
  color: #fff;
}
.badge-testing {
  background: rgba(255,107,53,0.85);
  color: #fff;
}
.card-rating {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-body { padding: 18px; }
.card-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}
.card-date { display: flex; align-items: center; gap: 4px; }
.card-compatibility {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-green);
  font-weight: 600;
}
.card-compatibility.needs-parallels { color: var(--accent-orange); }

/* ===== FEATURED CARD ===== */
.featured-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  transition: all 0.3s;
  cursor: pointer;
}
.featured-card:hover {
  box-shadow: var(--shadow-glow);
}
.featured-card .card-image { aspect-ratio: auto; min-height: 280px; }
.featured-card .card-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.featured-card .card-title { font-size: 22px; -webkit-line-clamp: 3; margin-bottom: 12px; }
.featured-card .card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-blue);
}

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
}
.sidebar-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-title::before {
  content: '';
  width: 3px;
  height: 16px;
  background: var(--gradient-main);
  border-radius: 3px;
}

/* CTA Sidebar */
.cta-sidebar {
  background: linear-gradient(135deg, #1a0a2e, #0a1a3e);
  border: 1px solid rgba(139,92,246,0.3);
  text-align: center;
}
.cta-sidebar .cta-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.cta-sidebar h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.cta-sidebar p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}
.cta-sidebar .price {
  font-size: 13px;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 16px;
}
.cta-btn {
  display: block;
  background: var(--gradient-cta);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
  transition: all 0.3s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.4);
  color: #fff;
}
.cta-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Popular Posts */
.popular-list { display: flex; flex-direction: column; gap: 14px; }
.popular-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.popular-item:hover { background: rgba(255,255,255,0.03); }
.popular-rank {
  width: 28px;
  height: 28px;
  background: var(--bg-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
}
.popular-rank.top { background: var(--gradient-main); color: #000; }
.popular-text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Categories */
.category-list { display: flex; flex-wrap: wrap; gap: 8px; }
.category-tag {
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}
.category-tag:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(0,180,255,0.08);
}

/* ===== COMPATIBILITY TABLE SECTION ===== */
.compat-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
}
.compat-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}
.compat-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-color);
}
.compat-table td {
  padding: 16px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}
.compat-table tr:hover td { background: rgba(255,255,255,0.02); }
.compat-table .game-name { font-weight: 600; }
.compat-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
}
.compat-status.ok { color: var(--accent-green); }
.compat-status.parallels { color: var(--accent-orange); }
.compat-status.ng { color: var(--accent-red); }
.stars { color: #fbbf24; letter-spacing: 2px; }

/* ===== ARTICLE PAGE MOCKUP ===== */
.article-page { padding: 48px 0; }
.article-page-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}
.article-main {}
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.article-breadcrumb a { color: var(--text-muted); }
.article-breadcrumb a:hover { color: var(--accent-blue); }
.article-breadcrumb .sep { color: var(--text-muted); }

.article-header-section { margin-bottom: 32px; }
.article-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.article-tags .tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
}
.article-title-main {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.article-meta-bar .author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Rating Box (theme shortcode [mg_rating]) */
.rating-box {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0 32px;
}
.rating-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.rating-game {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}
.rating-box-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}
.rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}
.rating-row:last-child { border-bottom: none; }
.rating-label { font-size: 14px; color: var(--text-primary); }
.rating-stars { display: flex; align-items: center; gap: 8px; }
.rating-stars .stars { font-size: 16px; color: #fbbf24; }
.rating-score { font-size: 13px; color: var(--text-muted); }

/* Article CTA */
.article-cta {
  background: linear-gradient(135deg, #1a0a2e, #0a1a3e);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin: 32px 0;
}
.article-cta h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.article-cta p { font-size: 14px; color: var(--text-secondary); margin-bottom: 6px; }
.article-cta .trial-info {
  font-size: 13px;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 16px;
}
.article-cta .cta-btn { display: inline-block; padding: 14px 40px; font-size: 16px; }
.article-cta .cta-sub { font-size: 11px; color: var(--text-muted); margin-top: 10px; }

/* Table of Contents */
.toc {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}
.toc-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toc-list { list-style: none; }
.toc-list li {
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}
.toc-list li:last-child { border-bottom: none; }
.toc-list a { color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.toc-list a:hover { color: var(--accent-blue); }
.toc-num { color: var(--accent-blue); font-weight: 700; font-size: 12px; min-width: 20px; }

/* Article Body */
.article-body {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.article-body h2 {
  font-size: 22px;
  font-weight: 800;
  padding: 14px 20px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  border-radius: var(--radius-md);
  margin: 40px 0 20px;
  color: #fff;
}
.article-body p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}
.article-body li {
  margin-bottom: 8px;
  line-height: 1.8;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 12px 16px;
  border-left: 4px solid var(--accent-blue);
  margin: 32px 0 16px;
  background: rgba(0,180,255,0.05);
  border-radius: 0 8px 8px 0;
}
.article-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

/* Author Avatar from get_avatar() */
.article-meta-bar .author img,
.author-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/* Tags from the_tags() */
.article-main .tag-links a,
.post-tags a,
a[rel="tag"] {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-secondary);
  transition: all 0.2s;
}
a[rel="tag"]:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(0,180,255,0.08);
}
.article-body .key-text {
  color: var(--text-primary);
  font-weight: 700;
}
.article-body .highlight-text {
  background: linear-gradient(transparent 60%, rgba(0,180,255,0.2) 60%);
  font-weight: 700;
  color: var(--text-primary);
}

/* Speech Bubble */
.speech-bubble {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 24px 0;
}
.speech-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.speech-text {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.7;
  position: relative;
}
.speech-name {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.footer-title { font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: var(--text-muted); }
.footer-links a:hover { color: var(--accent-blue); }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--accent-blue); color: #fff; }

/* ===== PAGE DIVIDER ===== */
.page-divider {
  text-align: center;
  padding: 48px 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.01) 10px,
    rgba(255,255,255,0.01) 20px
  );
  border-top: 2px dashed rgba(255,255,255,0.1);
  border-bottom: 2px dashed rgba(255,255,255,0.1);
}
.page-divider h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-blue);
}
.page-divider p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
  display: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 20px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1;
}

/* ===== PAGINATION ===== */
.pagination, .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span,
.nav-links a, .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
}
.pagination a:hover, .nav-links a:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(0,180,255,0.08);
}
.pagination .current, .nav-links .current {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}

/* ===== WORDPRESS WIDGETS ===== */
.widget { margin-bottom: 24px; }
.widget select {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  padding: 8px 12px;
  font-family: var(--font-sans);
}
.widget ul { list-style: none; padding: 0; }
.widget ul li { padding: 6px 0; border-bottom: 1px solid var(--border-color); }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--text-secondary); font-size: 14px; }
.widget ul li a:hover { color: var(--accent-blue); }
.widget input[type="search"],
.widget input[type="text"] {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 8px 12px;
  font-family: var(--font-sans);
  outline: none;
}
.widget input[type="search"]:focus,
.widget input[type="text"]:focus {
  border-color: var(--accent-blue);
}
.widget input[type="submit"] {
  background: var(--accent-blue);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
}

/* ===== SANGO BLOCK COMPATIBILITY ===== */

/* --- Speech Bubbles (sgb-block-say) --- */
.sgb-block-say {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 24px 0;
}
.sgb-block-say--left { flex-direction: row; }
.sgb-block-say--right { flex-direction: row-reverse; }
.sgb-block-say-avatar {
  flex-shrink: 0;
  text-align: center;
  width: 64px;
}
.sgb-block-say-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.sgb-block-say-avatar__name {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.sgb-block-say-text {
  position: relative;
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: 16px 20px;
}
.sgb-block-say-text__before,
.sgb-block-say-text__after {
  content: '';
  position: absolute;
  top: 18px;
  width: 0; height: 0;
}
.sgb-block-say--left .sgb-block-say-text__before {
  left: -8px;
  border-right: 8px solid var(--border-color);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.sgb-block-say--left .sgb-block-say-text__after {
  left: -6px;
  border-right: 6px solid var(--bg-card);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.sgb-block-say-text__content {
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 15px;
}
.sgb-block-say-text__content p { margin: 0; }

/* --- Rating Box (SANGO rate-box → mockup rating-box style) --- */
.rate-box, .wp-block-sgb-rate {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
}
.rate-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rate-title::before {
  content: '🏆';
}
.rateline, .wp-block-sgb-rate-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}
.rateline:last-child { border-bottom: none; }
.rate-thing {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
}
.rate-star {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 16px;
}
.rate-star .fa-star { color: #fbbf24; }

/* --- Simple Boxes --- */
.sgb-box-simple, .wp-block-sgb-block-simple {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin: 24px 0;
  overflow: hidden;
}
.sgb-box-simple--with-border {
  border: 2px solid var(--accent-blue);
}
.sgb-box-simple__title {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 15px;
}
.sgb-box-simple--title-center .sgb-box-simple__title {
  text-align: center;
}
.sgb-box-simple__body {
  padding: 20px;
  color: var(--text-primary);
  line-height: 1.8;
}
.sgb-box-simple__body p { margin-bottom: 8px; }

/* --- FAQ --- */
.sgb-faq, .wp-block-sgb-faq {
  margin: 24px 0;
}
.sgb-faq-container, .wp-block-sgb-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  padding: 20px;
  color: var(--text-primary);
}
.sgb-faq-container p, .wp-block-sgb-faq-item p {
  margin-bottom: 8px;
  line-height: 1.8;
}
.sgb-faq-container p:last-child, .wp-block-sgb-faq-item p:last-child {
  margin-bottom: 0;
  color: var(--text-secondary);
}
.sgb-faq--dotted .sgb-faq-container {
  border-style: dashed;
}

/* --- Timeline --- */
.sgb-tl {
  margin: 24px 0;
  padding-left: 28px;
  border-left: 3px solid var(--accent-blue);
}
.sgb-tl-item {
  position: relative;
  margin-bottom: 28px;
  padding-left: 20px;
  padding-bottom: 4px;
}
.sgb-tl-item:last-child { margin-bottom: 0; }
.sgb-tl-item__marker {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--gradient-main);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 8px rgba(0,180,255,0.3);
}
.sgb-tl-item__title {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.sgb-tl-item__main {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 14px;
}

/* --- SANGO Headings --- */
.sgb-heading {
  margin: 32px 0 16px;
}
.sgb-heading__text {
  font-weight: 700;
  color: var(--text-primary);
}

/* --- SANGO Heading Styles (hh*) --- */
.entry-content h2,
.entry-content .hh {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 22px;
  font-weight: 800;
  margin: 40px 0 20px;
  line-height: 1.4;
}
.entry-content h3,
.entry-content .hh24 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  padding: 12px 16px;
  border-left: 4px solid var(--accent-blue);
  margin: 32px 0 16px;
  background: rgba(0, 180, 255, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.entry-content h4,
.entry-content .hha {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
}
.entry-content h5 {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  margin: 20px 0 10px;
}

/* --- Tables (Dark Theme) --- */
.entry-content .table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 24px 0;
  min-width: 400px;
}
.entry-content table th,
.entry-content table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}
.entry-content table th {
  background: rgba(0, 180, 255, 0.12);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.entry-content table td {
  color: var(--text-secondary);
}
.entry-content table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}
.entry-content table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* --- Blockquotes --- */
.entry-content blockquote {
  background: var(--bg-card);
  border-left: 4px solid var(--accent-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 24px 0;
  color: var(--text-secondary);
  font-style: italic;
}
.entry-content blockquote p { margin: 0; }
.entry-content blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: normal;
}

/* --- SANGO Buttons --- */
.btn, .wp-block-sgb-btn a {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}
.btn:hover, .wp-block-sgb-btn a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.btn.raised, .cubic2 {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}
.btn.raised:hover, .cubic2:hover {
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  color: #fff;
}

/* --- SANGO Markers/Highlights --- */
.keiko_yellow {
  background: linear-gradient(transparent 60%, rgba(255, 215, 0, 0.35) 60%);
  font-weight: 700;
  color: var(--text-primary);
}
.highlight-text {
  background: linear-gradient(transparent 60%, rgba(0,180,255,0.2) 60%);
  font-weight: 700;
  color: var(--text-primary);
}
.key-text {
  color: var(--text-primary);
  font-weight: 700;
}

/* --- SANGO Lists --- */
.is-style-sango-list-check {
  list-style: none;
  padding-left: 0;
}
.is-style-sango-list-check li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-primary);
}
.is-style-sango-list-check li::before {
  content: '✅';
  position: absolute;
  left: 0;
}
.is-style-sango-list-circle {
  list-style: none;
  padding-left: 0;
}
.is-style-sango-list-circle li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-primary);
}
.is-style-sango-list-circle li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-size: 10px;
  top: 12px;
}

/* --- SANGO Idea/Paragraph Box --- */
.is-style-sango-paragraph-idea-alt {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 24px 0;
  color: var(--text-primary);
}

/* --- SANGO Alignment & Misc --- */
.sng-align-center { text-align: center; }
.dfont { font-weight: 700; }

/* --- Images in Content --- */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* --- Links in Content --- */
.entry-content a {
  color: var(--accent-blue);
  text-decoration: none;
}
.entry-content a:hover {
  text-decoration: underline;
}

/* --- Paragraphs/Text in Content --- */
.entry-content {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 16px;
}
.entry-content p {
  margin-bottom: 20px;
}
.entry-content strong, .entry-content b {
  color: var(--text-primary);
  font-weight: 700;
}
.entry-content ul, .entry-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.entry-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

/* --- WordPress Embed/Video --- */
.wp-block-embed, .is-type-video {
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
}
.wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.wp-block-embed__wrapper iframe,
.wp-block-embed__wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- WordPress Blocks Overflow --- */
.wp-block-image { max-width: 100%; }
.wp-block-image img { max-width: 100%; height: auto; }
.wp-block-gallery { max-width: 100%; overflow: hidden; }
.wp-block-code, .wp-block-preformatted {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}
.wp-block-code code, pre {
  color: var(--text-secondary);
  font-size: 14px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* --- TOC (Table of Contents) --- */
.mg-toc {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.mg-toc-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.mg-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mg-toc li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mg-toc li:last-child { border-bottom: none; }
.mg-toc li a {
  color: var(--accent-blue);
  text-decoration: none;
  font-size: 14px;
}
.mg-toc li a:hover { text-decoration: underline; }
.mg-toc li.toc-h3 { padding-left: 20px; }
.mg-toc li.toc-h3 a { font-size: 13px; color: var(--text-muted); }

/* --- Hide broken SANGO shortcodes --- */
.entry-content p:only-child:empty { display: none; }

/* ===== RESPONSIVE ===== */

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .main-content { grid-template-columns: 1fr 280px; gap: 24px; }
  .article-page-grid { grid-template-columns: 1fr 280px; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero h1 { font-size: 40px; }
  .hero { padding: 60px 0 48px; }
  .stats-inner { gap: 32px; }
  .featured-card .card-title { font-size: 20px; }
}

/* --- Small Tablet / Large Phone (max-width: 768px) --- */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  /* Layout */
  .main-content { grid-template-columns: 1fr; gap: 32px; padding: 32px 0; }
  .article-page-grid { grid-template-columns: 1fr; gap: 32px; }
  .articles-grid { grid-template-columns: 1fr; gap: 16px; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card .card-image { min-height: 200px; }
  .featured-card .card-body { padding: 20px; }
  .featured-card .card-title { font-size: 18px; }

  /* Header */
  .header-inner { height: 56px; }
  .mobile-menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 12px 16px;
    z-index: 99;
  }
  .nav.nav-open { display: flex; }
  .nav a { padding: 12px 16px; width: 100%; border-radius: 0; border-bottom: 1px solid var(--border-color); }
  .nav a:last-child { border-bottom: none; }
  .search-box { width: 140px; padding: 6px 12px; }
  .logo { font-size: 17px; }
  .logo .icon { width: 30px; height: 30px; font-size: 15px; }

  /* Hero */
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: 28px; letter-spacing: -0.5px; }
  .hero p { font-size: 15px; margin-bottom: 24px; }
  .hero-cta { padding: 12px 24px; font-size: 14px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }

  /* Stats */
  .stats-inner { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .stat-number { font-size: 22px; }
  .stat-label { font-size: 11px; }

  /* Cards */
  .card-body { padding: 14px; }
  .card-title { font-size: 15px; }

  /* Article Page */
  .article-title-main { font-size: 24px; }
  .article-breadcrumb { font-size: 11px; flex-wrap: wrap; }
  .article-meta-bar { flex-wrap: wrap; gap: 12px; }

  /* Entry Content */
  .entry-content { font-size: 15px; line-height: 1.85; }
  .entry-content h2, .entry-content .hh { font-size: 18px; padding: 14px 18px; margin: 32px 0 16px; }
  .entry-content h3, .entry-content .hh24 { font-size: 16px; padding: 10px 14px; margin: 24px 0 12px; }
  .article-body h2 { font-size: 18px; padding: 14px 18px; margin: 32px 0 16px; }
  .article-body h3 { font-size: 16px; padding: 10px 14px; margin: 24px 0 12px; }
  .entry-content table { display: block; overflow-x: auto; min-width: 0; }

  /* SANGO Blocks */
  .sgb-block-say { gap: 10px; }
  .sgb-block-say-avatar { width: 48px; }
  .sgb-block-say-avatar img { width: 48px; height: 48px; }
  .sgb-block-say-text { padding: 12px 14px; }
  .rate-box, .wp-block-sgb-rate { padding: 16px; }
  .sgb-box-simple__body { padding: 16px; }

  /* Tables */
  .entry-content table { font-size: 13px; }
  .entry-content table th, .entry-content table td { padding: 8px 10px; }

  /* Sidebar */
  .sidebar { gap: 16px; }
  .sidebar-card { padding: 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer { padding: 40px 0 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* CTA */
  .article-cta { padding: 20px; }
  .article-cta h3 { font-size: 18px; }
  .article-cta .cta-btn { padding: 12px 28px; font-size: 14px; }

  /* Compat Table */
  .compat-table { font-size: 12px; }
  .compat-table th, .compat-table td { padding: 10px 12px; }
  .compat-section { padding: 40px 0; }

  /* TOC */
  .mg-toc { padding: 16px; }
}

/* --- Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
  .container { padding: 0 12px; }

  /* Header */
  .header-inner { height: 48px; }
  .logo { font-size: 15px; gap: 6px; }
  .logo .icon { width: 26px; height: 26px; font-size: 13px; border-radius: 7px; }
  .search-box { width: 140px; font-size: 12px; padding: 5px 10px; }

  /* Hero */
  .hero { padding: 32px 0 24px; }
  .hero h1 { font-size: 22px; }
  .hero p { font-size: 14px; line-height: 1.7; }
  .hero-cta { width: 100%; justify-content: center; padding: 12px 20px; }
  .hero-badge { font-size: 10px; margin-bottom: 16px; }

  /* Stats */
  .stats-bar { padding: 16px 0; }
  .stats-inner { gap: 12px; }
  .stat-item { min-width: 70px; }
  .stat-number { font-size: 20px; }

  /* Layout */
  .main-content { padding: 24px 0; }
  .section-title { font-size: 18px; }

  /* Article Page */
  .article-title-main { font-size: 20px; line-height: 1.5; }
  .article-tags .tag { font-size: 10px; padding: 3px 8px; }
  .article-header-section { margin-bottom: 20px; }

  /* Entry Content */
  .entry-content { font-size: 14px; }
  .entry-content h2, .entry-content .hh { font-size: 16px; padding: 12px 14px; }
  .entry-content h3, .entry-content .hh24 { font-size: 15px; padding: 8px 12px; }
  .entry-content table { display: block; overflow-x: auto; min-width: 0; }
  .article-body h2 { font-size: 16px; padding: 12px 14px; }
  .article-body h3 { font-size: 15px; padding: 8px 12px; }

  /* Speech Bubble mobile */
  .sgb-block-say { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sgb-block-say-avatar { width: auto; display: flex; align-items: center; gap: 8px; flex-direction: row; }
  .sgb-block-say-avatar img { width: 36px; height: 36px; }
  .sgb-block-say-avatar__name { margin-top: 0; }

  /* Footer */
  .footer-grid { gap: 20px; }
  .footer-desc { font-size: 13px; }
  .footer-links a { font-size: 13px; }

  /* CTA */
  .cta-sidebar h3 { font-size: 16px; }
  .cta-btn { font-size: 13px; padding: 10px 20px; }

  /* Announcement */
  .announcement-bar { font-size: 11px; padding: 6px 12px; }

  /* Pagination */
  .pagination { flex-wrap: wrap; }
}

/* --- WordPress Admin Bar Offset --- */
@media (max-width: 782px) {
  .header { top: 0; }
}
@media (min-width: 783px) {
  body.admin-bar .header { top: 32px; }
}
