/* Activities Text */
.act-textContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto 48px;
}

.act-textContent h2 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.act-textContent p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 36px;
}

/* Accordion – horizontal row */
.act-accordionContainer {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 520px;
  gap: 24px;
}

.act-accordionItem {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  flex: 1 1 0%;
  min-width: 0;
  transition:
    flex 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  cursor: pointer;
  background-color: #f5f5f5;
}

.act-accordionItem:hover {
  flex: 2.5 1 0%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.act-accordionImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.act-accordionItem:hover .act-accordionImage {
  transform: scale(1.08);
}

/* Overlay gradient */
.act-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    transparent 100%
  );
  transition: opacity 0.8s ease;
  z-index: 1;
}

.act-accordionItem:hover .act-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 45%,
    rgba(0, 0, 0, 0.15) 75%,
    transparent 100%
  );
}

/* Collapsed title – bottom left */
.act-titleCollapsed {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  text-align: left;
  color: white;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 2;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.act-accordionItem:hover .act-titleCollapsed {
  opacity: 0;
  transform: translateY(10px);
}

/* Expanded content – clean typography directly over gradient without card box */
.act-accordionContent {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 32px;
  padding: 0;
  color: white;
  transform: translateY(24px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.act-accordionContentInner {
  min-width: 0;
}

.act-accordionItem:hover .act-accordionContent {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.1s;
}

.act-accordionContent h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: white;
  white-space: normal;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.act-accordionContent p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* ─── Tablet ─── */
@media (max-width: 1024px) {
  .act-layout {
    gap: 36px;
  }

  .act-accordionContainer {
    height: 360px;
    gap: 16px;
  }
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .act-textContent h2 {
    font-size: 34px;
  }

  .act-textContent p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .act-accordionContainer {
    flex-direction: column;
    height: 700px;
    gap: 12px;
  }

  .act-accordionItem {
    border-radius: 18px;
    min-height: 100px;
  }

  .act-titleCollapsed {
    font-size: 18px;
    letter-spacing: 1px;
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .act-accordionContent {
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 0;
  }

  .act-accordionContent h3 {
    font-size: 22px;
  }

  .act-accordionContent p {
    font-size: 14px;
  }
}
