@font-face {
  font-family: 'Gilroy';
  src: url('./Gilroy-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('./Gilroy-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('./Gilroy-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('./Gilroy-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('./Gilroy-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

body {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 20px !important;
    line-height: 150% !important;
    word-break: auto-phrase;
}

.search-bar .btn-header {
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 16px;
    background-color: #01379F;
    color: #FFFFFF;
    font-size: 16px;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

@media screen and (max-width: 1100px) {
    .tbm-nav {
        flex-direction: column;
    }

    .top-bar {
        flex-direction: column;
    }
}

.row-block {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 40px;
    gap: 20px;
}

@media(max-width: 1531px) {
    .row-block {
        padding: 50px 10px;
    }
}

@media (max-width: 880px) {
    .home-slide .col-md-4, .home-slide .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gb-container {
        max-width: 95%;
        margin: 0 auto;
    }
}

.row-block .node__content{
    color: #000000;
}



.row-block .node__content h1 {
    font-size: 40px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    margin-bottom: 27px;
}

@media(max-width: 676px) {
    .row-block .node__content h1 {
        font-size: 21px;
    }

    .row-block .node__content p {
        font-size: 16px;
    }
}

@media(max-width: 1531px) {
    .row-block .node__content h1 {
        text-align: center;
    }

    .row-block .node__content p {
        text-align: center;
        margin: 0 auto;
    }
}

.row-block .node__content p {
    max-width: 706px;
    font-size: 22px;
    font-weight: 500;
}

.views-view-grid .row {
    justify-content: center;
    gap: 15px;
}

.views-element-container {
    padding: 120px 40px;
    height: auto;
}

.views-element-container .card__title {
    color: #01379F;
    font-weight: 700;
    text-align: center;
}

.views-element-container .card__title p {
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 0 !important;
}

.back-col {
    background-color: #E7E8F2;
}

.views-element-container .section-content {
    color: #01379F;
    text-align: center;
}

.views-element-container .section-content h1 {
    font-weight: 700;
    font-size: 40px;
    text-transform: uppercase;
    margin-bottom: 40px;
    
}

.views-element-container .section-content p {
    margin-bottom: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 60px;
}

.views-element-container .section-content .btn-content {
    display: block;
    font-weight: 600;
    max-width: 720px;
    padding: 21px 0;
    margin: 0 auto;
    background-color: #01379F;
    color: #FFFFFF;
}

.node__content {
    margin: 0 auto 60px;
}

.block-card .card {
    border-radius: 0;
    max-width: 700px;
    height: 650px;
    margin: 0 auto;
    padding: 15px;
}

@media (min-width: 576px) and (max-width: 676px) {
    .row-block .node__content h1 {
        line-height: 32px;
    }
}

.block-card .card__title {
    text-align: left;
    margin: 0;
}

.block-card .card__title h3 {
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
}

.slick-track {
    display: flex !important;
    gap: 25px;
    padding: 18px 0;
}

.review-card {
    padding: 1rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    min-width: 300px;
}

.review-header {
    display: flex;
    gap: 15px;
}

.review-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.review-name {
    font-weight: bold;
}

.review-profession {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.review-stars {
    color: #FFD700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.review-text {
    font-size: 0.95rem;
    color: #333;
}

.slick-dots {
  list-style: none;
  display: flex !important;
  justify-content: center;
  padding: 0;
  margin: 20px 0 0 0;
}

.slick-dots li {
  margin: 0 6px;
}

.slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid black;
  padding: 0;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: background 0.3s;
}

.slick-dots li.slick-active button {
  background-color: black;
}

.newsletter {
    color: #FFFFFF;
}

.newsletter h3 {
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 40px;
}

.newsletter p {
    font-weight: 400;
    margin-bottom: 40px;
}

.btn-newsletter {
    display: block;
    max-width: 500px;
    padding: 21px 0;
    border: 1px solid #000000;
    background-color: #FFFFFF;
    color: #000000;
    text-align: center;
}

@media (max-width: 1024px) {
    .newsletter .text-contianer {
        padding: 60px 10px;
    }

    body main .region-content {
        padding: 0 0 5rem;
    }
}

@media(max-width: 768px) {
    .newsletter {
        padding-bottom: 1rem;
    }

    .card--home--multiple-row .card__text-contianer .card__title h3 {
        font-size: 21px;
    }

    .views-element-container .section-content .btn-content {
        font-size: 12px;
    }

    .views-element-container .section-content h1 {
        font-size: 25px;
    }

    .views-element-container .section-content p {
        font-size: 14px;
    }
}


@media (min-width: 767px) and (max-width: 1100px) {
    .btn-newsletter {
        max-width: 350px;
    }
}

@media (max-width: 767px) {
    .btn-newsletter {
        margin: 0 auto;
        font-size: 16px;
    }

    .views-element-container {
        padding: 45px 10px;
    }

    .newsletter h3 {
        font-size: 21px;
        line-height: 25px;
    }

    .newsletter p {
        font-size: 13px;
        line-height: 20px;
    }
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    max-width: 400px;
}

@media(max-width: 1024px) {
    .region-footer .row {
        flex-direction: column;
    }
}

.top-bar .block-tb-megamenu .tbm-menu-esma-megamenu .level-1,
footer .tbm-link.level-1 {
    cursor: pointer;
}

#success .row-block {
    justify-content: center;
}

#success .row-block .content {
    margin: 0 auto;
}

#success .content__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

#success .content__title h1 {
    font-size: 40px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 27px;
}

#success .content__title h2 {
    font-size: 24px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 27px;
}

#success .content__cards {
    padding: 0;
    margin: 0;
}

