a {
    text-decoration: none;
    color: #FFAA33;
}

a:hover {
    color: #ADD8E6; /* slightly lighter orange */
}

/* Global HR Style */
hr {
    width: 100%;          /* Default to 90% of container width */
    height: clamp(3px, 0.5vw, 10px); /* Responsive height */
    border: none;        /* Remove default border */
}

.participate-wrapper{
    display: grid;
    grid-template-columns: 1fr; /* one column */ 
    gap: 1.25rem;
    align-items: start;
    justify-content: center;
    width: 80vw;
    margin: 0 auto;
    gap: 2rem;
    padding-inline: clamp(12px,4vw,32px);
}

/* child wrappers */
.section-wrapper{ 

    display: grid;
    justify-self: center;
    align-self: center;
    width: 80%;
}

.section-wrapper ul li {
    font-size: clamp(.75rem, 2vw, 1rem); /* match other list text */
    line-height: 1.3;
    margin: 0;
}

.section-wrapper p{
    /* max-width: min(70ch, 100%);  */
    /* margin: 0 auto;  */
    text-align: left;
    line-height: 1.2;
    font-size: clamp(.75rem, 2vw, 1rem);
    word-break: normal;  
    /* text-wrap: balance;  */
    /* padding-inline: clamp(8px, 4vw, 24px); */
    /* margin: 0 auto; */
    margin-bottom: 0;
}

.section-wrapper name{
    /* margin: 0 0 .75rem; */
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: bold;
    /* margin-top: 1rem; */
  }

  .section-wrapper question{
    /* margin: 0 0 .75rem; */
    font-size: clamp(1rem, 3vw, 1.5rem);
    /* padding-inline: clamp(8px, 4vw, 24px); */
    font-weight: bold;
    color:#FFAA33;
    margin-top: 1rem;

  }


  /* Normal Image Text Wrap (Right Left Align End for nested mini-img) */
.img-txt-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    justify-items: start;
    column-gap: 0;
    width: 100%;
}

.img-txt-wrapper img{
    /* width: clamp(120px, 20vw, 200px);  */
    max-width: 200px;
    width: 100%;
    display: block; 
}

.img-txt-wrapper p{
    max-width: min(70ch, 100%); 
    /* margin: 0 auto;  */
    text-align: left;
    line-height: 1.2;
    font-size: clamp(.75rem, 2vw, 1rem);
    word-break: normal;  
    text-wrap: balance; 
    padding-inline: clamp(8px, 4vw, 24px);
}

.img-txt-wrapper-building {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: start;
    column-gap: 0;
    width: 100%;
}

.img-txt-wrapper-building img{
    /* width: clamp(120px, 20vw, 200px);  */
    max-width: 100px;
    width: 100%;
    display: block; 
}

.img-txt-wrapper-building ul{
    text-align: left;
    margin: 0;
    /* padding: 0;     removes the left indent */
    /* text-align: left; */
}

/* Names of RA */
.img-txt-wrapper-building li{
    font-size: clamp(.75rem, 3vw, 1rem);
    margin: 0 auto;
    /* list-style: none; */
}

.within-col {
    display: grid;
    gap: 1rem; /* space between p and mini block */
    align-content: start;
}

.within-col p {
    max-width: min(70ch, 100%);
    text-align: left;
    line-height: 1.2;
    font-size: clamp(.75rem, 2vw, 1rem);
    text-wrap: balance; 
    padding-inline: clamp(8px, 4vw, 24px);
}

/* mini row styling */
.mini-img-txt-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 0;
}

.mini-img-txt-wrapper img {
    max-width: 50px; /* smaller than main image */
    display: block; 
}

/* mobile stack */
@media (max-width: 900px) {
    .img-txt-wrapper{
      grid-template-columns: 1fr;
      align-items: start;
    }
    .img-txt-wrapper img {
      justify-self: start;   /* left */
      align-self: start;     /* top */
    }

  
    /* kill the paragraph indent on mobile */
    .img-txt-wrapper p,
    .mini-img-txt-wrapper p {
      padding-inline: 0;
      margin: 0;
    }
  
    /* keep the mini block aligned left and tidy */
    .mini-img-txt-wrapper {
      grid-template-columns: auto 1fr;
      align-items: center;
      justify-items: start;
      column-gap: .5rem;
      width: 100%;
    }
  }

  @media (max-width: 900px) {
    .img-txt-wrapper-building {
      grid-template-columns: 1fr;
      align-items: start;
    }

    .img-txt-wrapper-building img {
        justify-self: center; /* horizontally center in its column */
        align-self: start;     /* keep it top-aligned */
      }    
  
    .img-txt-wrapper-building ul {
      text-align: left;            /* left align list */
      padding-left: 1.25rem;       /* restore standard bullet indent */
      margin-left: 0;
      list-style-position: outside;/* bullet outside text block */
      width: 100%;
    }
  
    .img-txt-wrapper-building li {
      margin: 0;                   /* remove centering */
      line-height: 1.3;
    }
}
