/**
  * Charity Navigator custom CSS
  *
  * How this works:
  *  - The styles immediately below this comment are applied by default
  *  - If you need to adjust styles for smaller screen sizes, add those styles
  *    within the appropriate media query blocks below.
  *
  *  - Media query blocks are provided for:
  *     - Medium desktop (up to 1240px)
  *     - Large mobile (up to 930px)
  *     - Small mobile (up to 768px)
  * 
  *  - Do NOT duplicate the same style settings in each media query block. Only add styles
  *    that need to be different for specific screen sizes.
  */

.cn-wtgn-card {
  height: 375px;
}

.cn-wtgn-content-inner {
  padding-top: 54px;
  padding-bottom: 54px;
  padding-left: 8% !important;
  padding-right: 8% !important;
}

.cn-wtgn-content-inner p {
  font-size: 19.2px;
}

/* where to give now list content block has an image in the upper left corner */
.cn-wtgn-content {
  line-height: 24px;
  font-size: 16px;
  font-weight: 400;
  min-height: 350px;
}

.cn-wtgn-content::before {
  content: "";
  position: absolute;
  background-image: url(../images/dot_rectangle_pattern.png);
  height: 250px;
  width: 150px;
  background-size: contain;
  background-repeat: no-repeat;
}

.cn-wtgn-content-title {
  color: #001936;
  font-style: normal;
  font-weight: 600;
  padding-top: 5px;
}

.cn-wtgn-plain-content {
  padding-top: 54px !important;
  padding-bottom: 54px !important;
  font-size: 19.2px;
  padding-left: 16%;
  padding-right: 16%;
}

.cn-wtgn-plain-content p {
  font-size: 19.2px;
}

.cn-wtgn-content-title {
  font-size: 47.78px;
  line-height: 55px;
  padding-top: 20px;
}

.cn-list-title {
  font-size: 47.78px;
  line-height: 55px;
  font-weight: 500;
}

.cn-list-description {
  font-size: 19.2px;
  line-height: 24px;
}

.cn-list-description > p {
  font-size: 19.2px;
  line-height: 24px;
}

.cn-list-header {
  margin-left: 100px;
  margin-right: 100px;
}

.cn-accordion-title {
  padding-left: 16%;
}

.cn-accordion-title p {
  font-size: 27.65px;
  font-weight: 700;
}

.cn-subtext {
  font-size: 19.2px;
}

.cn-card-header {
  font-size: 33.18px;
}

.mobile-flex {
  max-width: 1240px;
}

.cn-cta-button a {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 100px;
  padding-right: 100px;
}

/* medium desktop */
@media (max-width: 1240px) {
  .cn-wtgn-content-inner {
    padding-left: 10% !important;
    padding-right: 10% !important;
  }
}

/* large mobile specific settings */
@media (max-width: 930px) {
  .cn-wtgn-content-inner {
    padding-left: 16% !important;
    padding-right: 16% !important;
  }

  .cn-wtgn-content-title {
    font-size: 27.65px;
    line-height: 36px;
    padding-top: 10px;
  }

  .mobile-hide {
    display: none;
  }

  .mobile-flex {
    width: 575px;
    max-width: 575px;
    justify-content: center;
    flex-direction: column;
    margin-left: 20px;
    margin-right: 20px;
  }

  .mobile-full-width {
    width: 100%;
    max-width: 100%;
    margin-left: 0px;
    margin-right: 0px;
  }

  .mobile-flex img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 575px;
    height: auto;
  }

  .mobile-flex-reverse {
    width: 575px;
    max-width: 575px;
    justify-content: center;
    flex-direction: column-reverse;
    margin-left: 20px;
    margin-right: 20px;
  }

  .mobile-flex-reverse img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 575px;
    height: auto;
  }

  .mobile-flex-center {
    display: flex;
    flex-direction: column;
  }

  .mobile-flex-center .wp-block-buttons {
    width: 100%;
  }

  .mobile-flex-center .wp-block-button {
    width: 100%;
  }
}

/* small mobile settings */
@media (max-width: 768px) {
  .cn-wtgn-card {
    height: auto;
  }

  .cn-wtgn-content::before {
    width: 45px;
    background-position: 100%;
    background-size: cover;
  }

  .cn-list-header {
    margin-left: 0px;
    margin-right: 0px;
  }

  .cn-list-title {
    font-size: 27.65px;
    line-height: 36px;
    font-weight: 500;
  }

  .cn-list-description {
    font-size: 16px;
    line-height: 24px;
  }

  .cn-list-description > p {
    font-size: 16px;
    line-height: 24px;
  }

  .cn-subtext {
    font-size: 16px;
  }

  .cn-card-header {
    font-size: 19.2px;
  }

  .cn-cta-button a {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 50px;
    padding-right: 50px;
  }

  .mobile-hide {
    display: none;
  }

  .mobile-flex {
    width: auto;
    max-width: 475px;
    justify-content: center;
    flex-direction: column;
    margin-left: 20px;
    margin-right: 20px;
  }

  .mobile-full-width {
    width: 100%;
    max-width: 100%;
    margin-left: 0px;
    margin-right: 0px;
  }

  .mobile-flex img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 320px;
    height: auto;
  }

  .mobile-flex-reverse {
    width: auto;
    min-width: 320px;
    max-width: 475px;
    justify-content: center;
    flex-direction: column-reverse;
    margin-left: 20px;
    margin-right: 20px;
  }

  .mobile-flex-reverse img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 320px;
    height: auto;
  }

  .mobile-flex-center {
    display: flex;
    flex-direction: column;
  }

  .mobile-flex-center .wp-block-buttons {
    width: 100%;
  }

  .mobile-flex-center .wp-block-button {
    width: 100%;
  }
}
