.hero_section {
  max-height: 205px;
  padding: 0px !important;
  background-size: cover !important;
  background-position: center center !important;
}

.services_section{
  padding-top: 24px !important;
  padding-bottom: 0px !important;
}


.author-section{
  background-color: white !important;
  padding-top: 10px !important;
}

.et_pb_row_0.et_pb_row.hero_row{
  background: linear-gradient(0deg, rgba(81, 232, 224, 0.4) 4.67%, rgba(64, 198, 191, 0) 100%);
  padding: 98px 0px 40px 0px !important;
  width: 100% !important;
  max-width: none;
}

.service-category-filter {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid #8B8A8A;
  max-width: 1046px;
}

.page-id-656 .service-category-filter {
  gap: 56px;
}


.page-id-656 .hero_section {
  height: 271px !important;
  max-height: none;
}

.page-id-656 .et_pb_row_0.et_pb_row.hero_row {
  padding: 0px !important;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
}

.page-id-656 .et_pb_text_0 h1{
  color: white !important;
  width: 80%;
  margin: auto;
}


.services-row{
  max-width: 1046px;
}

.page-id-656 a.filtru_categorie{
  font-size: 24px;
}


a.filtru_categorie{
  font-size: 26px;
  font-weight: 400;
  line-height: 36.62px;
  color: #003363;
  font-family: Calibri;
}

a.filtru_categorie.active{
  font-weight: 700;
  border-bottom: 3px solid #8B8A8A;
}

div#services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.main-filters{
  margin-bottom: 32px;
}

.service-item {
  display: flex;
  max-width: 1046px;
  border: 1px solid #8B8A8A;
}

.image-container{
  max-width: 473px;
  width: 100%;
}

.page-id-656 .image-container img {
  max-height: 655px;
}

.image-container img {
  height: 100%;
}

.text{
  display: flex;
  flex-direction: column;
  padding: 60px 72px 60px 72px;
  max-width: 571px;
  width: 100%;
}

.text h2{
  font-family: Calibri;
  font-size: 25px;
  font-weight: 700;
  line-height: 30.52px;
  color: #003363;
}

.text p,
.text ul{
  font-family: Calibri;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  color: #003363;
}

.text ul{
  padding-bottom: 0px;
}

.text li {
    padding-bottom: 4px;
}

a.button {
  background: #003366;
  border: 1px solid #003363;
  padding: 12px 50px;
  color: #F5F5F5;
  font-size: 14px;
  font-weight: 700;
  line-height: 19.53px;
  width: max-content;
  margin: auto;
  margin-bottom: 0;
}


.services-pagination{
  display: flex;
  justify-content: center;
  padding-top: 60px;
}

.pagination-btn{
  font-family: Calibri;
  font-weight: 400;
  font-size: 16px;
  line-height: 60px;
  color: #A9A9A9;
}

button.pagination-btn.number-btn.active, button#next-page, button#prev-page{
  color: #003363;
}

.image-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.image-container img {
  width: 100%;
  display: block;
  max-height: 553px;
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: -2px;
  width: calc(100% + 2px);
  color: #fff;
  padding: 40px 0px 16px 0px;
  background: linear-gradient(180deg, rgba(0, 51, 99, 0) 0%, rgba(0, 51, 99, 0.7) 100%);
  font-family: Calibri;
  font-weight: 700;
  font-size: 14px;
  line-height: 17.09px;
  display: flex;
  align-items: center;
  gap: 8px;
}


.category-overlay span{
  padding-top: 12px;
}

.category-overlay .tag-icon {
  width: 45px;
  height: auto;
}

.pagination-btn{
  padding: 0px 16px;
}

.row-focus,
.row-breadcrumbs{
  max-width: 1028px;
  width: 100%;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.row-focus{
  margin-top: 2.75%;
}

.column-description {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 42%;
}

.row-focus .et_pb_column .et_pb_module{
  margin: 0px;
}

.row-focus h2{
  font-family: Calibri;
  font-weight: 700;
  font-size: 35px;
  line-height: 42.72px;
  padding-bottom: 30px;
  padding-top: 16px;
  background: linear-gradient(90deg, #003363 0%, #40E0D0 100%);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
}

.focus {
  border-bottom: 1px solid;
  border-image-source: linear-gradient(90deg, #40E0D0 0%, #8B8A8A 100%);
  border-image-slice: 1;
}

.focus .et_pb_text_inner {
    padding-bottom: 44px;
}


.row-focus li{
  font-family: Calibri;
  font-weight: 400;
  font-size: 16px;
  line-height: 19.53px;
  color: #003363;
}

.row-focus  .et_pb_text_inner ul{
  padding: 0px;
  padding-left: 24px;
}

.page-id-656 .main-services-container{
  padding-top: 40px;
}

.row-breadcrumbs .et_pb_column{
  background: white;
}

.row-breadcrumbs .et_pb_code{
  max-width: 1074px;
  margin: auto;
  padding-top: 32px;
}

nav.breadcrumbs span,
nav.breadcrumbs a{
  font-family: Calibri;
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  color: #003366;
  display: flex;
  gap: 8px;
  align-items: center;
}

nav.breadcrumbs a{
  color: #8B8A8A;
}


ul ul {
  list-style-type: circle !important;
}



@media(max-width:1200px){

.text{
  padding:36px;
}
.row-focus .et_pb_column{
  gap: 40px;
}
}


@media(max-width: 980px){
  .page-id-656 .hero_section {
    height: 393px !important;
    max-height: none;
}

.photo-column .et_pb_image {
    display: flex;
    justify-content: center;
}

.row-focus .et_pb_column{
  gap: 32px;
  flex-direction: column;
  width: 100%;
}

.row-focus h2{
  font-size: 30px;
  line-height: 36.62px;
  padding-bottom: 12px;
  padding-top: 0px;
}

.focus .et_pb_text_inner{
  padding-bottom: 24px;
}

.author-section{
  padding-bottom: 0px;
}

.row-focus .et_pb_column .et_pb_module,
.breadcrumbs {
  width: 80%;
  margin: auto;
}

  a.filtru_categorie{
    font-size: 24px;
    line-height: 32px;
    padding-bottom: 15px;
  }

  .service-item{
    flex-direction:column;
  }

  .image-container{
    max-width: none;
    max-height: 362px;
  }

  .image-container img{
    max-height: 362px !important;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .et_pb_row_0.et_pb_row.hero_row {
      padding: 63px 0px 25px !important;
  }

  .et_pb_text_0 h1{
    font-size: 40px !important;
    line-height: 41px !important;
  }

  .text{
    max-width: none;
    padding: 16px;
  }

  .text h2{
    font-size: 25px;
    line-height: 27px;
  }

  .text p,
  .text ul{
    font-size: 16px;
    line-height: 18px;
  }



  .service-category-filter,
  .page-id-656 .service-category-filter  {
    gap: 28px;
  }

  a.button {
    margin-top: 32px;
  }
}


@media(max-width: 768px){
  .service-category-filter,
  .page-id-656 .service-category-filter {
    gap: 24px;
    white-space: nowrap;
    overflow-x: auto;
  }

  .services-row {
    width: calc(100% - 32px) !important;
  }
  .et_pb_text_0{
    width: calc(100% - 32px) !important;
    margin: auto;
  }
}


@media(max-width: 600px){
  .image-container img{
    max-height: 186px !important;
    object-fit: cover;
    object-position: center;
  }

  .services_section{
    padding-top: 0px;
  }

}
