/* CT_FLATPAGE_LANDING_CARDS_START */
      .ct-flat-card-section{
          clear:both;
          margin:24px 0 26px;
      }

      .ct-flat-card-section__title{
          margin:0 0 10px;
          padding:0 0 9px;
          border-bottom:2px solid #dce8f3;
          color:#183754;
          font-size:24px;
          line-height:1.25;
          font-weight:700;
      }

      .ct-flat-card-section__seo-title{
          margin:0 0 8px;
          color:#183754;
          font-size:18px;
          line-height:1.35;
          font-weight:700;
      }

      .ct-flat-card-section__subtitle{
          max-width:920px;
          margin:0 0 16px;
          color:#5c5c5c;
          font-size:14px;
          line-height:1.55;
      }

      .ct-flat-card-grid{
          display:grid;
          grid-template-columns:repeat(3, minmax(0, 1fr));
          gap:14px;
          margin:0 0 24px;
      }

      .ct-flat-card{
          display:block;
          background:#ffffff;
          border:1px solid #dce8f3;
          box-shadow:0 8px 18px rgba(20,68,110,.07);
          color:#183754!important;
          text-decoration:none!important;
          overflow:hidden;
          transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
      }

      .ct-flat-card:hover{
          transform:translateY(-3px);
          border-color:rgba(23,105,173,.35);
          box-shadow:0 14px 28px rgba(20,68,110,.13);
          text-decoration:none!important;
      }

      .ct-flat-card__image{
          display:block;
          position:relative;
          background:#edf6ff;
          overflow:hidden;
      }

      .ct-flat-card__image:before{
          content:"";
          display:block;
          padding-top:56.25%;
      }

      .ct-flat-card__image img{
          position:absolute;
          left:0;
          top:0;
          width:100%!important;
          height:100%!important;
          object-fit:cover;
          border:0!important;
          margin:0!important;
          padding:0!important;
      }

      .ct-flat-card__body{
          display:block;
          padding:10px 11px 11px;
          border-top:3px solid #1769ad;
      }

      .ct-flat-card__name{
          display:block;
          min-height:42px;
          color:#183754;
          font-size:14px;
          line-height:1.25;
          font-weight:700;
      }

      .ct-flat-card__more{
          display:inline-block;
          margin-top:9px;
          padding:6px 10px;
          background:#1769ad;
          border:1px solid #1769ad;
          color:#ffffff;
          font-size:11px;
          line-height:1.2;
          font-weight:700;
      }

      @media (max-width:991px){
          .ct-flat-card-grid{
              grid-template-columns:repeat(2, minmax(0, 1fr));
              gap:12px;
          }
      }

      @media (max-width:767px){
          .ct-flat-card-section{
              margin:18px 0 22px;
          }

          .ct-flat-card-section__title{
              font-size:20px;
              margin-bottom:8px;
          }

          .ct-flat-card-section__seo-title{
              font-size:16px;
              margin-bottom:6px;
          }

          .ct-flat-card-section__subtitle{
              font-size:13px;
              line-height:1.45;
              margin-bottom:12px;
          }

          .ct-flat-card-grid{
              grid-template-columns:minmax(0, 1fr);
              gap:8px;
              margin-bottom:18px;
          }

          .ct-flat-card:hover{
              transform:none;
          }

          .ct-flat-card__body{
              padding:8px 8px 9px;
              border-top:2px solid #1769ad;
          }

          .ct-flat-card__name{
              min-height:36px;
              font-size:12px;
              line-height:1.22;
          }

          .ct-flat-card__more{
              margin-top:7px;
              padding:5px 8px;
              font-size:10px;
          }
      }
      /* CT_FLATPAGE_LANDING_CARDS_END */

.ct-flat-card {
    border-radius: 14px;
}

.ct-flat-card__image {
    aspect-ratio: 16 / 9;
}

.ct-flat-card__image::before {
    display: none;
}

.ct-flat-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.ct-flat-card:focus-visible {
    outline: 3px solid #1769ad;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .ct-flat-card {
        transition: none;
    }
}


/* OBLAKATRAVEL: группы посадочных карточек */
.ct-flat-card-group + .ct-flat-card-group {
    margin-top: 30px;
}

.ct-flat-card-group__title {
    margin: 0 0 16px;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.3;
    font-weight: 650;
    color: #183754;
}

@media (max-width: 767px) {
    .ct-flat-card-group + .ct-flat-card-group {
        margin-top: 24px;
    }

    .ct-flat-card-group__title {
        margin-bottom: 12px;
    }
}


/* OBLAKATRAVEL PREMIUM LANDING CARDS V2 */

.ct-flat-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: 26px;
    justify-content: start;
    align-items: stretch;
}

.ct-flat-card-group {
    max-width: 1120px;
}

.ct-flat-card {
    width: 100%;
    max-width: 340px;
    background: #ffffff;
    border: 1px solid #dfe8f1;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(16, 46, 82, 0.08);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.ct-flat-card:hover {
    transform: translateY(-4px);
    border-color: #ceddeb;
    box-shadow: 0 18px 42px rgba(16, 46, 82, 0.12);
}

.ct-flat-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.ct-flat-card__content,
.ct-flat-card__body {
    padding: 18px 20px 20px;
}

.ct-flat-card__title,
.ct-flat-card h3,
.ct-flat-card h4 {
    margin: 0 0 16px;
    color: #1d3551;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.ct-flat-card__button,
.ct-flat-card__link,
.ct-flat-card .btn,
.ct-flat-card a.ct-flat-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1f6fb8 0%, #154f89 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(21, 79, 137, 0.18);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}

.ct-flat-card__button:hover,
.ct-flat-card__link:hover,
.ct-flat-card .btn:hover,
.ct-flat-card a.ct-flat-card__action:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(21, 79, 137, 0.24);
}

@media (max-width: 1023px) {
    .ct-flat-card-grid {
        grid-template-columns: repeat(2, minmax(260px, 320px));
    }
}

@media (max-width: 767px) {
    .ct-flat-card-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .ct-flat-card {
        max-width: 100%;
    }

    .ct-flat-card img {
        aspect-ratio: 16 / 9;
    }
}

/* OBLAKATRAVEL PREMIUM CARD FINISH V3 */

.ct-flat-card__image {
    aspect-ratio: 16 / 9;
}

.ct-flat-card__image img {
    object-fit: cover;
    object-position: center;
}

.ct-flat-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 128px;
    padding: 18px 20px 20px;
    border-top: 0;
}

.ct-flat-card__name {
    min-height: 0;
    margin-bottom: 18px;
    color: #183754;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
}

.ct-flat-card__more {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    min-height: 38px;
    padding: 9px 18px;
    border: 0;
    border-radius: 999px;
    background: #1769ad;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
}

.ct-flat-card:hover .ct-flat-card__more {
    background: #12568e;
}

@media (max-width: 767px) {
    .ct-flat-card__body {
        min-height: 112px;
        padding: 16px 18px 18px;
    }

    .ct-flat-card__name {
        font-size: 16px;
        margin-bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct-flat-card,
    .ct-flat-card:hover {
        transition: none;
        transform: none;
    }
}
