.tccm-finder {
  --tccm-accent: #8ba7a1;
  --tccm-text: #1d2828;
  --tccm-border: #c9dbd8;
  color: var(--tccm-text);
  font-family: inherit
}

.tccm-finder * {
  box-sizing: border-box
}

.tccm-form {
  width: 100%
}

.tccm-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px
}

.tccm-field label {
  display: block;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 7px
}

.tccm-field select {
  display: block;
  width: 100%;
  height: 50px;
  border: 1px solid var(--tccm-border);
  border-radius: 8px;
  padding: 0 35px 0 14px;
  background: #fff;
  color: var(--tccm-text);
  font-size: 16px;
  box-shadow: none;
  outline-offset: 2px
}

.tccm-form-bottom {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end
}

.tccm-submit {
  background: var(--tccm-accent);
  color: #fff;
  border: 0;
  border-radius: 30px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 14px 30px;
  min-width: 180px;
  min-height: 48px
}

.tccm-submit:hover {
  filter: brightness(.9)
}

.tccm-submit:disabled {
  opacity: .7;
  cursor: wait
}

.tccm-output {
  scroll-margin-top: 100px;
  margin-top: 24px;
  outline: none
}

.tccm-loading {
  padding: 16px 0
}

.tccm-total {
  font-size: 16px;
  margin: 0 0 15px
}

.tccm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}

.tccm-card {
  border: 1px solid var(--tccm-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-width: 0
}

.tccm-card-image {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden
}

.tccm-card-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block
}

.tccm-placeholder-image {
  display: block;
  width: 100%;
  height: 100%;
  background: #dcecea
}

.tccm-card-body {
  padding: 19px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px
}

.tccm-card h3 {
  font: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0
}

.tccm-card h3 a {
  color: inherit;
  text-decoration: none
}

.tccm-card-date,
.tccm-card-tags {
  font-size: 14px;
  margin: 0;
  line-height: 1.5
}

.tccm-card-tags {
  opacity: .72
}

.tccm-status {
  font-size: 12px;
  font-weight: 650;
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 20px;
  background: #e8f5e7;
  color: #1b662d
}

.tccm-status-sold_out {
  background: #fce8e5;
  color: #91291a
}

.tccm-status-limited {
  background: #fff3d6;
  color: #7d5100
}

.tccm-status-coming_soon {
  background: #edf0f5;
  color: #465973
}

.tccm-card-cta {
  margin-top: auto;
  align-self: flex-start;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #437670;
  padding-top: 7px
}

.tccm-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 23px;
  justify-content: center
}

.tccm-page,
.tccm-clear {
  cursor: pointer;
  border: 1px solid var(--tccm-border);
  background: #fff;
  border-radius: 6px;
  padding: 9px 13px;
  color: var(--tccm-text);
  font: inherit
}

.tccm-page.is-current {
  background: var(--tccm-accent);
  color: #fff
}

.tccm-no-results {
  padding: 25px;
  border: 1px dashed var(--tccm-border);
  border-radius: 12px;
  text-align: center
}

.tccm-no-results p {
  margin: 0 0 15px
}

.tccm-finder button:focus-visible,
.tccm-finder select:focus-visible {
  outline: 3px solid #628bca;
  outline-offset: 2px
}

@media(max-width:1024px) {
  .tccm-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .tccm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:640px) {
  .tccm-filters {
    grid-template-columns: 1fr;
    gap: 13px
  }

  .tccm-form-bottom {
    justify-content: stretch
  }

  .tccm-submit {
    width: 100%
  }

  .tccm-grid {
    grid-template-columns: 1fr
  }

  .tccm-field select {
    min-height: 48px
  }
}

.tccm-camp-block {
  font-family: inherit
}

.tccm-content-grid,
.tccm-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}

.tccm-content-card {
  padding: 18px;
  border: 1px solid #d6e3e0;
  border-radius: 10px
}

.tccm-content-card h3 {
  font-size: 18px;
  margin: 0 0 8px
}

.tccm-content-card p {
  margin: 0 0 8px
}

.tccm-content-card ul {
  padding-left: 20px;
  margin: 12px 0 0
}

.tccm-media-grid figure {
  margin: 0
}

.tccm-media-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover
}

.tccm-media-grid figcaption {
  font-size: 14px;
  margin-top: 8px
}

.tccm-video>a {
  display: block;
  position: relative
}

.tccm-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: white;
  background: #000a
}

.tccm-video-fallback {
  display: block;
  aspect-ratio: 16/10;
  background: #a4c6c3
}

.tccm-faq {
  border-bottom: 1px solid #c9dbd8
}

.tccm-faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 4px
}

.tccm-faq>div {
  padding: 5px 4px 20px
}

@media(max-width:767px) {

  .tccm-content-grid,
  .tccm-media-grid {
    grid-template-columns: 1fr
  }
}

/* 2.0: accessible hover/click month and season submenus. */
.tccm-when {
  position: relative;
  z-index: 5
}

.tccm-when .tccm-label {
  display: block;
  font-weight: 650;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 7px
}

.tccm-when-trigger {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  color: var(--tccm-text);
  border: 1px solid var(--tccm-border);
  border-radius: 8px;
  padding: 0 14px;
  text-align: left;
  font: inherit;
  font-size: 16px;
  cursor: pointer
}

.tccm-when-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: 190px;
  margin-top: 5px;
  padding: 6px 0;
  border: 1px solid var(--tccm-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 25px #0002;
  z-index: 50
}

.tccm-when-panel[hidden],
.tccm-when-submenu[hidden] {
  display: none !important
}

