.showcase {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.showcase__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
}

.showcase__tabs label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 8px;
  border-radius: var(--r-s);
  color: var(--t);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.showcase__tabs svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--tl-d);
}

.showcase__tabs label:hover { background: var(--card); }

#showcase-excursion:checked ~ .showcase__tabs label[for="showcase-excursion"],
#showcase-instructor:checked ~ .showcase__tabs label[for="showcase-instructor"],
#showcase-hospitality:checked ~ .showcase__tabs label[for="showcase-hospitality"] {
  background: var(--ink);
  color: var(--card);
}

#showcase-excursion:checked ~ .showcase__tabs label[for="showcase-excursion"] svg,
#showcase-instructor:checked ~ .showcase__tabs label[for="showcase-instructor"] svg,
#showcase-hospitality:checked ~ .showcase__tabs label[for="showcase-hospitality"] svg {
  color: var(--or);
}

#showcase-excursion:focus-visible ~ .showcase__tabs label[for="showcase-excursion"],
#showcase-instructor:focus-visible ~ .showcase__tabs label[for="showcase-instructor"],
#showcase-hospitality:focus-visible ~ .showcase__tabs label[for="showcase-hospitality"] {
  outline: 3px solid var(--or-d);
  outline-offset: 2px;
}

.showcase__panel { display: none; }

#showcase-excursion:checked ~ .showcase__panels [data-showcase="excursion"],
#showcase-instructor:checked ~ .showcase__panels [data-showcase="instructor"],
#showcase-hospitality:checked ~ .showcase__panels [data-showcase="hospitality"] {
  display: block;
}

.showcase__picker {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 14px;
}

.showcase__picker > span {
  font-size: 15px;
  font-weight: 600;
}

.showcase__picker .selectw__btn {
  min-height: 48px;
  font: 600 15px/1.3 var(--f-t);
}

.showcase__picker .selectw.is-up .selectw__list {
  top: auto;
  bottom: calc(100% + 6px);
}

.showcase__feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--sh-l);
}

.showcase__visual {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 440px;
  padding: clamp(24px, 3.6vw, 52px) clamp(22px, 3.1vw, 44px);
  background: var(--ink3);
}

.showcase__visual img,
.showcase__visual::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.showcase__visual img {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.showcase__visual::after {
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, rgba(9, 17, 23, .96) 0%, rgba(9, 17, 23, .72) 33%, rgba(9, 17, 23, .14) 72%, transparent 100%);
}

.showcase__visual .fig-gen {
  top: 14px;
  bottom: auto;
  background: var(--ink);
  color: var(--card);
}

.showcase__visual h3 {
  max-width: 18ch;
  margin: 0;
  color: var(--card);
  font: 600 clamp(36px, 4.15vw, 58px)/1.07 var(--f-d);
  text-transform: uppercase;
  text-wrap: balance;
}

.showcase__brief {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3.25vw, 42px);
  background: linear-gradient(rgba(15, 27, 36, .4), rgba(15, 27, 36, .4)),
              var(--ink) url("../img/topo-dark.svg?v=12") right center/1000px auto;
}

.showcase__brief h4 {
  margin: 0;
  color: var(--card);
  font: 600 clamp(23px, 2vw, 30px)/1.16 var(--f-d);
  text-wrap: balance;
}

.showcase__brief .showcase__format {
  margin: 8px 0 20px;
  color: var(--tl);
  font-size: 14px;
}

.showcase__brief dl {
  display: grid;
  gap: 0;
  width: 100%;
  margin: 0 0 24px;
}

.showcase__brief dl > div {
  padding: 12px 0;
  border-top: 1px solid rgba(210, 219, 214, .24);
}

.showcase__brief dl > div:last-child { padding-bottom: 0; }

.showcase__brief dt {
  margin-bottom: 3px;
  color: var(--muted-d);
  font-size: 13px;
  font-weight: 600;
}

.showcase__brief dd {
  margin: 0;
  color: var(--card);
  font-size: 16px;
  line-height: 1.45;
}

.showcase__brief .btn {
  min-width: 0;
  margin-top: auto;
  padding-inline: 16px;
  white-space: normal;
}

.showcase__library {
  margin-top: clamp(28px, 4vw, 44px);
}

.showcase__library-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 18px;
  margin-bottom: 10px;
}

.showcase__library-head h4 {
  margin: 0;
  font-size: 21px;
}

.showcase__library-head a,
.showcase__pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

.showcase__library-head svg,
.showcase__pdf svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.showcase__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(22px, 4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.showcase__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-block: 8px;
}

.showcase__program {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 50px;
  color: var(--t);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.showcase__program:hover > span { text-decoration: underline; }

.showcase__program[aria-current="true"] > span {
  color: var(--tl-d);
  text-decoration: underline;
}

.showcase__program small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.showcase__pdf {
  padding-inline: 6px;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .showcase__feature { grid-template-columns: minmax(0, 1fr); }
  .showcase__visual { min-height: clamp(240px, 55vw, 370px); }
  .showcase__list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 460px) {
  .showcase__picker { grid-template-columns: minmax(0, 1fr); }

  .showcase__tabs label {
    flex-direction: column;
    gap: 5px;
    min-height: 58px;
    padding-inline: 2px;
    font-size: 12.5px;
  }

  .showcase__visual { padding: 20px; }
  .showcase__visual h3 { font-size: clamp(32px, 9vw, 40px); }
  .showcase__brief { padding: 20px; }
}
