/* cpartners.css — safely scoped to the cpartners page
   Depends on global /style.css (keeps .america250-intro from the site)
*/

/* Scope EVERYTHING to main.cpartners-page */
.cpartners-page {
    position: relative;
    padding: clamp(1rem, 2vw, 2rem);
    z-index: 0; /* keep stacking context */
  }
  
  .cpartners-page::before {
    content: "";
    position: absolute;
    inset: 0; /* shorthand for top/right/bottom/left:0 */
    background: url("/images/TWHiloSunrise.jpg") no-repeat center center;
    background-size: cover;
    opacity: 0.8;   /* adjust from 0 (invisible) to 1 (full strength) */
    z-index: -1;    /* sits behind the page content */
  }

  
   .page-header h1 {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    line-height: 1.2;
    margin: 0 0 0.5rem 0;
  }
  
  /* Style the whole criteria section as a box */
  .criteria {
    border: 2px solid rgba(0,0,0,.25);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 2rem 0;                        /* span full width, no auto centering */
    background: rgba(255, 255, 255, 0.5);  /* transparent white background */
    width: 100%;                           /* full width of container */
    box-sizing: border-box;                /* ensures padding/border fit in width */
  }
  
  /* Center and match america250-intro color */
  .criteria h2 {
    max-width: 1275px;
    text-align: center;
    font-family: var(--site-font, inherit);  /* use your site’s standard font */
    font-size: 1.25rem;                      /* smaller than default h2 */
    color: #967BB6;        /* same color as .america250-intro */
    margin-top: 0;
    margin-bottom: 1rem;

  }
  
  
   .criteria-list {
    margin: 0.5rem 0 0 1.25rem;
  }
   .criteria-list li {
    margin: 0.35rem 0;

  }
  
   .cpartners {
    margin-top: 1.5rem;
  }
/* Fixed-width cards that don’t stretch */
.cpartners-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 260px));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;

  justify-content: start;   /* left-align the grid */
}
  
  .cpartners-list li {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
    text-align: center;   /* center all text inside the box */
  }
  
  
   .cpartner-name {
    display: block;
    font-weight: 600;
  }
   .cpartner-meta {
    display: block;
    font-size: 0.925rem;
    opacity: 0.75;
  }
  
  
  