.tccm-when-choice,
.tccm-when-group-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #fff;
  color: var(--tccm-text);
  border: 0;
  border-radius: 0;
  padding: 11px 14px;
  font: inherit;
  font-size: 15px;
  line-height: 1.25;
  text-align: left;
  cursor: pointer
}

.tccm-when-choice:hover,
.tccm-when-choice:focus-visible,
.tccm-when-group-btn:hover,
.tccm-when-group-btn:focus-visible {
  background: #eef5f3
}

.tccm-when-group {
  position: relative
}

.tccm-when-submenu {
  position: absolute;
  top: 0;
  left: calc(100% - 1px);
  width: 195px;
  max-height: 390px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--tccm-border);
  border-radius: 8px;
  box-shadow: 0 10px 25px #0002;
  z-index: 60
}

.tccm-when-trigger:focus-visible,
.tccm-when-panel button:focus-visible {
  outline: 3px solid #628bca;
  outline-offset: 2px
}

@media(max-width:1024px) {
  .tccm-when-submenu {
    left: auto;
    right: calc(100% - 1px)
  }
}

@media(max-width:640px) {
  .tccm-when-submenu {
    position: static;
    left: auto;
    right: auto;
    width: 100%;
    max-height: 280px;
    box-shadow: none;
    border: 0;
    border-top: 1px solid var(--tccm-border);
    border-radius: 0
  }

  .tccm-when-submenu .tccm-when-choice {
    padding-left: 26px
  }

  .tccm-when-panel {
    width: 100%
  }
}

/* 2.0.2: one result card per Camp, with all matched departure dates. */
.tccm-card-dates {
  font-size: 14px;
  line-height: 1.5
}

.tccm-dates-label {
  display: block;
  font-weight: 650;
  margin-bottom: 5px
}

.tccm-card-dates ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.tccm-card-dates li {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.tccm-card-dates .tccm-status {
  flex-shrink: 0;
  padding: 3px 8px
}

/* 2.0.3: one Camp card contains every indexed departure; highlight matches. */
.tccm-card-dates .tccm-departure-row {
  border-radius: 6px;
  padding: 5px 7px;
  margin-left: -7px
}

.tccm-card-dates .tccm-departure-row.is-match {
  background: #f0f7f5
}

.tccm-date-match {
  font-size: 11px;
  color: #3a746b;
  font-weight: 700
}

.tccm-status-cancelled,
.tccm-status-past {
  background: #f1f1f1;
  color: #626262
}

.tccm-status-started {
  background: #eef1f7;
  color: #465973
}


/* 2.0.4: minimum 16px and compact single-line registration buttons */
.tccm-finder,
.tccm-finder * {
  font-size: 16px
}

.tccm-field label,
.tccm-when .tccm-label,
.tccm-card-tags,
.tccm-card-cta,
.tccm-total,
.tccm-page,
.tccm-clear,
.tccm-no-results p,
.tccm-loading,
.tccm-when-choice,
.tccm-when-group-btn,
.tccm-dates-label,
.tccm-card-dates,
.tccm-status,
.tccm-date-match {
  font-size: 16px
}

.tccm-submit,
.tccm-when-trigger,
.tccm-field select {
  font-size: 16px
}

.tccm-card-dates {
  margin-top: 4px
}

.tccm-dates-label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px
}

.tccm-departure-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center
}

.tccm-departure-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border: 0
}

.tccm-departure-pill.is-open {
  background: #e51414;
  color: #fff
}

.tccm-departure-pill.is-closed {
  background: #9b9b9b;
  color: #fff
}

.tccm-card h3 {
  font-size: 22px
}

.tccm-card-body {
  gap: 12px
}

.tccm-card-cta {
  padding-top: 10px;
  font-weight: 700
}

@media(max-width:640px) {
  .tccm-departure-buttons {
    gap: 10px
  }

  .tccm-departure-pill {
    width: 100%;
    justify-content: center
  }
}


/* 2.0.5: compact single-line date pills with date-only labels */
.tccm-card-dates {
  overflow: hidden
}

.tccm-departure-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin
}

.tccm-departure-pill {
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto
}

.tccm-departure-pill.is-open {
  background: #ef1010;
  color: #fff
}

.tccm-departure-pill.is-closed {
  background: #a0a0a0;
  color: #fff
}

.tccm-dates-label {
  margin-bottom: 12px
}

@media(min-width:768px) {
  .tccm-card-dates .tccm-departure-buttons {
    overflow-x: visible
  }
}

@media(max-width:640px) {
  .tccm-departure-buttons {
    gap: 8px;
    overflow-x: auto
  }

  .tccm-departure-pill {
    width: auto;
    min-width: auto;
    padding: 8px 12px
  }
}


/* ================================================================
   2.1.0 · TennisCamps homepage-style Finder and camp result cards
   Scope: .tccm-finder ONLY; does not alter Elementor or other shortcodes.
   Design: spacious white, tennis-court teal, destination cards, red dates.
   All readable text >= 16px.
   ================================================================ */
.tccm-finder {
  --tccm-deep: #174d4a;
  --tccm-teal: #639c9b;
  --tccm-teal-dark: #336e6c;
  --tccm-line: #d8e7e4;
  --tccm-cream: #f5f9f7;
  --tccm-accent-red: #ef1717;
  --tccm-ink: #172f2e;
  --tccm-muted: #536b69;
  color: var(--tccm-ink);
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
}

.tccm-finder *,
.tccm-finder *::before,
.tccm-finder *::after {
  box-sizing: border-box
}

.tccm-finder * {
  font-size: inherit
}

.tccm-finder-intro {
  margin-bottom: 22px;
  max-width: 820px
}

