/* ---------- Interests page ---------- */

.interests-main {
  padding: 24px 0 96px;
  overflow-x: auto;
}

.interests-photo {
  position: relative;
  width: 1312px;
  height: 640px;
  margin: 0 64px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  overflow: hidden;
  background-image: url("../assets/Interests/Interests(BG).png");
  background-size: cover;
  background-position: center;
}

.interests-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  opacity: 0.05;
  z-index: 1;
}

.interest-card {
  position: absolute;
  z-index: 2;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  padding: 32px;
  color: rgba(255, 255, 255, 0.85);
  box-sizing: border-box;
}

.interest-card h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
}

.interest-card p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.interest-card a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.interest-list-label {
  margin-bottom: 4px;
}

.interest-card--dance {
  left: 116px;
  top: 84px;
  width: 420px;
  height: 280px;
}

.interest-card--food {
  left: 580px;
  top: 211px;
  width: 560px;
  height: 359px;
}

@media (max-width: 900px) {
  .interests-main {
    overflow-x: visible;
    padding: 24px 24px 64px;
  }

  .interests-photo {
    width: auto;
    height: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-image: none;
    border: none;
  }

  .interests-overlay {
    display: none;
  }

  .interest-card {
    position: relative;
    left: auto;
    top: auto;
    width: 100% !important;
    height: auto !important;
    overflow: hidden;
    background: var(--color-ink);
    background-image: url("../assets/Interests/Interests(BG).png");
    background-size: cover;
    background-position: center;
  }

  .interest-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 12px;
    z-index: 0;
  }

  .interest-card > * {
    position: relative;
    z-index: 1;
  }
}
