.destination-hub {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
}

.destination-hub__wrapper {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub__wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* HERO */

.destination-hub__hero {
  padding: 1.5rem 1rem;
  background-color: var(--primary-color-lighter);
  border-radius: 10px;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub__hero {
    display: flex;
    align-items: center;
    padding: 2.5rem;
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub__hero-main {
    flex: 1;
  }
}

.destination-hub__hero-main aside {
  display: flex;
  align-items: center;
}

.destination-hub__hero-main aside p {
  color: var(--primary-color);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.destination-hub__hero-main aside hr {
  flex: 1;
  margin-left: 10px;
  border-top: 1px dotted var(--gray);
}

.destination-hub__hero-main h1 {
  margin-top: 1.5rem;
  color: var(--primary-color);
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.05;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub__hero-main h1 {
    font-size: 42px;
    letter-spacing: -2px;
  }
}

.destination-hub__hero-main > p {
  margin-top: 1rem;
  max-width: 55ch;
}

.destination-hub__actions {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dotted var(--gray);
}

.destination-hub__actions .button {
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}

.destination-hub__note {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background-color: var(--white);
  border-radius: 10px;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub__note {
    width: 300px;
    flex-shrink: 0;
    margin-top: 0;
    margin-left: 2.5rem;
  }
}

.destination-hub__note-label {
  color: var(--primary-color);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.destination-hub__note p:last-child {
  margin-top: 0.5rem;
  font-size: 13px;
  line-height: 1.5;
}

/* RELATED HUBS */

.destination-hub__related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub__related {
    padding-left: 0;
    padding-right: 0;
  }
}

.destination-hub__related > p {
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.destination-hub__related ul {
  display: flex;
  flex-wrap: wrap;
}

.destination-hub__related ul li {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.destination-hub__related ul li a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  background-color: var(--white);
  border-radius: 10px;
  color: var(--primary-color);
  font-family: var(--body-font-family);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.destination-hub__related ul li a:hover {
  background-color: var(--primary-color-darkened);
  color: var(--white);
}

.destination-hub__related ul li a[aria-current="page"] {
  background-color: var(--primary-color);
  color: var(--white);
}

/* SPOTLIGHT */

.destination-hub-spotlight {
  margin-top: 1.5rem;
  padding: 1.5rem 1rem;
  background-color: var(--white);
  border-radius: 10px;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub-spotlight {
    display: flex;
    align-items: center;
    padding: 2.5rem;
  }
}

.destination-hub-spotlight__figure {
  padding: 1.5rem;
  background-color: var(--light-gray);
  border-radius: 10px;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub-spotlight__figure {
    width: 36%;
    flex-shrink: 0;
    order: 2; /* copy leads on desktop, the product tile sits right */
  }
}

.destination-hub-spotlight__figure img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.destination-hub-spotlight__body {
  margin-top: 1.5rem;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub-spotlight__body {
    flex: 1;
    margin-top: 0;
    margin-right: 2.5rem;
  }
}

.destination-hub-spotlight__kicker {
  color: var(--primary-color);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.destination-hub-spotlight__body h2 {
  margin-top: 0.75rem;
  color: var(--primary-color);
  font-size: 26px;
  letter-spacing: -1px;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub-spotlight__body h2 {
    font-size: 32px;
  }
}

.destination-hub-spotlight__body > p {
  margin-top: 0.75rem;
  font-size: 15px;
  max-width: 55ch;
}

.destination-hub-spotlight__footer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dotted var(--gray);
}

/* COLLECTIONS */

.destination-hub-collection {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub-collection {
    padding-left: 0;
    padding-right: 0;
  }
}

.destination-hub-collection__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dotted var(--gray);
}

.destination-hub-collection__header h2 {
  color: var(--primary-color);
  font-size: 22px;
}

.destination-hub-collection__header p {
  font-size: 14px;
  max-width: 48ch;
}

.destination-hub-collection__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.destination-hub-collection__grid::after {
  content: "";
  width: 100%; /* phantom column stops space-between from centering an incomplete last row */
}

/* Tablet Portrait Up - Min 600px */
@media (min-width: 600px) {
  .destination-hub-collection__grid::after {
    width: calc(50% - 0.75rem);
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub-collection__grid::after {
    width: calc(33.333% - 1rem);
  }
}

.destination-hub-card {
  width: 100%;
  margin-bottom: 1.5rem;
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
}

/* Tablet Portrait Up - Min 600px */
@media (min-width: 600px) {
  .destination-hub-card {
    width: calc(50% - 0.75rem);
  }
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub-card {
    width: calc(33.333% - 1rem);
  }
}

.destination-hub-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.destination-hub-card__figure {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  flex-shrink: 0;
}

.destination-hub-card--products .destination-hub-card__figure {
  aspect-ratio: 1 / 1;
  background-color: var(--light-gray);
}

.destination-hub-card__figure img {
  position: absolute; /* opts out of flex min-content sizing so aspect-ratio holds */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-hub-card--products .destination-hub-card__figure img {
  top: 1.5rem;
  left: 1.5rem;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  object-fit: contain;
}

.destination-hub-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.destination-hub-card__tag {
  color: var(--primary-color);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.destination-hub-card__header h3 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 17px;
  line-height: 1.3;
}

.destination-hub-card__action {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto; /* anchors the pill when cards flex-stretch */
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  color: var(--primary-color);
  font-family: var(--body-font-family);
  font-size: 13px;
  text-transform: uppercase;
}

.destination-hub-card__link:hover .destination-hub-card__action {
  background-color: var(--primary-color);
  color: var(--white);
}

.destination-hub-collection__footer {
  margin-bottom: 1rem;
}

.destination-hub-collection__footer a {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  color: var(--primary-color);
  font-family: var(--body-font-family);
  font-size: 15px;
  text-transform: uppercase;
}

.destination-hub-collection__footer a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* PATHWAYS */

.destination-hub-pathway {
  margin-top: 1.5rem;
  padding: 1.5rem 1rem;
  background-color: var(--white);
  border-radius: 10px;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub-pathway {
    padding: 2.5rem;
  }
}

.destination-hub-pathway__header h2 {
  color: var(--primary-color);
  font-size: 22px;
}

.destination-hub-pathway__header p {
  margin-top: 0.5rem;
  font-size: 15px;
  max-width: 55ch;
}

.destination-hub-pathway__groups {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.destination-hub-pathway__group {
  width: 100%;
  margin-bottom: 1rem;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub-pathway__group {
    width: calc(50% - 1.25rem);
  }
}

.destination-hub-pathway__label {
  color: var(--primary-color);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.destination-hub-pathway__group ul li {
  border-bottom: 1px dotted var(--gray);
}

.destination-hub-pathway__group ul li a {
  display: block;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  color: var(--gray);
  font-size: 15px;
}

.destination-hub-pathway__group ul li a:hover {
  color: var(--primary-color);
}

/* FAQS */

.destination-hub-faq {
  margin-top: 1.5rem;
  padding: 1.5rem 1rem;
  background-color: var(--white);
  border-radius: 10px;
}

/* Tablet Landscape Up - Min 900px */
@media (min-width: 900px) {
  .destination-hub-faq {
    padding: 2.5rem;
  }
}

.destination-hub-faq__header h2 {
  color: var(--primary-color);
  font-size: 22px;
}

.destination-hub-faq__header p {
  margin-top: 0.5rem;
  font-size: 15px;
  max-width: 55ch;
}

.destination-hub-faq__list {
  margin-top: 1rem;
}

.destination-hub-faq__item {
  border-bottom: 1px dotted var(--gray);
}

.destination-hub-faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  color: var(--gray);
  font-family: var(--body-font-family);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.destination-hub-faq__item summary::-webkit-details-marker {
  display: none;
}

.destination-hub-faq__item summary::after {
  content: "+";
  margin-left: 1rem;
  color: var(--primary-color);
  font-size: 20px;
}

.destination-hub-faq__item[open] summary::after {
  content: "\2212"; /* minus sign */
}

.destination-hub-faq__item p {
  padding-bottom: 1rem;
  font-size: 15px;
  max-width: 65ch;
}
