/* ---------- Progress Widget ---------- */
.widget .swcp-prog {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* centers text vertically if short */
  gap: 0.4rem;              /* consistent spacing between lines */
  padding: 1.2rem;          /* more breathing room */
  min-height: 140px;        /* ensures tall enough even if text is short */
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

/* Distance line (km / miles) */
.widget .swcp-prog__big {
  font-size: 1.6rem !important;
  line-height: 1.25 !important;
}

/* "completed" label */
.widget .swcp-prog__dim {
  font-size: 0.95rem !important;
  opacity: 0.9 !important;
  margin-left: 0.3rem !important;
}

/* Current line: "Minehead to" + place stacked */
.widget .swcp-prog__line {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.widget .swcp-prog__from {
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  opacity: 0.9;
}

.widget .swcp-prog__place {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  word-break: break-word;   /* wraps if very long */
}

/* Next leg */
.widget .swcp-prog__next {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-style: italic;
  opacity: 0.9;
}

/* ---------- Status Widget ---------- */
.widget .swcp-status {
  padding: 1rem;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  background: #f7f7f7;
  color: #333;
}

.widget .swcp-status__line {
  margin: 0 0 0.45rem;
  font-size: 1.2rem !important;
  line-height: 1.5 !important;
}
.widget .swcp-status__line:last-child {
  margin-bottom: 0;
}
/* Match theme widget titles */
.swcp-widget-title {
  all: unset; /* clear any plugin overrides */
  display: inline;
}
/* Match theme widget titles */
.widget .widget-title,
.widget .swcp-widget-title {
  color: #666;        /* grey to match theme */
  font-size: 1.25rem; /* adjust to match */
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}