.tccm-finder-kicker {
  display: block;
  font-size: 16px;
  letter-spacing: .12em;
  font-weight: 800;
  color: var(--tccm-teal-dark);
  margin: 0 0 9px
}

.tccm-finder-intro h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--tccm-ink);
  margin: 0 0 9px
}

.tccm-finder-intro p {
  margin: 0;
  color: var(--tccm-muted);
  font-size: 17px;
  line-height: 1.6
}

.tccm-finder .tccm-form {
  position: relative;
  background: linear-gradient(130deg, #f6faf9, #ecf5f3);
  border: 1px solid var(--tccm-line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 50px rgba(20, 73, 70, .07);
  width: 100%;
  isolation: isolate
}

.tccm-finder .tccm-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: end
}

.tccm-finder .tccm-field {
  min-width: 0
}

.tccm-finder .tccm-field label,
.tccm-finder .tccm-when .tccm-label {
  display: block;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--tccm-ink)
}

.tccm-finder .tccm-field select,
.tccm-finder .tccm-when-trigger {
  width: 100%;
  min-width: 0;
  height: 58px;
  min-height: 58px;
  background: #fff;
  color: var(--tccm-ink);
  border: 1px solid #cddfda;
  border-radius: 12px;
  padding: 0 16px;
  box-shadow: 0 2px 3px rgba(20, 80, 75, .015);
  font-family: inherit;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.4;
  transition: border-color .18s, box-shadow .18s;
  cursor: pointer
}

.tccm-finder .tccm-when-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 12px
}

.tccm-finder .tccm-when-trigger [aria-hidden] {
  font-size: 22px;
  color: var(--tccm-teal-dark)
}

.tccm-finder .tccm-field select:hover,
.tccm-finder .tccm-when-trigger:hover,
.tccm-finder .tccm-field select:focus,
.tccm-finder .tccm-when-trigger:focus-visible {
  border-color: var(--tccm-teal-dark);
  box-shadow: 0 0 0 3px rgba(99, 156, 155, .12)
}

.tccm-finder .tccm-when {
  position: relative;
  z-index: 30
}

.tccm-finder .tccm-when-panel {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--tccm-line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 18px 45px rgba(19, 70, 66, .16);
  z-index: 60
}

.tccm-finder .tccm-when-choice,
.tccm-finder .tccm-when-group-btn {
  display: flex;
  width: 100%;
  min-height: 44px;
  background: transparent;
  color: var(--tccm-ink);
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 9px;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  padding: 11px 13px;
  transition: background .15s, color .15s;
  cursor: pointer
}

.tccm-finder .tccm-when-choice:hover,
.tccm-finder .tccm-when-group-btn:hover,
.tccm-finder .tccm-when-choice:focus-visible,
.tccm-finder .tccm-when-group-btn:focus-visible {
  background: #e9f4f1;
  color: var(--tccm-deep)
}

.tccm-finder .tccm-when-group-btn span {
  color: var(--tccm-teal-dark);
  font-size: 20px
}

.tccm-finder .tccm-when-group {
  position: relative
}

.tccm-finder .tccm-when-submenu {
  position: absolute;
  top: 0;
  left: calc(100% + 5px);
  width: 225px;
  min-width: 225px;
  max-height: 385px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--tccm-line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 18px 45px rgba(19, 70, 66, .16);
  z-index: 80
}

.tccm-finder .tccm-form-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px
}

.tccm-finder .tccm-submit {
  width: 100%;
  min-height: 58px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 12px;
  background: var(--tccm-teal);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .065em;
  padding: 14px 26px;
  box-shadow: 0 7px 18px rgba(51, 110, 108, .16);
  transition: transform .2s, background .2s, box-shadow .2s;
  cursor: pointer
}

.tccm-finder .tccm-submit span {
  font-size: 22px;
  line-height: 1
}

.tccm-finder .tccm-submit:hover:not(:disabled) {
  background: var(--tccm-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(51, 110, 108, .21)
}

.tccm-finder .tccm-submit:disabled {
  opacity: .7;
  cursor: wait
}

.tccm-finder .tccm-output {
  margin-top: 32px;
  scroll-margin-top: 95px;
  outline: 0
}

.tccm-finder .tccm-loading {
  font-size: 16px;
  color: var(--tccm-teal-dark);
  padding: 15px 0;
  font-weight: 650
}

.tccm-finder .tccm-loading:not([hidden])::before {
  content: '';
  display: inline-block;
  vertical-align: -4px;
  width: 20px;
  height: 20px;
  margin-right: 12px;
  border: 3px solid #cfe3de;
  border-top-color: var(--tccm-teal-dark);
  border-radius: 50%;
  animation: tccm-spin .7s linear infinite
}

@keyframes tccm-spin {
  to {
    transform: rotate(360deg)
  }
}

.tccm-finder .tccm-total {
  display: block;
  margin: 0 0 18px;
  padding: 0 0 13px;
  border-bottom: 1px solid var(--tccm-line);
  font-size: 16px;
  font-weight: 650;
  color: var(--tccm-muted)
}

.tccm-finder .tccm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px
}

.tccm-finder .tccm-card {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  align-items: stretch;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--tccm-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(16, 63, 60, .08);
  transition: transform .22s, box-shadow .22s, border-color .22s
}

.tccm-finder .tccm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 19px 38px rgba(16, 63, 60, .14);
  border-color: #b9d2cb
}

.tccm-finder .tccm-card-image {
  position: relative;
  display: block;
  min-height: 310px;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  background: #e8f2ef
}

.tccm-finder .tccm-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  transition: transform .55s ease
}

.tccm-finder .tccm-card:hover .tccm-card-image img {
  transform: scale(1.05)
}

