/* ================================
   Background Image
=================================*/
body.donations-page {
    background-image: url('/images/clipperyella.png');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    /* background-color: rgba(0, 0, 0, 0.5);
       background-blend-mode: darken; */
}

/* Consistency: 2px letter spacing across this page */
body.donations-page,
body.donations-page *{
  letter-spacing: 2px;
  box-sizing: border-box;
}

* p {
  text-indent: 15px;
}

/* Match your existing page structure (about/onboarding) */
.resource-container{
  display: grid;
  grid-template-rows: repeat(auto-fit, minmax(0px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.resource-box{
  background: rgba(0,0,0,0.7);
  padding: 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 0 15px rgba(0,255,255,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-box:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0,255,255,0.45);
}

.resource-box h3{
  font-size: 1.8em;
  color: #ffd700;
  margin-bottom: 10px;
  text-align: center;
}

.resource-box h4{
  font-size: 1.4em;
  color: #ffd700;
  margin-bottom: 5px;
  text-align: center;
}


.resource-box p,
.resource-box ul,
.resource-box li{
  font-size: 0.95em;
  line-height: 1.6;
}

/* Hero */
.hero{
  text-align: center;
  padding: 30px 20px 10px 20px;
}

.hero p{
  color: #ffd700;
  margin: 8px 0 0 0;
}



/* ========================= */
/* FAQ (Centered & Clean)    */
/* ========================= */

details.faq{
  background: rgba(8,12,18,0.72);
  border: 1px solid rgba(0, 180, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.30);
  overflow: hidden;
}

details.faq + details.faq{
  margin-top: 10px;
}

/* Centered summary button */
details.faq summary{
  list-style: none;
  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 14px 16px;
  font-weight: 900;
  color: #ffd700;

  background: linear-gradient(
    180deg,
    rgba(10,14,22,0.65) 0%,
    rgba(10,14,22,0.35) 100%
  );
}

details.faq[open] summary{
  border-bottom: 1px solid rgba(0, 180, 255, 0.16);
}

/* Centered FAQ content */
details.faq p{
  padding: 14px 18px;
  margin: 0;

  text-align: center;

  color: rgba(201,212,223,0.95);
  font-size: 0.94rem;
  line-height: 1.45;
  hyphens: auto;
}

/* Small link styling */
.resource-box a.inline-link{
  color: #ffd700;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,215,0,0.35);
}

.resource-box a.inline-link:hover{
  border-bottom-color: rgba(255,215,0,0.75);
}

html{ scroll-behavior: smooth; }

/* Mobile */
@media (max-width: 520px){
  .resource-container{
    padding: 26px 12px 40px;
  }

  .hero{
    margin-top: 22px;
  }
}
