/* ===== Join a Session ===== */
.join-page {
  max-width: 1100px;
  margin: 30px auto 60px;
  padding: 0 20px;
  color: var(--color-text);
}

/* Hero */
.join-hero {
  border: 4px solid var(--color-accent);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  margin-bottom: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;   /* text on top, image below */
}

.join-hero-text {
  background: #fff;
  border-bottom: 1px solid var(--color-accent);
  padding: 12px 18px;
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;
  text-align: center;

  white-space: nowrap;      /* keep on one line */
  overflow-x: auto;         /* allow sideways scroll if ever too tight */
  -webkit-overflow-scrolling: touch;
}

.join-hero img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) { .join-hero img { height: 260px; } }
@media (max-width: 600px)  { .join-hero img { height: 220px; } }


/* Filters */
.join-filters {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 22px;
}
.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.filter-col label {
  display: block;
  margin-bottom: 6px;
  font-weight: var(--font-weight-semibold);
  color: #333;
}
.filter-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 8px;
  background: #fff;
  font-size: 15px;
}

/* Section Title */
.section-title {
  font-size: 1.6rem;
  font-weight: var(--font-weight-bold);
  color: #333333;
  margin: 12px 0 14px;
}

/* Branch Cards */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.branch-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 12px;
  padding: 18px 18px 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  position: relative;
}
.branch-name {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  color: #2f2f2f;
}
.branch-address { margin: 0 0 8px; line-height: 1.6; }
.branch-contact { margin: 0; }
.branch-contact a { color: inherit; text-decoration: none; border-bottom: 1px dashed var(--color-accent); }
.branch-contact a:hover { color: var(--color-accent); }

/* Tiny region chip */
.branch-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  padding: 3px 8px;
  border: 1px solid var(--color-accent);
  border-radius: 999px;
  background: #fff7e6;
}

/* Responsive */
@media (max-width: 992px) {
  .branch-grid { grid-template-columns: 1fr; }
  .join-hero img { height: 260px; }
  .filter-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .join-hero img { height: 220px; }
  .section-title { font-size: 1.4rem; }
}