.tccm-finder .tccm-placeholder-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .28), transparent 35%), linear-gradient(145deg, #296964 0%, #80b4a7 56%, #d3e9de 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  text-align: center;
  padding: 32px
}

.tccm-finder .tccm-placeholder-image::after {
  content: '';
  position: absolute;
  width: 110%;
  height: 70%;
  left: -5%;
  bottom: -38%;
  transform: rotate(-15deg);
  border: 4px solid rgba(255, 255, 255, .18);
  border-radius: 48%;
  pointer-events: none
}

.tccm-finder .tccm-placeholder-name {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .18em;
  position: relative;
  z-index: 1
}

.tccm-finder .tccm-placeholder-caption {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .13em;
  position: relative;
  z-index: 1
}

.tccm-finder .tccm-placeholder-ball {
  position: relative;
  z-index: 1;
  display: block;
  width: 116px;
  height: 116px;
  flex: 0 0 116px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #e8fa8f, #cadd48 70%, #93b624 100%);
  box-shadow: inset -12px -12px 20px rgba(85, 110, 9, .15), 0 18px 36px rgba(6, 44, 42, .18);
  transform: rotate(-25deg);
  overflow: hidden
}

.tccm-finder .tccm-placeholder-ball::before,
.tccm-finder .tccm-placeholder-ball::after {
  content: '';
  position: absolute;
  width: 115px;
  height: 160px;
  top: -22px;
  border: 4px solid rgba(255, 255, 255, .94);
  border-radius: 50%
}

.tccm-finder .tccm-placeholder-ball::before {
  left: -83px
}

.tccm-finder .tccm-placeholder-ball::after {
  right: -83px
}

.tccm-finder .tccm-card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 30px 34px
}

.tccm-finder .tccm-card h3 {
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.012em;
  margin: 0;
  color: var(--tccm-ink)
}

.tccm-finder .tccm-card h3 a {
  color: inherit;
  text-decoration: none
}

.tccm-finder .tccm-card h3 a:hover {
  color: var(--tccm-teal-dark)
}

.tccm-finder .tccm-card-dates {
  margin: 0;
  min-width: 0;
  overflow: hidden
}

.tccm-finder .tccm-dates-label {
  display: block;
  color: var(--tccm-deep);
  font-size: 16px;
  font-weight: 750;
  margin: 0 0 10px;
  line-height: 1.4
}

.tccm-finder .tccm-departure-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 9px;
  align-items: center;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 6px;
  scrollbar-width: thin;
  scrollbar-color: #c7d9d5 transparent;
  -webkit-overflow-scrolling: touch
}

.tccm-finder .tccm-departure-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 42px;
  width: auto;
  min-width: unset;
  border: 0;
  border-radius: 10px;
  padding: 9px 13px;
  box-shadow: none;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s, transform .15s
}

.tccm-finder .tccm-departure-pill.is-open {
  background: #163B2B;
  color: white
}

.tccm-finder .tccm-departure-pill.is-open:hover {
  background: #163B2B;
  color: white;
  transform: translateY(-2px)
}

.tccm-finder .tccm-departure-pill.is-closed {
  background: #9c9c9c;
  color: #fff;
  cursor: not-allowed;
  opacity: 1
}

/* .tccm-finder .tccm-departure-pill.is-match {
  box-shadow: 0 0 0 2px rgba(234, 23, 23, .13)
} */

.tccm-finder .tccm-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0;
  opacity: 1;
  line-height: 1.35
}

.tccm-finder .tccm-card-tag {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 11px;
  border-radius: 8px;
  background: #edf6f3;
  color: #315f5b;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3
}

.tccm-finder .tccm-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  align-self: flex-start;
  gap: 20px;
  min-height: 48px;
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .035em;
  color: #fff;
  background: var(--tccm-deep);
  box-shadow: 0 5px 13px rgba(20, 77, 74, .12);
  transition: background .18s, transform .18s
}

.tccm-finder .tccm-card-cta span {
  font-size: 21px;
  line-height: 1
}

.tccm-finder .tccm-card-cta:hover {
  background: var(--tccm-teal-dark);
  color: #fff;
  transform: translateY(-1px)
}

.tccm-finder .tccm-no-results {
  border: 1px dashed #bfd6cf;
  background: var(--tccm-cream);
  border-radius: 18px;
  padding: 38px 22px;
  text-align: center
}

.tccm-finder .tccm-no-results p {
  font-size: 17px;
  color: var(--tccm-muted);
  margin: 0 0 17px
}

.tccm-finder .tccm-clear {
  display: inline-flex;
  border-radius: 10px;
  min-height: 46px;
  border: 1px solid var(--tccm-teal-dark);
  background: #fff;
  color: var(--tccm-deep);
  font-size: 16px;
  font-weight: 700;
  padding: 10px 20px;
  cursor: pointer
}

.tccm-finder .tccm-clear:hover {
  background: #eaf3f0
}

.tccm-finder .tccm-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
  justify-content: center
}

.tccm-finder .tccm-page {
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--tccm-line);
  font-size: 16px;
  font-weight: 700
}

.tccm-finder .tccm-page.is-current {
  background: var(--tccm-deep);
  color: #fff
}

.tccm-finder button:focus-visible,
.tccm-finder a:focus-visible,
.tccm-finder select:focus-visible {
  outline: 3px solid #395ff0;
  outline-offset: 3px
}

@media(max-width:1100px) {
  .tccm-finder .tccm-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .tccm-finder .tccm-card {
    grid-template-columns: minmax(0, 34%) minmax(0, 66%)
  }

  .tccm-finder .tccm-card-body {
    padding: 25px;
    gap: 15px
  }

  .tccm-finder .tccm-when-submenu {
    left: auto;
    right: calc(100% + 5px)
  }
}

