/* overall 2 column grid */
.guide-content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1rem;
  text-align: center;
}
/* main 1 -> 3 column grid inside the 2 col grid */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

@media (min-width: 520px) {
  .flex-container {
    justify-content: center;
    /* Make it a query container for later */
    container-type: inline-size;
  }
}
@media (min-width: 768px) {
  .guide-content {
    grid-template-columns: 25% 1fr;
  }
  .flex-container {
    gap: 16px;
  }
}

/* top content becomes left column early */
.guide-content .left-column {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 80px;
}
@media (min-width: 520px) {
  .guide-content .left-column {
    font-size: 20px;
    margin-bottom: 30px;
  }
}
@media (min-width: 768px) {
  .guide-content .left-column {
    text-align: left;
  }
}


/* individual blocks in the grid  */
.guide-content .block {
  align-items: stretch;
  justify-content: center;
  flex: 0 1 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  gap: 10px;
  aspect-ratio: 1.24 / 1;
  border-radius: 20px;
  font-size: 18px;
}
@media (min-width: 520px) {
  .guide-content .block {
    flex: 0 1 calc((100% - 2rem) / 2);
  }
}
@media (min-width: 768px) {
  .guide-content .block {
    max-width: 260px;
    flex: 0 1 calc((100% - 2rem) / 3);
  }
}

/* block content  */
.block-content-top img {
  max-width: 90px;
  width: 100%;
  width: 20vw;
  min-width: 80px;
}
.block-content-btm {
  padding: 0 35px;
}
@media (min-width: 520px) {
  .block-content-top {
    padding-top: 1rem;
    display: flex;
    justify-content: center;
  }
  .block-content-top img {
    max-width: 70px;
    min-width: auto;
    width: 100%;
  }
  .block-content-btm {
    font-size: 2.5vw;
  }
}
@media (min-width: 768px) {
  .block-content-top img {
    max-width: 6vw;
    min-width: auto;
    width: 100%;
  }
  .block-content-btm {
    font-size: 1.5vw;
    padding:0 15px;
  }
}
@media (min-width: 1080px) {
  .block-content-top img {
    max-width: 60px;
    min-width: auto;
    width: 100%;
  }
  .block-content-btm {
    font-size: 18px;
    padding:0 15px;
  }
}

/* Manual colors */
.block {
  background-color: #f9d9b7;
  background-color: #fbf2da;
}
.block:nth-child(even) {
  background-color: #f9d9b7;
}
@media (min-width: 520px) {
  .block:nth-child(1),
  .block:nth-child(4),
  .block:nth-child(5),
  .block:nth-child(7) {
    background-color: #fbf2da;
  }
  .block:nth-child(2),
  .block:nth-child(3),
  .block:nth-child(6) {
    background-color: #f9d9b7;
  }
}
@media (min-width: 768px) {
  .block:nth-child(1),
  .block:nth-child(3),
  .block:nth-child(5) {
    background-color: #fbf2da;
  }
  .block:nth-child(2),
  .block:nth-child(4),
  .block:nth-child(6),
  .block:nth-child(7) {
    background-color: #f9d9b7;
  }
}







/* Resource list */

.org-section {
  text-align: center;
}
.org-section h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2; /* 42px */
  margin-bottom: 1.5rem;
}
.org-intro {
  max-width: 60ch; /* average character width */
}
.org-list {
  border-bottom: 2px solid #F0CA6C;
  margin-top: 3rem;
}
.org-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  gap: 2rem;
  border-top: 2px solid #F0CA6C;
  text-align: center;
}
.org-logo,
.org-text {
}
.org-logo {
  max-width: 200px;
  height: auto;
}
.org-logo img {
  max-width: 100%;
  height: auto;
}
.org-text {

}
p.disclaimer {
  color: #1d5b2e;
  font-size: .8rem;
  margin: 3rem 0 0;
}
/* Tablet / Desktop layout: side by side */
@media (min-width: 768px) {
.org-section,
.org-text {
  text-align: left;
}
.org-item {
    flex-direction: row; /* switch to horizontal layout */
    gap: 20px;
  }
.org-logo {
    flex: 0 1 270px; /* fixed-ish width, can shrink */
  }
.org-text {
    flex: 1; /* take remaining space */
  }
  p.disclaimer {

  }
}
