/* ==========================================================
   高考填志愿助手 · 网页版
   大屏优先：电脑打开看得更清楚，表格化展示志愿方案
   ========================================================== */
:root {
  --red: #e02020;
  --red-soft: #fdeaea;
  --green: #15a05a;
  --green-soft: #e8f7ee;
  --orange: #f5a623;
  --orange-soft: #fff4e0;
  --text: #1a1a1a;
  --text-2: #555;
  --text-3: #999;
  --line: #ebeef2;
  --bg: #f6f8fa;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.app-root {
  min-height: 100%;
}

.boot-loading {
  padding: 120px;
  text-align: center;
  color: var(--text-3);
}

/* ---------- 布局 ---------- */
.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 220px;
  flex: 0 0 220px;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--line);
}

.brand-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.brand-sub {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

.nav {
  padding: 12px 10px;
  flex: 1;
  overflow-y: auto;
}

.nav-item {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  margin-bottom: 2px;
}

.nav-item:hover {
  background: #f7f8fa;
  color: var(--text);
}

.nav-item.active {
  background: var(--red-soft);
  color: var(--red);
  font-weight: 600;
}

.sidebar-foot {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-3);
}

.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: 60px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-title {
  font-size: 18px;
  font-weight: 600;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-2);
}

.content {
  padding: 24px 28px 60px;
  max-width: 1500px;
  width: 100%;
}

/* ---------- 卡片 ---------- */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  margin-bottom: 18px;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title .sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-3);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 统计块 ---------- */
.stat {
  text-align: center;
  padding: 6px 0;
}

.stat-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--red);
  line-height: 1.2;
}

.stat-label {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ---------- 表单 ---------- */
.form-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.form-row > label {
  width: 88px;
  flex: 0 0 88px;
  color: var(--text-2);
  font-size: 14px;
}

.input,
.select {
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
  outline: none;
  font-family: inherit;
}

.input:focus,
.select:focus {
  border-color: var(--red);
}

.input.w-sm {
  width: 120px;
}

.input.w-md {
  width: 200px;
}

.input.w-lg {
  width: 320px;
}

/* ---------- 按钮 ---------- */
.btn {
  height: 38px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-2);
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.btn:hover {
  border-color: #d5d9de;
  color: var(--text);
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: #c91c1c;
  color: #fff;
}

.btn-primary:disabled {
  background: #f3a9a9;
  border-color: #f3a9a9;
  cursor: not-allowed;
}

.btn-sm {
  height: 30px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 6px;
}

.btn-ghost {
  background: transparent;
}

/* ---------- 标签 / 徽章 ---------- */
.tag {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 4px;
  background: #f2f4f7;
  color: var(--text-2);
  font-size: 12px;
  margin-right: 4px;
}

.tag.red {
  background: var(--red-soft);
  color: var(--red);
}

.tag.green {
  background: var(--green-soft);
  color: var(--green);
}

.tag.orange {
  background: var(--orange-soft);
  color: #b97b10;
}

.badge-vip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f7b955, #f5a623);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.badge-free {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  background: #f2f4f7;
  color: var(--text-3);
  font-size: 12px;
}