@media(max-width:760px) {
  .tccm-finder .tccm-form {
    padding: 20px;
    border-radius: 18px
  }

  .tccm-finder .tccm-card {
    grid-template-columns: minmax(0, 1fr)
  }

  .tccm-finder .tccm-card-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 16/9
  }

  .tccm-finder .tccm-card-image img {
    height: 100%;
    min-height: 0
  }

  .tccm-finder .tccm-card-body {
    padding: 24px;
    gap: 18px
  }

  .tccm-finder .tccm-card h3 {
    font-size: 25px
  }
}

@media(max-width:540px) {
  .tccm-finder-intro h2 {
    font-size: 30px
  }

  .tccm-finder .tccm-filters {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px
  }

  .tccm-finder .tccm-form {
    padding: 18px
  }

  .tccm-finder .tccm-form-bottom {
    margin-top: 16px
  }

  .tccm-finder .tccm-field select,
  .tccm-finder .tccm-when-trigger {
    min-height: 54px;
    height: 54px
  }

  .tccm-finder .tccm-when-panel {
    width: 100%;
    min-width: 0
  }

  .tccm-finder .tccm-when-submenu {
    position: static;
    left: auto;
    right: auto;
    width: 100%;
    min-width: 0;
    max-height: 245px;
    margin: 4px 0;
    box-shadow: none;
    border-radius: 10px;
    background: #f4faf7
  }

  .tccm-finder .tccm-departure-buttons {
    gap: 8px
  }

  .tccm-finder .tccm-departure-pill {
    font-size: 16px;
    min-height: 42px;
    padding: 9px 12px
  }

  .tccm-finder .tccm-card-body {
    padding: 21px
  }

  .tccm-finder .tccm-card h3 {
    font-size: 23px
  }

  .tccm-finder .tccm-card-tag {
    font-size: 16px
  }
}

@media(prefers-reduced-motion:reduce) {
  .tccm-finder * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important
  }
}


/* ================================================================
   2.1.1 · Form-only refinements: no extra heading, true one-row
   desktop layout, matched arrows, and unclipped floating menus.
   The existing Camp result cards are deliberately unchanged.
   ================================================================ */
.tccm-finder {
  position: relative;
  z-index: 1;
  overflow: visible
}

.tccm-finder .tccm-form {
  overflow: visible;
  isolation: auto;
  padding: 21px 22px;
  border-radius: 17px
}

.tccm-finder .tccm-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(176px, .93fr);
  align-items: end;
  column-gap: 12px;
  row-gap: 14px
}

.tccm-finder .tccm-field {
  min-width: 0
}

.tccm-finder .tccm-field label,
.tccm-finder .tccm-when .tccm-label {
  margin: 0 0 9px;
  min-height: 22px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700
}

.tccm-finder .tccm-field select,
.tccm-finder .tccm-when-trigger {
  width: 100%;
  height: 56px;
  min-height: 56px;
  padding: 0 39px 0 14px;
  background-color: #fff;
  color: var(--tccm-ink);
  border: 1px solid #cedfdb;
  border-radius: 10px;
  outline-offset: 2px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: normal;
  text-align: left;
  box-shadow: none;
  vertical-align: middle
}

/* Identical SVG caret and optical vertical alignment on native selects and When. */
.tccm-finder .tccm-field select,
.tccm-finder .tccm-when-trigger {
  -webkit-appearance: none;
  appearance: none;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"%3E%3Cpath d="m4 6 4 4 4-4" stroke="%233b716d" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: right 14px center;
}

.tccm-finder .tccm-when-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #fff
}

.tccm-finder .tccm-when-current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.tccm-finder .tccm-when-trigger span[aria-hidden] {
  display: none
}

.tccm-finder .tccm-form-bottom {
  display: flex;
  align-items: stretch;
  margin: 0;
  min-width: 0
}

.tccm-finder .tccm-submit {
  width: 100%;
  height: 56px;
  min-height: 56px;
  padding: 0 10px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .015em;
  border-radius: 10px;
  box-shadow: 0 5px 13px rgba(51, 110, 108, .12)
}

.tccm-finder .tccm-submit span {
  font-size: 19px;
  line-height: 1
}

.tccm-finder .tccm-when {
  z-index: auto
}

.tccm-finder .tccm-when-panel {
  z-index: 1
}

/* Body-level portal keeps the menu above fixed footers, Elementor containers,
   and other stacking contexts; its own CSS is explicit, not scoped to .tccm-finder. */
.tccm-floating-when-panel {
  position: fixed;
  z-index: 1 !important;
  display: block;
  overflow: visible;
  background: #fff;
  color: #172f2e;
  border: 1px solid #d8e7e4;
  border-radius: 13px;
  padding: 7px;
  box-shadow: 0 16px 42px rgba(12, 63, 57, .20);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box
}

.tccm-floating-when-panel[hidden] {
  display: none !important
}

.tccm-floating-when-panel * {
  box-sizing: border-box
}

.tccm-floating-when-panel .tccm-when-choice,
.tccm-floating-when-panel .tccm-when-group-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #172f2e;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4
}

.tccm-floating-when-panel .tccm-when-choice:hover,
.tccm-floating-when-panel .tccm-when-group-btn:hover,
.tccm-floating-when-panel .tccm-when-choice:focus-visible,
.tccm-floating-when-panel .tccm-when-group-btn:focus-visible {
  background: #e9f4f1;
  color: #174d4a
}

