/* ===== Line Page (Route) — page-specific layout (uses site.css vars) ===== */

.route-wrap{ padding:14px; }

/* Top: map + side widget */
.route-top{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap:14px;
  align-items:stretch;
}

.route-map{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  min-height: 320px;
}

.route-map img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.route-side{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.route-brief{
  font-size:13px;
  line-height:1.35;
  color: rgba(243,243,247,.86);
}

.route-widget{
  border-radius:22px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.25);
  min-height: 240px;

  /* Host the widget cleanly */
  padding:14px;
  display:flex;
  align-items:flex-start;
  justify-content:center;

  text-transform:none;
  letter-spacing:normal;
  font-weight:inherit;
  color: rgba(243,243,247,.86);
}

/* 3 pill buttons row */
.pill-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top:14px;
  margin-bottom:14px;
}

.pill{
  display:flex;
  align-items:center;
  justify-content:center;
  height:40px;
  border-radius:999px;
  text-decoration:none;
  color: var(--ink);
  font-weight:700;
  font-size:13px;
  border:1px solid var(--border);
  background: linear-gradient(90deg, rgba(120,50,200,.55), rgba(0,120,255,.35));
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

.pill:focus{ outline:2px solid rgba(255,255,255,.25); outline-offset:2px; }

/* Accordion (details) */
.acc-list{ display:flex; flex-direction:column; gap:10px; }

details.acc{
  border:1px solid var(--border);
  border-radius:18px;
  background: rgba(0,0,0,.18);
  overflow:hidden;
}

details.acc summary{
  list-style:none;
  cursor:pointer;
  user-select:none;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 14px;
}

details.acc summary::-webkit-details-marker{ display:none; }

.acc-icon{
  width:30px;
  height:30px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:20px;
  line-height:1;
  flex:0 0 30px;
  background: linear-gradient(
    135deg,
    rgba(120,50,200,.85),
    rgba(0,120,255,.85)
  );

  color:white;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}

.acc-title{
  font-size:24px;
  font-weight:900;
  letter-spacing:.01em;
}

.acc-body{
  padding: 0 14px 16px 56px; /* aligns content under title (past the icon) */
  color: rgba(243,243,247,.86);
  font-size:14px;
  line-height:1.45;
}

.acc-body .mini-card{
  border:1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius:14px;
  padding:12px;
  margin-top:10px;
}

/* Responsive */
@media (max-width: 860px){
  .route-top{ grid-template-columns: 1fr; }
  .route-widget{ min-height: 200px; }
  .pill-row{ grid-template-columns: 1fr; }
  .acc-title{ font-size:20px; }
}