/* 公開 OC 一覧: 集合場所ハブ + list_title タグ（元 outdoor/index.php インラインより） */

.outdoor-oc-hub-section {
  margin: 1.5rem 0 1.25rem;
  padding: 2rem;
  background: #f7f8fa;
  border-radius: 8px;
}
.outdoor-oc-hub-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}
.outdoor-oc-hub-cardwrap {
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  align-self: start;
}
/* タブレット・SP: 2列（camp_list.css の 769px と揃える） */
@media screen and (max-width: 769px) {
  .outdoor-oc-hub-section {
    padding: 1.25rem 0.75rem;
  }
  .outdoor-oc-hub-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem;
  }
  .outdoor-oc-hub-cardwrap {
    width: 100%;
    min-width: 0;
  }
  .outdoor-oc-meeting-hub-card__img {
    width: 100%;
    height: auto;
  }
}

/*
 * キャンプ一覧のカテゴリ内: OC ブロックは1行占有し、ハブ3列・募集カード3列を維持
 */
.camp-category-body .outdoor-oc-hub-embed {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.camp-category-body .outdoor-oc-hub-embed .camp-list-block.outdoor-oc-hub-list-block {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto 20px;
}
@media (min-width: 1040px) {
  .camp-category-body .outdoor-oc-hub-embed .camp-list-block.outdoor-oc-hub-list-block .camp_list_box {
    width: 33.333%;
    margin: 0 0 30px 0;
    padding-bottom: 85px;
  }
}
@media screen and (max-width: 1040px) {
  .camp-category-body .outdoor-oc-hub-embed .camp-list-block.outdoor-oc-hub-list-block .camp_list_box {
    width: 48%;
    margin: 0 0 30px 0;
  }
}

/*
 * キャンプ一覧: .camp-category-body が SP で横スクロール flex になるため、
 * ハブだけ全幅ブロックにして内側を2列グリッドにする
 */
@media screen and (max-width: 769px) {
  .camp-category-body .outdoor-oc-hub-embed {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0 0 1rem;
    scroll-snap-align: none;
    box-sizing: border-box;
  }
  .camp-category-body .outdoor-oc-hub-embed .outdoor-oc-hub-section {
    width: 100%;
    margin-bottom: 0.75rem;
    box-sizing: border-box;
  }
  .camp-category-body .outdoor-oc-hub-embed .outdoor-oc-hub-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem;
    width: 100%;
  }
}
.outdoor-oc-meeting-hub-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: box-shadow 0.15s;
  width: 100%;
  display: block;
}
.outdoor-oc-meeting-hub-card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.outdoor-oc-meeting-hub-card--active {
  outline: 3px solid #2c84cc;
  outline-offset: 2px;
}
.outdoor-oc-meeting-hub-card__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}
.outdoor-oc-hub-result__figure {
  margin: 0 auto;
  width: 297px;
  max-width: 100%;
  height: 198px;
  min-height: 198px;
  background: linear-gradient(160deg, #e8eef5 0%, #dce4ee 100%);
}
.outdoor-oc-hub-muted {
  color: #777;
  font-size: 0.9rem;
}
.outdoor-oc-hub-error {
  color: #c00;
  font-size: 0.9rem;
}

/* アウトドア募集カード（list_title 周り） */
.camp_list_box .list_data {
  visibility: hidden;
}
.camp_list_box .list_data dd,
.camp_list_box .list_data dd:last-child {
  height: auto;
  display: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
#page_camp_list .camp_list_box .list_title {
  max-height: none;
  height: auto;
  min-height: 70px;
  overflow: visible;
}
#page_camp_list .camp_list_box .list_title__tags_row {
  max-width: 296px;
  margin: 0 auto 8px;
  box-sizing: border-box;
}
#page_camp_list .camp_list_box .list_title__tags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding: 0;
  line-height: 1.3;
}
#page_camp_list .camp_list_box .list_title__tags_section {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  justify-content: flex-start;
  align-items: center;
  max-width: 100%;
}
#page_camp_list .camp_list_box .list_title__tag {
  display: inline-block;
  max-width: 100%;
  padding: 6px 13px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.75);
  color: #005081;
}
#page_camp_list .camp_list_box .list_title__tag--place {
  border-color: rgba(44, 132, 204, 0.35);
  background: rgba(230, 244, 252, 0.95);
}
#page_camp_list .camp_list_box .list_title__tag--headline {
  border-color: rgba(80, 100, 160, 0.28);
  background: rgba(236, 240, 252, 0.95);
  color: #3a4d8c;
}
#page_camp_list .camp_list_box .list_title__tag--type {
  border-color: rgba(176, 120, 0, 0.28);
  background: rgba(255, 248, 220, 0.95);
  color: #6a5200;
}
#page_camp_list .camp_list_box .list_title__tag--trial {
  border-color: rgba(120, 80, 160, 0.28);
  background: rgba(244, 236, 252, 0.95);
  color: #5c3d7a;
}
#page_camp_list .camp_list_box:hover .list_title__tag {
  border-color: rgba(0, 80, 129, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: #005081;
}
#page_camp_list .camp_list_box:hover .list_title__tag--place {
  border-color: rgba(44, 132, 204, 0.4);
  background: rgba(230, 244, 252, 1);
}
#page_camp_list .camp_list_box:hover .list_title__tag--headline {
  border-color: rgba(80, 100, 160, 0.35);
  background: rgba(236, 240, 252, 1);
  color: #3a4d8c;
}
#page_camp_list .camp_list_box:hover .list_title__tag--type {
  border-color: rgba(176, 120, 0, 0.35);
  background: rgba(255, 248, 220, 1);
  color: #6a5200;
}
#page_camp_list .camp_list_box:hover .list_title__tag--trial {
  border-color: rgba(120, 80, 160, 0.35);
  background: rgba(244, 236, 252, 1);
  color: #5c3d7a;
}
#page_camp_list .camp_list_box .list_title .list_title__name {
  display: block;
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: bold;
}