.tccm-floating-when-panel .tccm-when-group-btn span {
  color: #3b716d;
  font-size: 19px;
  line-height: 1
}

.tccm-floating-when-panel .tccm-when-group {
  position: relative
}

.tccm-floating-when-panel .tccm-when-submenu {
  position: absolute;
  top: 0;
  width: 225px;
  min-width: 225px;
  max-height: min(380px, calc(100dvh - 20px));
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border: 1px solid #d8e7e4;
  border-radius: 13px;
  padding: 7px;
  box-shadow: 0 16px 42px rgba(12, 63, 57, .2);
  z-index: 2147483001
}

.tccm-floating-when-panel .tccm-when-submenu[hidden] {
  display: none !important
}

.tccm-floating-when-panel button:focus-visible {
  outline: 3px solid #395ff0;
  outline-offset: 2px
}

@media(max-width:1100px) {
  .tccm-finder .tccm-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px
  }

  .tccm-finder .tccm-form-bottom {
    grid-column: 1/-1
  }
}

@media(max-width:640px) {
  .tccm-finder .tccm-filters {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px
  }

  .tccm-finder .tccm-form {
    padding: 16px;
    border-radius: 15px
  }

  .tccm-finder .tccm-form-bottom {
    grid-column: auto
  }

  .tccm-finder .tccm-submit {
    width: 100%
  }

  .tccm-floating-when-panel .tccm-when-submenu {
    position: static;
    left: auto;
    right: auto;
    width: 100%;
    min-width: 0;
    max-height: 245px;
    margin: 4px 0;
    border-radius: 9px;
    box-shadow: none;
    background: #f4faf7
  }
}


/* ================================================================
   2.1.2 · Restore original 3-column Camp cards; 2.1.1 Finder form stays
   completely unchanged. Image is above the content, not alongside it.
   ================================================================ */
.tccm-finder .tccm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.tccm-finder .tccm-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cbdcda;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  transform: none;
}

.tccm-finder .tccm-card:hover {
  transform: none;
  border-color: #adcac5;
  box-shadow: 0 6px 20px rgba(18, 63, 60, .07);
}

.tccm-finder .tccm-card-image {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #e8f2ef;
}

.tccm-finder .tccm-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.tccm-finder .tccm-placeholder-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 15px;
  gap: 5px;
}

.tccm-finder .tccm-placeholder-ball {
  width: 78px;
  height: 78px;
  flex-basis: 78px;
}

.tccm-finder .tccm-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  gap: 14px;
  padding: 18px 16px 20px;
}

.tccm-finder .tccm-card h3 {
  font-size: 20px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 0;
}

.tccm-finder .tccm-card-dates {
  min-width: 0;
  margin: 0;
  overflow: hidden
}

.tccm-finder .tccm-dates-label {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700
}

.tccm-finder .tccm-departure-buttons {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 5px;
  scrollbar-width: thin;
  scrollbar-color: #c6d8d4 transparent;
  -webkit-overflow-scrolling: touch;
}

.tccm-finder .tccm-departure-pill {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 11px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.tccm-finder .tccm-departure-pill.is-open {
  background: #163B2B;
  color: #fff
}

.tccm-finder .tccm-departure-pill.is-closed {
  background: #a0a0a0;
  color: #fff
}

.tccm-finder .tccm-card-tags {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  color: #536b69;
  background: transparent;
  opacity: 1;
}

.tccm-finder .tccm-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  min-height: 32px;
  gap: 7px;
  padding: 0;
  margin-top: auto;
  background: transparent;
  color: #337b75;
  border-radius: 0;
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.tccm-finder .tccm-card-cta:hover {
  background: transparent;
  color: #174d4a;
  transform: none;
  text-decoration: underline;
}

.tccm-finder .tccm-card-cta span {
  font-size: 18px
}

@media(max-width:1050px) {
  .tccm-finder .tccm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .tccm-finder .tccm-card {
    display: flex;
    flex-direction: column
  }

  .tccm-finder .tccm-card-image {
    min-height: 0;
    height: auto;
    aspect-ratio: 16/10
  }

  .tccm-finder .tccm-card-body {
    padding: 18px 16px 20px;
    gap: 14px
  }

  .tccm-finder .tccm-card h3 {
    font-size: 20px
  }
}

@media(max-width:640px) {
  .tccm-finder .tccm-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .tccm-finder .tccm-card {
    display: flex;
    flex-direction: column
  }

  .tccm-finder .tccm-card-image {
    aspect-ratio: 16/10;
    min-height: 0;
    height: auto
  }

  .tccm-finder .tccm-card-body {
    padding: 18px 16px 20px;
    gap: 14px
  }

  .tccm-finder .tccm-card h3 {
    font-size: 20px
  }

  .tccm-finder .tccm-departure-pill {
    min-height: 40px;
    font-size: 16px
  }
}


/* 2.1.3: four dropdowns only; results load on page load and on change. */
.tccm-finder .tccm-filters {
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

@media(max-width:1100px) {
  .tccm-finder .tccm-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:640px) {
  .tccm-finder .tccm-filters {
    grid-template-columns: minmax(0, 1fr)
  }
}


/* Client request: three-card progressive load button (at least 16px). */
.tccm-finder .tccm-load-more-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0 12px
}

.tccm-finder .tccm-load-more {
  min-height: 48px;
  padding: 12px 32px;
  border: 1px solid #337b75;
  border-radius: 6px;
  background: #fff;
  color: #245f5a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background-color .15s, color .15s
}

/* .tccm-finder .tccm-load-more:hover {
  background: #245f5a;
  color: #fff
} */

.tccm-finder .tccm-load-more:focus-visible {
  outline: 3px solid #427dca;
  outline-offset: 3px
}

.tccm-finder .tccm-load-more:disabled {
  opacity: .65;
  cursor: wait
}

.tccm-finder .tccm-load-more-error {
  font-size: 16px;
  text-align: center;
  color: #af3030
}

.tccm-finder .tccm-no-results-title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--tccm-deep)
}