/* 冲稳保 */
.lv {
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.lv-chong {
  background: var(--red);
}

.lv-wen {
  background: var(--green);
}

.lv-bao {
  background: #3b7ddd;
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
}

table.tb {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table.tb th {
  text-align: left;
  font-weight: 600;
  color: var(--text-2);
  background: #fafbfc;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  position: sticky;
  top: 0;
}

table.tb td {
  padding: 10px 12px;
  border-bottom: 1px solid #f2f4f7;
  vertical-align: middle;
}

table.tb tbody tr:hover {
  background: #fafbfc;
}

table.tb .num {
  font-variant-numeric: tabular-nums;
}

.school-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.school-cell img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
  background: #f7f8fa;
  flex: 0 0 28px;
}

.school-cell .fallback {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
}

.link {
  color: var(--red);
  cursor: pointer;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

/* 概率条 */
.prob-cell {
  min-width: 92px;
}

.prob-bar {
  height: 6px;
  border-radius: 3px;
  background: #eef0f3;
  overflow: hidden;
  margin-top: 3px;
}

.prob-bar > i {
  display: block;
  height: 100%;
  border-radius: 3px;
}

/* ---------- 筛选 chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 4px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
}

.chip:hover {
  border-color: #d5d9de;
}

.chip.on {
  background: var(--red-soft);
  border-color: var(--red);
  color: var(--red);
  font-weight: 600;
}

/* 收藏按钮：防止「♡ 收藏」被窄列挤成竖排 */
.fav-btn {
  white-space: nowrap;
}

/* 院校库校名链接：覆盖整格可点，颜色沿用正文、悬停变主题红 */
.school-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.school-link:hover {
  color: var(--red);
}
.school-link:hover span:last-child {
  text-decoration: underline;
}

/* 省份 chip 的 ▼ 下拉箭头：点箭头展开该省地区菜单 */
.chip .caret {
  display: inline-block;
  margin-left: 6px;
  margin-right: -2px;
  font-size: 15px;
  font-weight: 700;
  opacity: 0.8;
  padding: 0 3px;
  cursor: pointer;
}
.chip .caret:hover {
  opacity: 1;
  transform: scale(1.25);
}

/* ---------- 院校库四行筛选（省份/性质/类型/特色） ---------- */
.filter-block {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.frow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
}

.flabel {
  flex: 0 0 40px;
  padding-top: 5px;
  font-size: 13px;
  color: var(--text-3);
  font-weight: 600;
}

.frow .chips {
  flex: 1;
}

/* 志愿表挑选按钮 */
.pick-btn {
  white-space: nowrap;
  font-weight: 600;
}
.pick-btn.on {
  color: #2563eb;
}
.tb .mv {
  margin: 0 3px;
}

/* 投档分双滑块：两条 range 叠加，轨道穿透、仅滑块可点 */
.range2 {
  position: relative;
  height: 26px;
}
.range2-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 6px;
  transform: translateY(-50%);
  background: #e5eaf3;
  border-radius: 3px;
  pointer-events: none;
}
.range2-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: #2563eb;
  border-radius: 3px;
}
.range2 input[type="range"] {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  margin: 0;
  transform: translateY(-50%);
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  height: 26px;
}
.range2 input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #2563eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.range2 input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #2563eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

/* ---------- 状态 ---------- */
.empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--text-3);
}

.loading {
  padding: 40px;
  text-align: center;
  color: var(--text-3);
}

/* 骨架屏（院校库加载占位） */
.sk {
  display: inline-block;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, #eef0f3 25%, #e1e5ea 37%, #eef0f3 63%);
  background-size: 400% 100%;
  animation: sk-shimmer 1.2s ease infinite;
  vertical-align: middle;
}
@keyframes sk-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}
.sk-line { width: 90px; }
.sk-num { width: 26px; }
.sk-ava {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  margin-right: 8px;
}

.muted {
  color: var(--text-3);
}

.dim {
  color: var(--text-2);
}

.nowrap {
  white-space: nowrap;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

/* table.tb th 的 text-align:left 特异性更高，会压掉上面的 .right/.center，
   表头与数据单元格对齐方式不一致导致“学制/学费”等列看起来是歪的，这里补齐 */
table.tb th.right,
table.tb td.right {
  text-align: right;
}
table.tb th.center,
table.tb td.center {
  text-align: center;
}

/* ---------- 登录页 ---------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fdf2f2 0%, #f6f8fa 45%, #eef4ff 100%);
}

.login-card {
  width: 760px;
  max-width: 92vw;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
  display: flex;
  overflow: hidden;
}

.login-left {
  flex: 1;
  padding: 40px 36px;
  background: linear-gradient(160deg, #e02020, #f0663f);
  color: #fff;
}

.login-left h1 {
  margin: 0 0 14px;
  font-size: 26px;
}

.login-left p {
  margin: 0 0 10px;
  font-size: 14px;
  opacity: 0.92;
  line-height: 1.8;
}

.login-left ul {
  margin: 18px 0 0;
  padding-left: 18px;
  font-size: 14px;
  opacity: 0.92;
  line-height: 2;
}

.login-right {
  width: 340px;
  flex: 0 0 340px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-box {
  width: 220px;
  height: 220px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafbfc;
  overflow: hidden;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-tip {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-2);
  text-align: center;
}

.qr-tip .strong {
  color: var(--red);
  font-weight: 600;
}

/* ---------- 志愿方案 ---------- */
.plan-section {
  margin-bottom: 22px;
}

.plan-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.plan-head .lv {
  width: 26px;
  height: 26px;
  line-height: 26px;
  border-radius: 6px;
  font-size: 14px;
}

.plan-head .name {
  font-size: 16px;
  font-weight: 600;
}

.plan-head .count {
  font-size: 13px;
  color: var(--text-3);
}

.plan-head .desc {
  font-size: 12px;
  color: var(--text-3);
  margin-left: auto;
}

/* ---------- Toast ---------- */
#toast-layer {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.toast {
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  animation: toast-in 0.18s ease;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: #d8dce1;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c2c7cd;
}

