/* Chugo Public Site — Restrained Editorial Polish (Zero AI Widget Clutter) */

/* 1. Header: warm paper translucency */
.cx-header {
  background: rgba(251, 248, 242, 0.9) !important;
  border-bottom: 1px solid rgba(16, 47, 88, 0.07) !important;
}

/* 2. Hero Section (.cx-departure): clean proportions & soft bottom transition */
.cx-departure {
  position: relative !important;
  min-height: 620px !important;
  background: #fbf8f2 !important;
}

.cx-departure::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(180deg, rgba(251, 248, 242, 0) 0%, #fbf8f2 100%);
  pointer-events: none;
  z-index: 0;
}

.cx-departure-art {
  object-fit: cover !important;
  object-position: right center !important;
}

.cx-departure-content {
  position: relative;
  z-index: 1;
  padding-block: 72px 44px !important;
}

/* Tone down electric blue (#2f64db) into deep mountain navy (#102f58 / #1d4f91) */
.cx-departure .cx-kicker {
  color: #586c83 !important;
  letter-spacing: 0.2em !important;
  margin-bottom: 20px !important;
}

.cx-departure-copy h1 {
  font-size: clamp(42px, 3.8vw, 54px) !important;
  line-height: 1.25 !important;
  color: #102f58 !important;
}

.cx-departure-copy h1 em {
  color: #1d4f91 !important;
  font-style: normal;
}

.cx-departure-copy > p {
  margin: 20px 0 32px !important;
  color: #586c83 !important;
}

/* 3. Search Bar: clean white bar kept to 780px on the left of the mountain slope */
.cx-departure-search {
  max-width: 780px !important;
  padding: 14px 16px 14px 24px !important;
  background: #ffffff !important;
  border: 1px solid #d8e1ea !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 28px rgba(16, 47, 88, 0.05) !important;
}

.cx-departure-search svg {
  width: 18px !important;
  height: 18px !important;
  color: #68788f !important;
}

.cx-departure-search .cx-button {
  height: 50px !important;
  background: #102f58 !important;
  border-color: #102f58 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.cx-departure-search .cx-button:hover {
  background: #1d4f91 !important;
  border-color: #1d4f91 !important;
}

/* 4. Hero 3-Step Guide (.cx-departure-checks):
   Completely open, unboxed typography on the paper background (no white cards, no outer box, no circles) */
.cx-departure-checks {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  max-width: 740px !important;
  margin-top: 32px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.cx-departure-checks > a,
.cx-departure-checks > a:hover,
.cx-departure-checks > a:nth-child(1),
.cx-departure-checks > a:nth-child(2),
.cx-departure-checks > a:nth-child(3) {
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  padding: 0 16px 0 0 !important;
  margin: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  border-right: 1px solid rgba(16, 47, 88, 0.12) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.cx-departure-checks > a:last-child {
  border-right: 0 !important;
}

.cx-departure-checks > a::before,
.cx-departure-checks > a::after {
  display: none !important;
  content: none !important;
}

.cx-departure-checks > a > span {
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #68788f !important;
}

.cx-departure-checks strong {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #102f58 !important;
}

.cx-departure-checks > a:hover strong {
  color: #1d4f91 !important;
}

.cx-departure-checks small {
  font-size: 12px !important;
  color: #68788f !important;
  margin-top: 3px !important;
}

.cx-departure-signature {
  display: none !important;
}

/* 5. Principles & Partner: keep open, unboxed editorial layout on #fbf8f2 */
.cx-home-principles {
  padding-block: 76px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.cx-home-partner {
  border-top: 1px solid #dbe3e8 !important;
  padding-block: 64px !important;
  margin: 0 auto !important;
  background: transparent !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* 6. Events Page: Simple text-tab Audience Switcher (儿童越野 / 成人赛事) */
.cx-page-top-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.cx-audience-switch {
  display: inline-flex;
  border-bottom: 1px solid #dbe3e8;
  gap: 20px;
}

.cx-audience-switch a {
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: #68788f;
}

.cx-audience-switch a.is-active {
  color: #102f58;
  border-bottom-color: #102f58;
}

/* 7. Guide Page Checklist: clean, border-top editorial list without heavy cards */
.cx-checklist-card {
  margin: 32px 0 16px;
  padding: 28px 0 0;
  border-top: 1px solid #dbe3e8;
  background: transparent;
}

.cx-checklist-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.cx-checklist-head strong {
  font-size: 18px;
  color: #102f58;
}

.cx-checklist-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #68788f;
}

.cx-checklist-reset {
  border: 0;
  background: none;
  color: #1d4f91;
  font-size: 13px;
  padding: 0;
  cursor: pointer;
}

.cx-checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
}

.cx-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(16, 47, 88, 0.08);
  cursor: pointer;
  font-size: 14px;
  color: #102f58;
}

.cx-check-item.is-checked {
  color: #68788f;
  text-decoration: line-through;
}

.cx-check-item input {
  width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  margin-top: 4px;
  accent-color: #102f58;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .cx-departure-checks {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .cx-departure-checks > a {
    border-right: 0 !important;
    padding: 4px 0 !important;
  }
  .cx-checklist-grid {
    grid-template-columns: 1fr;
  }
}

/* Fix .cx-home-partner text contrast on warm paper #fbf8f2 */
.chugo-web.cx-v2 .cx-home-partner,
.cx-home-partner {
  color: #16325b !important;
}
.chugo-web.cx-v2 .cx-home-partner .cx-kicker,
.cx-home-partner .cx-kicker {
  color: #2456c9 !important;
}
.chugo-web.cx-v2 .cx-home-partner h2,
.cx-home-partner h2 {
  color: #16325b !important;
}
.chugo-web.cx-v2 .cx-home-partner p,
.cx-home-partner p {
  color: #4f647c !important;
}
.chugo-web.cx-v2 .cx-home-partner .cx-button-secondary,
.cx-home-partner .cx-button-secondary {
  background: #ffffff !important;
  border: 1px solid #2456c9 !important;
  color: #2456c9 !important;
}
.chugo-web.cx-v2 .cx-home-partner .cx-button-secondary:hover,
.cx-home-partner .cx-button-secondary:hover {
  background: #2456c9 !important;
  border-color: #2456c9 !important;
  color: #ffffff !important;
}