/* "ZOBACZ WSZYSTKIE CAMPY" — same look as "POKAŻ WIĘCEJ", centred, not full width */
.tccm-finder .tccm-no-results-actions {
  display: flex;
  justify-content: center;
  margin-top: 6px
}

.tccm-finder .tccm-no-results .tccm-clear {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: 100%;
  min-height: 48px;
  margin: 0 auto;
  padding: 12px 32px;
  border: 1px solid #337b75;
  border-radius: 6px;
  background: #fff;
  color: #245f5a;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s, color .15s
}

.tccm-finder .tccm-no-results .tccm-clear:hover {
  background: #245f5a;
  color: #fff
}

.tccm-finder .tccm-no-results .tccm-clear:focus-visible {
  outline: 3px solid #427dca;
  outline-offset: 3px
}

/* =====================================================================
   TENNISCAMPS – 2026 HOMEPAGE FINDER / VISUAL REDESIGN
   Add AFTER the existing plugin frontend.css. CSS only: no markup,
   AJAX, index, or ACF changes. Applies to .tccm-finder only, apart
   from the body-ported When dropdown (.tccm-floating-when-panel).

   LOCKED: red available and grey sold-out departure colors unchanged.
   Keep all readable text at 16px or more.
   ===================================================================== */

.tccm-finder {
  --tc26-green: #163b2b;
  --tc26-green-2: #24563d;
  --tc26-cream: #f7f4eb;
  --tc26-lime: #e0ec55;
  --tc26-mint: #eaf2e8;
  --tc26-ink: #173c2b;
  --tc26-line: #e4e8df;
  --tccm-ink: #173c2b;
  --tccm-deep: #163b2b;
  --tccm-teal-dark: #24563d;
  --tccm-muted: #597064;
  --tccm-line: #e4e8df;
  color: var(--tc26-ink);
  font-size: 16px;
  line-height: 1.5;
  width: 100%;
}

/* No plugin-generated heading: homepage already has its own heading. */
.tccm-finder .tccm-finder-intro { display: none !important; }

/* The entire form is now a deliberate forest-green search island. */
.tccm-finder .tccm-form {
  position: relative;
  background: var(--tc26-green);
  border: 1px solid #28513d;
  border-radius: 16px;
  padding: 22px 24px 24px;
  box-shadow: 0 14px 32px rgba(17, 48, 34, .15);
  isolation: auto;
  overflow: visible;
}

.tccm-finder .tccm-form::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 4px;
  background: var(--tc26-lime);
  border-radius: 0 0 7px 7px;
  pointer-events: none;
}

.tccm-finder .tccm-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.tccm-finder .tccm-field { min-width: 0; }

.tccm-finder .tccm-field label,
.tccm-finder .tccm-when .tccm-label {
  display: block;
  color: #f5f8ed;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  min-height: 0;
  margin: 0 0 9px;
}

.tccm-finder .tccm-form .tccm-field select,
.tccm-finder .tccm-form .tccm-when-trigger {
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  color: var(--tc26-ink);
  border: 2px solid transparent;
  border-radius: 10px;
  width: 100%;
  height: 54px;
  min-height: 54px;
  padding: 0 44px 0 16px;
  font-size: 16px;
  font-weight: 650;
  font-family: inherit;
  line-height: normal;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .12);
  outline: 0;
  cursor: pointer;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none"%3E%3Cpath d="m6 9 6 6 6-6" stroke="%23163b2b" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.tccm-finder .tccm-form .tccm-when-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.tccm-finder .tccm-form .tccm-when-trigger span[aria-hidden] { display: none; }
.tccm-finder .tccm-form .tccm-when-current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tccm-finder .tccm-form .tccm-field select:hover,
.tccm-finder .tccm-form .tccm-when-trigger:hover {
  background-color: #f5f8ed;
  border-color: #acc875;
}

.tccm-finder .tccm-form .tccm-field select:focus-visible,
.tccm-finder .tccm-form .tccm-when-trigger:focus-visible {
  border-color: var(--tc26-lime);
  outline: 3px solid var(--tc26-lime);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(224,236,85,.18);
}

/* Current Finder is auto-AJAX, so no submit button is needed. */
.tccm-finder .tccm-form-bottom { display: none !important; }

/* When dropdown is portaled into BODY by frontend.js. */
.tccm-floating-when-panel {
  z-index: 2147483000 !important;
  background: #ffffff;
  border: 1px solid #dce5db;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(15,44,31,.23);
  color: #173c2b;
  padding: 8px;
  font-size: 16px;
}

.tccm-floating-when-panel .tccm-when-choice,
.tccm-floating-when-panel .tccm-when-group-btn {
  color: #173c2b;
  background: transparent;
  border-radius: 8px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 650;
  padding: 10px 13px;
}

.tccm-floating-when-panel .tccm-when-choice:hover,
.tccm-floating-when-panel .tccm-when-choice:focus-visible,
.tccm-floating-when-panel .tccm-when-group-btn:hover,
.tccm-floating-when-panel .tccm-when-group-btn:focus-visible {
  background: #eff4db;
  color: #173c2b;
}