::-webkit-scrollbar-track {
  background: transparent;
}

/* ---------- 提前批页面 ---------- */
.eb-page { max-width: 1080px; }
.eb-hero {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(120deg, #1f3a8f 0%, #3b5bdb 55%, #4c6ef5 100%);
  color: #fff; border-radius: 16px; padding: 26px 30px; margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(59, 91, 219, 0.25);
}
.eb-hero-title { font-size: 22px; font-weight: 700; letter-spacing: 1px; }
.eb-hero-sub { font-size: 13px; opacity: 0.85; margin-top: 6px; max-width: 620px; }
.eb-hero-stats { display: flex; gap: 26px; }
.eb-stat { text-align: center; }
.eb-stat b { display: block; font-size: 26px; }
.eb-stat span { font-size: 12px; opacity: 0.8; }
.eb-tip {
  background: #fff8e6; border: 1px solid #ffe7a3; color: #8a6d1a;
  border-radius: 10px; padding: 10px 16px; font-size: 13px; margin-bottom: 14px; line-height: 1.7;
}
.eb-tip b { color: #a0690a; }
.eb-searchbar { display: flex; gap: 10px; margin-bottom: 14px; }
.eb-searchbar input {
  flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 11px 16px;
  font-size: 14px; outline: none; background: #fff;
}
.eb-searchbar input:focus { border-color: #4c6ef5; box-shadow: 0 0 0 3px rgba(76, 110, 245, 0.12); }
.eb-list { display: flex; flex-direction: column; gap: 12px; }

/* 批次（一级） */
.eb-batch { background: #fff; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; transition: box-shadow 0.2s; }
.eb-batch:hover { box-shadow: var(--shadow); }
.eb-batch.open { box-shadow: var(--shadow); }
.eb-batch-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; user-select: none;
}
.eb-batch-head:hover { background: #f8faff; }
.eb-batch-icon { font-size: 22px; }
.eb-batch-name { font-size: 16px; font-weight: 700; flex: 1; }
.eb-count { font-size: 12px; color: #4c6ef5; background: #edf2ff; border-radius: 999px; padding: 3px 12px; font-weight: 600; }
.eb-arrow { color: #b0b8c4; font-size: 13px; }

/* 科类（二级） */
.eb-batch-body { border-top: 1px solid var(--line); padding: 6px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.eb-cat { border: 1px solid var(--line); border-radius: 10px; background: #fcfdff; overflow: hidden; }
.eb-cat-head { display: flex; align-items: center; gap: 10px; padding: 11px 16px; cursor: pointer; user-select: none; }
.eb-cat-head:hover { background: #f3f6ff; }
.eb-cat-name { font-weight: 600; flex: 1; font-size: 14px; }

/* 三级细分 */
.eb-sub { border-top: 1px dashed var(--line); }
.eb-sub-head { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 30px; cursor: pointer; user-select: none; font-size: 13.5px; }
.eb-sub-head:hover { background: #f3f6ff; }
.eb-sub-head span:first-child { flex: 1; }
.eb-sub-body { padding: 0 12px 12px 24px; }
.eb-cat-body { padding: 0 12px 12px; }

/* 院校表格 */
.eb-table-head {
  display: grid; grid-template-columns: 1.4fr 1.3fr 90px 80px 80px 90px;
  gap: 10px; padding: 8px 14px; font-size: 12px; color: var(--text-3);
  border-bottom: 1px solid var(--line);
}
.eb-row { border-bottom: 1px solid var(--line); }
.eb-row:last-child { border-bottom: none; }
.eb-row-main {
  display: grid; grid-template-columns: 1.4fr 1.3fr 90px 80px 80px 90px;
  gap: 10px; align-items: center; padding: 11px 14px; cursor: pointer; transition: background 0.15s;
}
.eb-row-main:hover { background: #f8faff; }
.eb-row.open .eb-row-main { background: #f4f7ff; }
.eb-school { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.eb-name { font-weight: 600; font-size: 14px; }
.eb-code { font-size: 11px; color: var(--text-3); }
.eb-cat-tag { font-size: 11px; color: #4c6ef5; background: #edf2ff; border-radius: 4px; padding: 1px 7px; }
.eb-badge { font-size: 11px; border-radius: 4px; padding: 1px 7px; font-weight: 600; }
.eb-n-pub { color: #15a05a; background: var(--green-soft); }
.eb-n-pri { color: #d97706; background: var(--orange-soft); }
.eb-n-ind { color: #b45309; background: #fef3c7; }
.eb-n-int { color: #6d28d9; background: #ede9fe; }
.eb-major { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eb-scores { display: contents; }
.eb-sc { font-size: 14px; font-weight: 600; text-align: right; }
.eb-sc.b { color: #1f3a8f; }
.eb-diff { font-size: 11px; font-weight: 500; margin-left: 4px; }
.eb-diff.up { color: #e02020; }
.eb-diff.down { color: #15a05a; }
.eb-toggle { font-size: 12px; color: #4c6ef5; text-align: right; }

/* 行展开详情 */
.eb-detail { background: #f8faff; border-top: 1px dashed #dce3f5; padding: 14px 18px; }
.eb-detail-line { font-size: 13px; color: var(--text-2); margin-bottom: 6px; line-height: 1.7; }
.eb-tag {
  display: inline-block; font-size: 12px; color: #1f3a8f; background: #e3ebff;
  border-radius: 6px; padding: 2px 10px; margin: 0 6px 8px 0; font-weight: 600;
}
.eb-years { margin-top: 10px; overflow-x: auto; }
.eb-ytable { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border-radius: 8px; overflow: hidden; white-space: nowrap; }
.eb-ytable th { background: #f0f3fa; padding: 7px 14px; text-align: center; color: var(--text-2); font-weight: 600; }
.eb-ytable td { padding: 7px 14px; border-top: 1px solid var(--line); text-align: center; }
.eb-ytable .eb-yy { color: #e02020; font-weight: 700; }
.eb-ytable .eb-ym { font-weight: 700; color: #1f3a8f; }
.eb-groups { margin-top: 12px; }
.eb-groups-t { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.eb-gtable { width: 100%; border-collapse: collapse; font-size: 12.5px; background: #fff; border-radius: 8px; overflow: hidden; }
.eb-gtable th { background: #f0f3fa; padding: 6px 10px; text-align: left; color: var(--text-2); font-weight: 600; }
.eb-gtable td { padding: 6px 10px; border-top: 1px solid var(--line); }
.eb-empty { padding: 40px; text-align: center; color: var(--text-3); font-size: 14px; }
.eb-search-info { font-size: 13px; color: var(--text-2); margin-bottom: 10px; }

@media (max-width: 860px) {
  .eb-table-head { display: none; }
  .eb-row-main { grid-template-columns: 1fr; gap: 4px; }
  .eb-scores { display: flex; gap: 14px; }
  .eb-sc { text-align: left; }
  .eb-years { margin-top: 10px; }
  .eb-hero { flex-direction: column; align-items: flex-start; gap: 12px; }
}
