.activity-single-card {
  border: 1px solid var(--grey5);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.activity-thumbnail {
  height: 200px;
  width: 100%;
}
.activity-thumbnail a {
  display: block;
  height: 200px;
  width: 100%;
}
.activity-thumbnail img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.activity-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.activity-content .activity-age-group {
  width: fit-content;
  background: #e6f5f2;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--green2);
  margin-bottom: 16px;
}
.activity-title {
  color: var(--grey2);
  margin-bottom: 4px;
}
.activity-short-description {
  color: var(--grey1);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-date-place {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  row-gap: 8px;
}
.activity-date-place .activity-dates,
.activity-date-place .activity-location {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;

  .caption4 {
    text-transform: uppercase;
    color: var(--grey1);
  }
  .caption1 {
    color: var(--grey2);
  }
}
.activity-content .main-button-green {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  margin-top: auto;
}

/* Single activity inner content */
.single-activity-inner-content {
  display: flex;
  gap: 24px;
}
.single-activity-inner-content > .activity-inner-content-left {
  flex: 2;
  min-width: 300px;
}

.single-activity-inner-content > .activity-inner-content-right {
  flex: 1;
  min-width: 200px;
}
#backToActivities {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 32px;
  transition: color 0.4s ease, margin-bottom 0.4s ease;
}
#backToActivities:hover {
  color: var(--grey1);
}
.activity-inner-content-left {
  border: 1px solid var(--grey5);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.activity-description-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}
.content-left-container {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: padding 0.4s ease;
}
.content-left-container .body1 {
  color: var(--grey2);
}
.content-left-container .caption1 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--grey1);
}
.content-left-container .caption1 > * {
  display: flex;
  flex-direction: column;
}
.content-left-container .caption1 img {
  margin-bottom: 10px;
}
.content-left-container .caption1 ul,
.content-left-container .caption1 ol {
  margin-left: 20px;
}
.content-left-container .caption1 ul li::marker {
  font-size: 0.8em;
}
.activity-inner-content-right {
  border: 1px solid var(--grey5);
  border-radius: 8px;
  padding: 24px 16px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: padding 0.4s ease;
}
.activity-inner-content-right .main-button-green {
  transition: margin-top 0.4s ease, background-color 0.4s ease;
}
.activity-inner-content-right #close-modal-btn {
  margin-top: 32px;
}
.content-right-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.content-right-title .body2 {
  color: var(--grey2);
  width: max-content;
}
.content-right-title .caption1 {
  color: var(--grey1);
}
.activity-inner-content-right .activity-location,
.activity-inner-content-right .activity-dates,
.activity-inner-content-right .activity-age-group,
.activity-inner-content-right .activity-price {
  display: flex;
  flex-direction: column;
  gap: 8px;

  .caption4 {
    color: var(--grey1);
    text-transform: uppercase;
  }
  .caption1 {
    color: var(--grey2);
  }
}

/* MODAL */
/* Modal Background */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* Modal Content */
.custom-modal-content {
  background: var(--white1);
  padding: 24px;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Close Button */
.custom-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--grey2);
  cursor: pointer;
  transition: color 0.4s ease;
}
.custom-modal-close:hover {
  color: var(--grey1);
}

.main-button-green[disabled] {
  background-color: #a8a8a8;
  cursor: not-allowed;
  opacity: 0.7;
}
#kids-checkbox-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Checkbox */
/* Wrapper label */
.custom-checkbox-wrapper {
  position: relative;
}
.custom-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    color: var(--grey2);
}

/* Hide default checkbox */
.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Custom box */
.custom-checkbox .checkmark {
    display: block;
    width: 15px;
    height: 15px;
    border: 2px solid var(--grey1);
    border-radius: 2px;
    background-color: var(--white1);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* Checkmark indicator */
.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

/* Show checkmark when checked */
.custom-checkbox input:checked + .checkmark {
    background-color: var(--green2); 
    border-color: var(--green2);
}

.custom-checkbox input:checked + .checkmark::after {
    display: block;
}

/* Draw the check symbol */
.custom-checkbox .checkmark::after {
    left: 5px;
    top: 2px;
    width: 3px;
    height: 7px;
    border: solid var(--white1);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Optional hover/focus */
.custom-checkbox:hover .checkmark {
    border-color: var(--green2);
}

/* responsive */
@media (max-width: 1150px) {
  .single-activity-inner-content {
    flex-direction: column-reverse;
  }
  #backToActivities {
    margin-bottom: 24px;
  }
}
@media (max-width: 768px) {
  .content-left-container {
    padding: 24px 16px;
  }
  .activity-inner-content-right {
    padding: 16px;
  }
  .activity-inner-content-right #close-modal-btn {
    margin-top: 24;
  }
  /* Modal Content */
  .custom-modal-content {
    margin: auto 20px;    
  }
}
