.card-photo-wrapper {
  padding: 0 60px; }

.card-photo {
  padding: 0 22.5px;
  margin-bottom: 60px;
  border-radius: 54px; }
  .card-photo:hover .photo img {
    margin-bottom: -1px; }
  .card-photo h3 {
    font-size: 30rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600; }
  .card-photo p {
    text-align: center;
    margin-bottom: 0;
    font-size: 17rem;
    font-weight: 500; }
  .card-photo a.wrapper:hover {
    transform: scale(0.95); }
  .card-photo .wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 54px; }
  .card-photo .text {
    background-color: var(--primary-bg);
    position: relative;
    padding: 25px 50px;
    padding-bottom: 70px;
    height: 100%;
    border-bottom-left-radius: 54px;
    border-bottom-right-radius: 54px;
    display: flex;
    justify-content: center;
    border: 2px solid var(--light-bg);
    border-top: 0; }
    .card-photo .text:after {
      content: "";
      display: block;
      width: 30px;
      height: 15px;
      background-size: 27px;
      background-image: url("/img/right-arrow.png");
      background-repeat: no-repeat;
      background-position: center;
      position: absolute;
      bottom: 30px; }
  .card-photo .photo .image {
    display: flex;
    justify-content: center;
    align-items: center; }
  .card-photo .photo img {
    width: 100%;
    height: 15.6vw;
    margin-bottom: -1px;
    object-fit: cover;
    border-top-left-radius: 54px;
    border-top-right-radius: 54px; }
  .card-photo .text-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    align-items: center; }

@media (max-width: 575.5px) {
  .card-photo {
    padding: 0 15px;
    max-width: 290px;
    margin: 0 auto;
    margin-bottom: 20px; }
    .card-photo h3 {
      font-size: 20rem;
      width: 230px;
      max-width: 100%; }
    .card-photo .photo img {
      height: 140px;
      border-top-left-radius: 35px;
      border-top-right-radius: 35px; }
    .card-photo .text {
      padding: 20px 10px;
      padding-bottom: 55px;
      border-bottom-left-radius: 35px;
      border-bottom-right-radius: 35px; }
      .card-photo .text:after {
        bottom: 25px; }

  .card-photo-wrapper {
    padding: 0 20px; } }
@media (min-width: 576px) and (max-width: 767.5px) {
  .card-photo {
    padding: 0 15px;
    max-width: 450px;
    margin: 0 auto;
    margin-bottom: 30px; }
    .card-photo h3 {
      font-size: 20rem;
      width: 245px;
      max-width: 100%; }
    .card-photo .photo img {
      height: 235px;
      border-top-left-radius: 35px;
      border-top-right-radius: 35px; }
    .card-photo .text {
      padding: 20px 10px;
      padding-bottom: 55px;
      border-bottom-left-radius: 35px;
      border-bottom-right-radius: 35px; }
      .card-photo .text:after {
        bottom: 25px; }

  .card-photo-wrapper {
    padding: 0 20px; } }
@media (min-width: 768px) and (max-width: 991.5px) {
  .card-photo {
    padding: 0 15px; }
    .card-photo h3 {
      font-size: 20rem;
      width: 269px;
      max-width: 100%; }
    .card-photo .photo img {
      height: 22vw;
      border-top-left-radius: 35px;
      border-top-right-radius: 35px; }
    .card-photo .text {
      padding: 20px 10px;
      padding-bottom: 55px;
      border-bottom-left-radius: 35px;
      border-bottom-right-radius: 35px; }
      .card-photo .text:after {
        bottom: 25px; }

  .card-photo-wrapper {
    padding: 0 20px; } }
@media (min-width: 992px) and (max-width: 1199.5px) {
  .card-photo {
    padding: 0 15px; }
    .card-photo h3 {
      font-size: 20rem;
      width: 269px;
      max-width: 100%; }
    .card-photo .photo img {
      height: 16vw;
      border-top-left-radius: 35px;
      border-top-right-radius: 35px; }
    .card-photo .text {
      padding: 20px 10px;
      padding-bottom: 55px;
      border-bottom-left-radius: 35px;
      border-bottom-right-radius: 35px; }
      .card-photo .text:after {
        bottom: 25px; }

  .card-photo-wrapper {
    padding: 0 20px; } }
@media (min-width: 1200px) and (max-width: 1579.5px) {
  .card-photo {
    padding: 0 15px; }
    .card-photo h3 {
      font-size: 23rem;
      width: 325px;
      max-width: 100%; }
    .card-photo .photo img {
      height: 17vw; }
    .card-photo .text {
      padding: 20px;
      padding-bottom: 55px;
      width: 100%; }
      .card-photo .text .text-inner {
        width: 100%; }
      .card-photo .text:after {
        bottom: 25px; }

  .card-photo-wrapper {
    padding: 0 20px; } }

/*# sourceMappingURL=card_photo.css.map */