.tccm-floating-when-panel .tccm-when-group-btn span { color: #24563d; }
.tccm-floating-when-panel .tccm-when-submenu {
  border: 1px solid #dce5db;
  background: white;
  border-radius: 11px;
  box-shadow: 0 18px 44px rgba(15,44,31,.23);
  z-index: 2147483001;
}

/* Results: lighter whitespace on the homepage's warm-cream ground. */
.tccm-finder .tccm-output { margin-top: 25px; }
.tccm-finder .tccm-total {
  display: block;
  color: #28543c;
  font-size: 16px;
  font-weight: 750;
  border-bottom: 1px solid #d6dfd5;
  margin: 0 0 22px;
  padding: 0 0 12px;
}

.tccm-finder .tccm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

/* Cards: unmistakably redesigned, but remain the same 3-column grid. */
.tccm-finder .tccm-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--tc26-line);
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(19, 51, 38, .09);
  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.tccm-finder .tccm-card:hover {
  transform: translateY(-5px);
  border-color: #a5bfae;
  box-shadow: 0 18px 35px rgba(19, 51, 38, .16);
}

.tccm-finder .tccm-card-image {
  position: relative;
  display: block;
  min-height: 0;
  height: auto;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: #b9d7c1;
}

.tccm-finder .tccm-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.tccm-finder .tccm-card:hover .tccm-card-image img { transform: scale(1.045); }
.tccm-finder .tccm-placeholder-image {
  background: linear-gradient(145deg,#29684b 0%,#75a58b 70%,#cde1bd 100%);
}

.tccm-finder .tccm-card-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  gap: 13px;
  padding: 21px 20px 22px;
  border-top: 4px solid var(--tc26-lime);
}

.tccm-finder .tccm-card h3 {
  color: var(--tc26-ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.012em;
  margin: 0;
}

.tccm-finder .tccm-card h3 a,
.tccm-finder .tccm-card h3 a:visited { color: var(--tc26-ink); text-decoration: none; }
.tccm-finder .tccm-card h3 a:hover { color: #286e4a; }

.tccm-finder .tccm-dates-label {
  color: #2d5741;
  font-size: 16px;
  font-weight: 750;
  margin: 0 0 9px;
}

.tccm-finder .tccm-departure-buttons {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 5px;
  scrollbar-width: thin;
  scrollbar-color: #b2c6b6 transparent;
}

/* Deliberately NO .is-open/.is-closed background/color changes here.
   Available stays RED, sold-out stays GREY, including clickable grey links. */
.tccm-finder a.tccm-departure-pill.is-closed { cursor: pointer; }

.tccm-finder .tccm-card-tags {
  display: block;
  align-self: flex-start;
  max-width: 100%;
  background: #eff4e9;
  border-radius: 8px;
  color: #365c45;
  padding: 8px 11px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.tccm-finder .tccm-card-tag {
  border-radius: 6px;
  background: #eff4e9;
  color: #365c45;
  font-size: 16px;
}

/* Visual CTA, with lime arrow, inside each white card. */
.tccm-finder .tccm-card-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  width: auto;
  min-height: 46px;
  margin-top: auto;
  padding: 8px 10px 8px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--tc26-green);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: none;
  transition: background .18s, transform .18s;
}

.tccm-finder .tccm-card-cta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 7px;
  background: var(--tc26-lime);
  color: var(--tc26-green);
  font-size: 20px;
  line-height: 1;
}

.tccm-finder .tccm-card-cta:hover,
.tccm-finder .tccm-card-cta:focus-visible {
  background: #2a694b;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Centered, not full-width: lime outline CTA matches new homepage. */
.tccm-finder .tccm-load-more-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 31px 0 10px;
}
.tccm-finder .tccm-load-more,
.tccm-finder .tccm-no-results .tccm-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto !important;
  min-width: 220px;
  max-width: 100%;
  min-height: 51px;
  padding: 12px 30px;
  border: 2px solid var(--tc26-lime);
  border-radius: 999px;
  background: var(--tc26-lime);
  color: var(--tc26-green);
  font-size: 16px;
  font-weight: 800;
/*   box-shadow: 0 5px 0 rgba(22,59,43,.15); */
  cursor: pointer;
  transition: transform .17s, box-shadow .17s, background-color .17s;
}

.tccm-finder .tccm-no-results {
  background: #fff;
  border: 1px dashed #9fb8a7;
  border-radius: 15px;
  padding: 34px 20px;
}
.tccm-finder .tccm-no-results-title { color: var(--tc26-ink); font-size: 22px; }
.tccm-finder .tccm-no-results p,
.tccm-finder .tccm-loading { color: #41624f; font-size: 16px; }
.tccm-finder .tccm-loading:not([hidden])::before { border-top-color: #285e41; }

.tccm-finder button:focus-visible,
.tccm-finder a:focus-visible,
.tccm-finder select:focus-visible {
  outline: 3px solid var(--tc26-lime);
  outline-offset: 3px;
}

/* Two-column tablet; single-column mobile; preserve 16px minimum. */
@media (max-width: 1024px) {
  .tccm-finder .tccm-filters,
  .tccm-finder .tccm-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .tccm-finder .tccm-form { padding: 20px 16px 18px; border-radius: 13px; }
  .tccm-finder .tccm-form::before { left: 16px; right: 16px; }
  .tccm-finder .tccm-filters,
  .tccm-finder .tccm-grid { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .tccm-finder .tccm-card-body { padding: 19px 17px 20px; }
  .tccm-finder .tccm-card h3 { font-size: 21px; }
  .tccm-finder .tccm-load-more { width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
  .tccm-finder .tccm-card,
  .tccm-finder .tccm-card-image img,
  .tccm-finder .tccm-card-cta,
  .tccm-finder .tccm-load-more { transition: none !important; transform: none !important; }
}