#success .content__cards li {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background: transparent;
}

.bar-list {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #00379f;
    color: white;
    font-weight: 700;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 20px;
    margin: 0;
}

.bar-list li {
    list-style-type: none;
    display: flex;
    gap: 10px;
    text-align: center;
    color: white;
    font-weight: 700;
}

@media screen and (max-width: 767px) {
    .bar-list {
        flex-direction: column;
        gap: 20px;
        font-size: 14px;
    }
}

@media screen and (max-width: 1148px) {
    .bar-list {
        flex-direction: column;
    }
}

.first-footer-list {
    list-style-type: none;
    /* margin: 0; */
    margin-right: 30px;
}

.second-footer-list {
    list-style-type: none;
    margin-right: 40px;
    padding-left: 0;
}   

#block-footermenusociallinks-2 {
    padding-left: 0;
}

@media(max-width: 1566px) {
    #block-footermenusociallinks-2 {
    padding-left: 0;
}

    .first-footer-list {
    margin-right: 0px;
    padding-left: 0;
}
}

.footer-content {
    display: flex;
    justify-content: center;
}

@media(max-width:1024px) {
    .nav-item {
    text-align: center;
  }

  #block-footermenusociallinks-2 {
    margin: 0 auto;
  }

  .footer-social-title {
    text-align: center;
  }

  .europe_container {
    margin-bottom: 30px;
  }

  .second-footer-list {
    margin-right: 20px;
    margin-left: 20px;
  }

  .footer-logo img {
    max-width: 290px;
  }
}

.view-content {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.views-view-grid.horizontal.cols-5.clearfix {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Карточка */
.col-md-3 {
  /* Минимальная ширина 280px, чтобы не сжималась слишком сильно */
  flex: 1 1 280px;
  max-width: 33.33%;
  box-sizing: border-box;
}

/* Карточка стиль */
.card--home {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card--home:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card--home img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  border-radius: 10px 10px 0 0;
}

.card__text-contianer {
  padding: 15px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card__title h3 {
  font-size: 1.3rem;
  margin: 0 0 10px 0;
  color: #222;
}

.card__title p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  flex-grow: 1;
}


@media (max-width: 599px) {
  .col-md-3 {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .col-md-3 {
    max-width: calc(50% - 20px);
    flex: 1 1 calc(50% - 20px);
  }
}

@media (min-width: 900px) {
  .col-md-3 {
    max-width: calc(33.333% - 20px);
    flex: 1 1 calc(33.333% - 20px);
  }
}
