/* ─── Camp List Page ─── */

@media only screen and (min-width: 0rem) {
  #list {
    padding: 3rem 2rem;
    max-width: 60rem;
    margin: 2rem auto 0;
  }

  #list h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }

  /* ─── Featured Image ─── */
  .featured-image-container {
    margin: 0 0 2rem;
    border-radius: 12px;
    overflow: hidden;
  }

  .featured-image-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  /* ─── Introduction ─── */
  .introduction {
    margin-bottom: 2.5rem;
  }

  .introduction p {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 0.75rem;
  }

  /* ─── Listings Container ─── */
  .listings {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* ─── Individual Camp Card ─── */
  .individual-listing {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .individual-listing:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: #ccc;
  }

  /* ─── Camp Title ─── */
  .listing-title h3,
  .featured-listing-title-with-badge h3 {
    margin: 0;
  }

  .title-link {
    font-size: 1.55rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--secondary);
    transition: color 0.2s ease;
    line-height: 1.3;
  }

  .title-link:hover {
    color: #5a3ca0;
    text-decoration: underline;
  }

  /* ─── Quick Info Row ─── */
  .quick-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
  }

  .quick-info-item .info-icon {
    width: 18px;
    height: 18px;
    opacity: 0.55;
  }

  .quick-info-item p {
    margin: 0;
    font-size: 1rem;
    color: #555;
    font-weight: 500;
  }

  /* ─── Listing Photo ─── */
  .listing-photo {
        margin: 0.5rem 0;
        border-radius: 8px;
        overflow: hidden;
        align-self: center;
        max-width: 70%;
  }

  .listing-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* ─── Description ─── */
  .listing-description p {
    color: #555;
    line-height: 1.7;
    margin: 0;
  }

  #list p {
    font-size: 1.3rem;
    color: #444;
  }

  /* ─── Buttons ─── */
  .listing-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }

  #list .view-profile {
    background-color: var(--secondary);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    transition: background-color 0.2s ease, transform 0.15s ease;
  }

  #list .view-profile:hover {
    background-color: #5a3ca0;
  }

  #list .visit-website {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    text-align: center;
    border-radius: 8px;
    padding: 0.75rem 1.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    background: transparent;
    transition: background-color 0.2s ease, transform 0.15s ease;
  }

  #list .visit-website:hover {
    background-color: rgba(69, 43, 131, 0.06);
  }

  /* ─── Featured Listing ─── */
  .featured-listing {
    border: 2px solid var(--secondary);
    background: #f8f5ff;
    box-shadow: 0 2px 12px rgba(69, 43, 131, 0.1);
    position: relative;
  }

  .featured-listing:hover {
    box-shadow: 0 6px 24px rgba(69, 43, 131, 0.15);
    border-color: var(--secondary);
  }

  .featured-listing-title-with-badge {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .featured-listing .title-link {
    font-size: 1.65rem;
  }

  /* Featured tag pill */
  .featured-listing::before {
    content: "Featured";
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: var(--secondary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
  }
}

/* ─── Mobile ─── */
@media only screen and (max-width: 63.9375rem) {
  #list {
    padding: 2rem 1.25rem;
    margin-top: 1rem;
  }

  #list h1 {
    font-size: 1.75rem;
  }

  .individual-listing {
    padding: 1.5rem 1.25rem;
    border-radius: 10px;
  }

  .quick-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .listing-photo {
    width: 100%;
    max-width: 100%;
  }

  .listing-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .listing-buttons {
    flex-direction: column;
  }

  #list .view-profile,
  #list .visit-website {
    text-align: center;
    padding: 0.85rem 1.5rem;
  }

  .featured-listing-title-with-badge {
    flex-direction: column;
    gap: 0.5rem;
    padding-right: 0;
  }

  .featured-listing::before {
    position: static;
    align-self: flex-start;
    margin-bottom: 0.5rem;
  }

  .featured-image-container {
    margin: 0 0 1.5rem;
  }
}

/* ─── Related Camps ─── */
@media only screen and (min-width: 0rem) {
  .related-camps {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
  }

  .related-camps h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
  }

  .camp-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
  }

  .camp-link {
    font-size: 1rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
    padding: 0.25rem 0;
  }

  .camp-link:hover {
    text-decoration: underline;
    color: #5a3ca0;
  }
}

@media only screen and (max-width: 63.9375rem) {
  .related-camps {
    margin-top: 2rem;
    padding: 1.5rem 1.25rem;
  }

  .camp-links {
    justify-content: center;
    gap: 0.5rem 0.75rem;
  }

  .camp-link {
    font-size: 0.95rem;
  }
}

/* ─── FAQ ─── */
.faq {
  margin-top: 2.5rem;
}

.faq p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.7;
}