.card-photo-group {
  background-image: url("/img/cards-bg.png");
  background-repeat: no-repeat;
  padding-bottom: 95px;
  background-position: bottom; }

.card-photo {
  margin-bottom: 100px; }
  .card-photo h3 {
    font-size: 29rem;
    text-align: left;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase; }
  .card-photo p {
    text-align: left;
    font-size: 17rem;
    color: var(--primary-text);
    margin-bottom: 0;
    flex: 1; }
  .card-photo .wrapper {
    transition: 0.3s;
    -webkit-transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column; }
    .card-photo .wrapper:hover {
      transform: scale(0.95); }
  .card-photo .text {
    padding: 31px 40px 80px 20px;
    height: 100%;
    background-color: var(--primary-bg); }
  .card-photo .photo .image {
    display: flex;
    justify-content: center;
    align-items: center; }
  .card-photo .photo img {
    width: 100%;
    height: 355px;
    object-fit: cover; }
  .card-photo .text-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; }

@media (max-width: 575.5px) {
  .card-photo {
    margin-bottom: 30px; }
    .card-photo .wrapper {
      max-width: 285px;
      margin-left: auto;
      margin-right: auto; }
    .card-photo h3 {
      font-size: 23rem; }
    .card-photo .photo img {
      height: 215px; }
    .card-photo .text {
      padding: 15px; }

  .card-photo-group {
    padding-bottom: 20px;
    background-repeat: repeat;
    background-image: linear-gradient(to bottom, white 285px, transparent 285px), url(/img/cards-bg.png);
    background-position: top; } }
@media (min-width: 576px) and (max-width: 767.5px) {
  .card-photo {
    margin-bottom: 30px; }
    .card-photo h3 {
      font-size: 23rem; }
    .card-photo .photo img {
      height: 335px; }
    .card-photo .text {
      padding: 15px; }

  .card-photo-group {
    padding-bottom: 20px;
    background-repeat: repeat;
    background-image: linear-gradient(to bottom, white 350px, transparent 350px), url(/img/cards-bg.png);
    background-position: top; } }
@media (min-width: 768px) and (max-width: 991.5px) {
  .card-photo {
    margin-bottom: 30px; }
    .card-photo h3 {
      font-size: 23rem; }
    .card-photo .photo img {
      height: 240px; }
    .card-photo .text {
      padding: 15px; }

  .card-photo-group {
    padding-bottom: 20px;
    background-position: center 310px; } }
@media (min-width: 992px) and (max-width: 1199.5px) {
  .card-photo {
    margin-bottom: 50px; }
    .card-photo h3 {
      font-size: 25rem;
      margin-bottom: 10px; }
    .card-photo .photo img {
      height: 240px; }
    .card-photo .text {
      padding: 20px; }

  .card-photo-group {
    padding-bottom: 20px;
    background-position: center 310px; } }
@media (min-width: 1200px) and (max-width: 1579.5px) {
  .card-photo {
    margin-bottom: 65px; }
    .card-photo h3 {
      font-size: 25rem;
      margin-bottom: 10px; }
    .card-photo .photo img {
      height: 240px; }
    .card-photo .text {
      padding: 30px; }

  .card-photo-group {
    padding-bottom: 20px;
    background-position: center 350px; } }

/*# sourceMappingURL=card_photo.css.map */
