/* Final responsive layer for public pages. */

#section-social .mg-social-card {
  min-height: 0;
}

#section-social .mg-social-card::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section-social .col_one_third:nth-of-type(1) .mg-social-card::before {
  background-image: url("/uploads/instagram/DG3rmlcI0tB.jpg");
}

#section-social .col_one_third:nth-of-type(2) .mg-social-card::before {
  background-image: url("/uploads/instagram/DBeZ_1Pyaf4.jpg");
}

#section-social .col_one_third:nth-of-type(3) .mg-social-card::before {
  background-image: url("/uploads/instagram/DHA7vnBI7Y1.jpg");
}

#section-social .mg-social-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

#section-social .mg-social-card:has(> img)::before {
  display: none;
}

@media (max-width: 991px) {
  body {
    font-size: 15px;
    line-height: 1.65;
  }

  #wrapper {
    width: 100%;
    overflow: clip;
  }

  #content .content-wrap {
    padding: 34px 0 0 !important;
  }

  #content .container,
  .section > .container,
  #section-social > .container {
    width: 100% !important;
    max-width: 760px;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .heading-block {
    margin-bottom: 30px;
  }

  .heading-block h1,
  .heading-block h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .heading-block h3 {
    font-size: 22px;
    line-height: 1.3;
  }

  .heading-block > span {
    margin-top: 8px;
    font-size: 15px;
  }

  .button,
  button.button,
  .btn {
    max-width: 100%;
    min-height: 48px;
    margin-right: 4px;
    margin-left: 4px;
    padding: 0 22px;
    white-space: normal;
    line-height: 48px;
  }

  .button-xlarge {
    min-height: 54px;
    padding: 0 26px;
    font-size: 17px;
    line-height: 54px;
  }

  .feature-box {
    height: auto !important;
    min-height: 0;
    margin-bottom: 18px;
    padding: 22px 18px;
    background: #fff;
    border: 1px solid #e4e9f0;
    box-shadow: 0 8px 22px rgba(20, 32, 51, .06);
  }

  .feature-box h3 {
    font-size: 16px;
    line-height: 1.35;
  }

  .feature-box p {
    font-size: 14px;
  }

  .pricing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .pricing > [class*="col-"],
  .pricing .col-md-3 {
    width: auto;
    margin: 0 !important;
    padding: 0;
  }

  .pricing-box {
    height: 100%;
  }

  .table-responsive {
    margin-right: -4px;
    margin-left: -4px;
    -webkit-overflow-scrolling: touch;
  }

  .table-comparison {
    min-width: 720px;
    font-size: 13px;
  }

  .sm-form-control,
  .form-control,
  select {
    min-height: 48px;
    font-size: 16px;
  }

  textarea.sm-form-control,
  textarea.form-control {
    min-height: 140px;
  }

  #section-social .container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  #section-social .col_one_third {
    float: none;
    width: auto;
    margin: 0 !important;
  }

  #section-social .mg-social-card-meta {
    min-height: 62px;
    padding: 10px 8px;
  }

  #section-social .mg-social-card-meta strong {
    font-size: 12px;
    line-height: 1.35;
  }

  #footer .footer-widgets-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  #footer .col_one_fifth {
    float: none;
    width: auto;
    margin: 0 !important;
  }

  #footer .col_one_fifth:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  #content .content-wrap {
    padding-top: 26px !important;
  }

  #content .container,
  .section > .container,
  #section-social > .container {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .heading-block h1,
  .heading-block h2 {
    font-size: 24px;
  }

  .heading-block h3 {
    font-size: 20px;
  }

  .button-xlarge {
    width: auto;
    min-width: min(100%, 260px);
    padding-right: 18px;
    padding-left: 18px;
    font-size: 16px;
  }

  .pricing {
    grid-template-columns: 1fr;
  }

  #section-social .container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #section-social .mg-social-card {
    max-width: 360px;
    margin: 0 auto;
  }

  #section-social .mg-social-card::before {
    aspect-ratio: 4 / 5;
  }

  #section-social .mg-social-card-meta strong {
    font-size: 14px;
  }

  #footer .footer-widgets-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #footer .col_one_fifth:last-child {
    grid-column: auto;
  }

  #copyrights,
  #copyrights .tright {
    text-align: center !important;
  }

  #live-stats {
    font-size: 11px !important;
  }
}
