/*
Theme Name: Big Joe's Full Plate — Ultra Dashboard + Blog + Social
Theme URI: https://example.com
Author: Big Joe + ChatGPT
Description: Dashboard-style homepage with Builds, Trips, Studies, Notes, Mapbox map, YouTube panel, Instagram latest photo, full blog, sidebar, ConvertKit newsletter, and social icons.
Version: 4.0
*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050608;
  color: #f9fafb;
}
a { color: #e5e7eb; text-decoration: none; }
a:hover { text-decoration: underline; }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}
.app-shell {
  width: 100%;
  max-width: 1200px;
  margin: 16px auto 32px;
  background: radial-gradient(circle at top left, #021A2B 0, #111827 40%, #020617 100%);
  border-radius: 20px;
  padding: 24px 28px 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 0 1px rgba(148,163,184,0.35);
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.logo { display:flex; flex-direction:column; gap:4px; }
.logo-main {
  font-weight:800; letter-spacing:0.16em; font-size:15px; text-transform:uppercase;
  padding:4px 12px; border-radius:999px;
  background:rgba(250,204,21,0.12); border:1px solid rgba(250,204,21,0.6); color:#fef9c3;
}
.logo-tagline { font-size:11px; letter-spacing:0.04em; color:#e5e7eb; opacity:0.85; }
.header-right { display:flex; align-items:center; gap:18px; }
.header-nav {
  display:flex; align-items:center; gap:18px;
  font-size:11px; text-transform:uppercase; letter-spacing:0.14em; color:#9ca3af;
}
.header-nav a { position:relative; padding-bottom:2px; }
.header-nav a::after {
  content:""; position:absolute; left:0; right:0; bottom:-6px;
  height:2px; border-radius:999px;
  background:linear-gradient(90deg,#f97316,#facc15);
  opacity:0; transform:scaleX(0.5);
  transition:opacity 0.15s ease, transform 0.15s ease;
}
.header-nav a:hover::after,
.header-nav a.is-active::after { opacity:1; transform:scaleX(1); }
.header-pill {
  padding:6px 10px; border-radius:999px;
  background:rgba(15,23,42,0.85); font-size:10px;
  letter-spacing:0.16em; border:1px solid rgba(148,163,184,0.7); color:#e5e7eb;
}
.bjd-social {
  display:flex; align-items:center; flex-wrap:wrap; gap:6px;
}
.bjd-social a {
  display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:999px;
  border:1px solid rgba(148,163,184,0.8);
  font-size:11px;
  background:radial-gradient(circle at 30% 0,#1f2937,#020617);
}
.bjd-social a:hover { filter:brightness(1.15); }
.bjd-social--header a { width:22px; height:22px; font-size:10px; }
.bjd-social--footer a { width:28px; height:28px; }
.layout { display:grid; grid-template-columns:minmax(0,2.1fr) minmax(260px,1fr); gap:22px; }
.primary { display:grid; grid-template-rows:auto auto minmax(0,1fr); gap:18px; }
.hero-row { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1.6fr); gap:18px; }
.hero-copy, .panel, .sidebar-block {
  background:rgba(15,23,42,0.96); border-radius:14px;
  border:1px solid rgba(148,163,184,0.7); padding:16px 16px 18px;
}
.eyebrow { font-size:11px; text-transform:uppercase; letter-spacing:0.18em; color:#9ca3af; margin-bottom:8px; }
.hero-title { font-size:22px; letter-spacing:0.04em; margin-bottom:8px; }
.hero-subtitle { font-size:13px; line-height:1.5; color:#e5e7eb; opacity:0.9; margin-bottom:16px; }
.hero-cta-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.hero-cta {
  display:inline-flex; align-items:center; justify-content:center;
  padding:9px 16px; border-radius:999px; border:none;
  font-size:11px; font-weight:600; letter-spacing:0.12em; text-transform:uppercase;
  background:linear-gradient(135deg,#f97316,#facc15); color:#111827;
  cursor:pointer; box-shadow:0 0 16px rgba(250,204,21,0.6);
}
.hero-cta:hover { filter:brightness(1.05); }
.hero-meta { font-size:11px; color:#9ca3af; }
.hero-player {
  display:grid; grid-template-rows:minmax(0,1.3fr) auto auto auto; gap:10px;
}
.hero-map {
  border-radius:14px; overflow:hidden;
  border:1px solid rgba(148,163,184,0.7); background:#020617; min-height:200px;
}
#bjd-trip-map { width:100%; height:100%; }
.hero-player-meta { font-size:11px; color:#9ca3af; }
.hero-video, .hero-instagram {
  border-radius:10px; overflow:hidden;
  border:1px solid rgba(148,163,184,0.7); background:#020617;
}
.hero-video iframe { display:block; width:100%; height:180px; }
.hero-instagram img { display:block; width:100%; height:auto; }
.hero-instagram-caption { padding:8px 10px; font-size:11px; color:#e5e7eb; }
.filters-row { display:flex; gap:10px; align-items:center; }
.search-box {
  flex:1; border-radius:999px; background:rgba(15,23,42,0.96);
  border:1px solid rgba(148,163,184,0.7); padding:6px 12px;
  display:flex; align-items:center; gap:8px; font-size:12px; color:#9ca3af;
}
.search-input {
  border:none; outline:none; background:transparent; color:inherit; flex:1; font-size:12px;
}
.tag-tabs { display:flex; gap:6px; }
.tag-pill {
  font-size:10px; padding:5px 10px; border-radius:999px;
  background:rgba(15,23,42,0.9); border:1px solid rgba(148,163,184,0.7);
  color:#e5e7eb; text-transform:uppercase; letter-spacing:0.12em;
}
.tag-pill.is-active {
  background:rgba(250,204,21,0.25); color:#fef9c3; border-color:rgba(250,204,21,0.9);
}
.primary-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1.2fr); gap:16px; }
.panel-title {
  font-size:12px; text-transform:uppercase; letter-spacing:0.18em;
  color:#e5e7eb; margin-bottom:8px;
}
.panel-body { font-size:12px; line-height:1.5; color:#e5e7eb; }
.sidebar { display:grid; gap:14px; align-content:flex-start; }
.sidebar-title {
  font-size:11px; text-transform:uppercase; letter-spacing:0.18em;
  color:#e5e7eb; margin-bottom:8px;
}
.sidebar-input, .sidebar-pill {
  width:100%; padding:7px 10px; border-radius:10px;
  border:1px solid rgba(148,163,184,0.7);
  background:rgba(15,23,42,0.96); font-size:11px; color:#f9fafb; margin-top:6px;
}
.sidebar-input::placeholder { color:#9ca3af; }
.sidebar-pill { display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.sidebar-badge {
  display:flex; align-items:center; justify-content:space-between;
  border-radius:10px; padding:8px 10px;
  background:radial-gradient(circle at 20% 0,#1f2937,#020617);
  border:1px solid rgba(148,163,184,0.8); margin-top:6px; font-size:11px;
}
.sidebar-badge small { text-transform:uppercase; letter-spacing:0.16em; font-size:9px; color:#9ca3af; }
.sidebar-footer { font-size:10px; color:#9ca3af; margin-top:8px; }
#bjd-notes-status { font-size:10px; color:#9ca3af; margin-top:4px; }
.newsletter-box {
  display:flex; flex-wrap:wrap; gap:6px; margin-top:8px;
}
.newsletter-box input[type="email"] {
  flex:1 1 160px; padding:8px 10px; border-radius:999px;
  border:1px solid rgba(148,163,184,0.8);
  background:#020617; color:#f9fafb; font-size:12px;
}
.newsletter-box button {
  padding:8px 14px; border-radius:999px; border:none;
  background:linear-gradient(135deg,#f97316,#facc15);
  color:#111827; font-size:11px; font-weight:600;
  text-transform:uppercase; letter-spacing:0.1em; cursor:pointer;
}
.newsletter-box button:hover { filter:brightness(1.05); }
.bjd-container {
  max-width:1100px; margin:32px auto 40px; padding:0 16px;
  display:grid; grid-template-columns:minmax(0,3fr) minmax(260px,1fr); gap:24px;
}
.bjd-main {
  background:#020617; border-radius:14px; padding:20px;
  border:1px solid rgba(31,41,55,0.9);
}
.bjd-main h1 { margin-bottom:16px; }
.bjd-meta { font-size:12px; color:#9ca3af; margin-bottom:12px; }
.bjd-article {
  margin-bottom:22px; padding-bottom:18px;
  border-bottom:1px solid rgba(55,65,81,0.8);
}
.bjd-article:last-child { border-bottom:none; }
.bjd-article h2 { margin-bottom:6px; }
.bjd-article-excerpt { font-size:14px; color:#e5e7eb; }
.bjd-sidebar { display:grid; gap:14px; }
.bjd-sidebar-block {
  background:#020617; border-radius:14px; padding:12px 14px 14px;
  border:1px solid rgba(31,41,55,0.9); font-size:13px;
}
.bjd-sidebar-block h3 {
  font-size:12px; text-transform:uppercase; letter-spacing:0.18em;
  color:#e5e7eb; margin-bottom:8px;
}
.bjd-sidebar-block ul { list-style:none; }
.bjd-sidebar-block li { margin-bottom:4px; }
.site-footer {
  max-width:1100px; margin:0 auto 32px; padding:16px;
  font-size:12px; color:#9ca3af;
}
@media (max-width:960px) {
  .layout { grid-template-columns:minmax(0,1fr); }
  .hero-row { grid-template-columns:minmax(0,1fr); }
  .primary-grid { grid-template-columns:minmax(0,1fr); }
  .bjd-container { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:640px) {
  .app-header { flex-direction:column; align-items:flex-start; gap:10px; }
  .header-right { flex-wrap:wrap; justify-content:space-between; width:100%; }
  .header-nav { flex-wrap:wrap; }
  .hero-video iframe { height:160px; }
}

.site-logo img {max-height:46px;width:auto;}
