.custom-header-section-post{
  padding: 54px 0 39px 0px;
}

p.blog-post-name a, p.custom-blog-post-name a{
  color: #000;
}

.et_pb_section_1 {
    height: auto !important;
}

body .et_pb_section.header-new-main, body .et_pb_section_0_tb_header.et_pb_section {
  background-color: transparent !important;
}

body .et_pb_section.header-new-main.sticky-hnm{
  /*background-color: #ececec !important;*/
  background-image: url(/wp-content/uploads/2024/07/background_contact.png) !important;
  background-color: #FFF !important;
  background-position-y: 30%;
}

.rand_post_1 {
  padding-top: 12vh !important;
}

.custom-header-section-post {
  background-color: #FFF !important;
}

.et_pb_section.sectiune_cerul_e_limita {
  margin-top: 75px;
}

.rand2_contact_col_2_content h2{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
  font-size: 40px;
  color: #454545 !important;
  line-height: 56px;
  letter-spacing: -0.01em;
}

div#hai-sa-ne-auzim {
  padding-top: 74px;
}

.rand2_contact_col_2_content p{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  color: #454545;
}

body.single-post .entry-title{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 60px;
  text-align: center;
  color: #111111;
  margin-top: 24px;
  padding-bottom: 12px;
}

.et_pb_row.rand_general_post.rand_post_2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.custom-table-of-content-post {
  width: 293px;
  position: sticky;
  top: 150px;
  height: fit-content;
  margin-right: 86px;
}

.custom-social-media-content p{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
  font-size: 16px !important;
  line-height: 32px !important;
  color: #454545;
}

.custom-icons-social-media-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 36px;
  margin-top: 8px;
  padding-left: 10px;
}

.entry-content {
  width: calc(100% - 293px - 86px);
}

.custom-inapoi-articol a{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  text-align: left;
  color: #454545;
}

.et_pb_column.rand_post_col_1 {
  margin-top: 12.5vh;
}

body .et_pb_row.rand_general_post.rand_post_1 .et_pb_column.rand_post_col_1, body .et_pb_row.rand_general_post.rand_post_1 .et_pb_column.rand_post_col_1:last-child{
  max-width: 820px;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 71%;
}

.et_pb_row.rand_general_post.rand_post_1{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

body .container {
  width: 100% !important;
  max-width: 100% !important;
  padding-top: 0 !important;
}

.custom-inapoi-articol{
  position: absolute;
  left: 0;
  right: 0;
}

.custom-inapoi-articol svg{
  vertical-align: middle;
}

.custom-category-blog{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
  font-size: 14px !important;
  line-height: 21px !important;
  text-align: center;
  color: #636363;
  padding-top: 5px;
  padding-bottom: 5px !important;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #F6F6F6;
  border-radius: 6px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.custom-authors-posts {
  text-align: center;
}

.custom-authors-posts p{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  color: #454545;
}

.et_pb_post .entry-content *{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
  font-size: 18px !important;
  line-height: 32px !important;
  color: #454545;
  padding-bottom: 28px;
}

.et_pb_post .entry-content li, .et_pb_post .entry-content li a{
  padding-bottom: 0px;
}

.et_pb_post .entry-content li{
  margin-top: 0px;
  margin-bottom: 0px;
}

.et_pb_post .entry-content .wp-block-image figcaption{
  margin-top: 0px;
  margin-bottom: 0px;
  width: 100%;
}

.et_pb_post .entry-content .wp-block-image img{
  padding-bottom: 0px !important;
}

.et_pb_post .entry-content .wp-block-image figure{
  padding-bottom: 0px;
}

.et_pb_post .entry-content .wp-block-gallery *{
  padding-bottom: 0px;
}

.et_pb_post .entry-content .wp-block-image{
  margin-bottom: 0px !important;
}

.et_pb_post .entry-content .wp-block-columns{
  margin-bottom: 0px;
}

.wp-block-image .aligncenter{
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.wp-block-image .aligncenter, .wp-block-image .alignleft, .wp-block-image .alignright {
  display: -webkit-box;
 display: -ms-flexbox;
 display: flex;
-ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.et_pb_post .entry-content .wp-block-column, .et_pb_post .entry-content .wp-block-column iframe, .et_pb_post .entry-content figcaption{
  padding-bottom: 0px;
}

.et_pb_post .entry-content p:has(+ ul), .et_pb_post .entry-content p:has(+ ol){
  padding-bottom: 0px;
}

.et_pb_post .entry-content h2, .et_pb_post .entry-content h2 *,
.et_pb_post .entry-content h3, .et_pb_post .entry-content h3 *,
.et_pb_post .entry-content h4, .et_pb_post .entry-content h4 *,
.et_pb_post .entry-content h5, .et_pb_post .entry-content h5 *{
  font-weight: 500;
  font-size: 28px !important;
  line-height: 42px !important;
  padding-bottom: 17px;
}

.et_pb_post .entry-content h2:not(:first-of-type){
  padding-top: 32px;
}

.et_pb_post .entry-content strong{
  font-weight: 500;
}

.et_pb_post .entry-content{
  padding-top: 0px !important;
}

.custom-table-of-content-post ul::before {
  content: '';
  border-left: 2px solid #F1F2F3;
  width: 100%;
  position: absolute;
  left: 0;
  top: 2px;
  height: calc(100% - 4px);
  width: 2px;
  margin-bottom: 64px;
}

.custom-table-of-content-post ul li {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  height: auto;
  margin-bottom: 5px;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 500;
  line-height: 32px;
  color: #A5A5A5;
  position: relative;
}

.custom-table-of-content-post ul li a{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: #A5A5A5;
  transition: all 0.3s ease-in;
  padding: 4px 19px;
  display: inline-block;
}

.et_pb_post .entry-content .et_pb_section,
.et_pb_post .entry-content .et_pb_row,
.et_pb_post .entry-content .et-l.et-l--post,
.et_pb_post .entry-content .et_builder_inner_content,
.et_pb_post .entry-content .et_pb_column,
.et_pb_post .entry-content .et_pb_module,
.et_pb_post .entry-content .et_pb_text_inner
{
  padding: 0px !important;
}

.custom-table-of-content-post ul{
  position: relative;
  margin-bottom: 65px;
}

.custom-table-of-content-post ul li.active-h2, .custom-table-of-content-post ul li.active-h2 a {
  color: #454545;
}

.custom-table-of-content-post ul li.active-h2::before {
  content: '';
  border-left: 4px solid #009C94;
  width: 100%;
  position: absolute;
  left: 0;
  top: -5px;
  height: 100%;
  width: 4px;
}

header .et_builder_inner_content {
  z-index: 9;
}

.et_pb_row.rand_general_post.rand_post_2 {
  padding-top: 12.5vh;
}

.custom_articole_asemenatoare {
  width: 82%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
}


.content_custom_articole_asemenatoare{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 32px;
  gap: 20px;
  transition: width 2s;
}

.custom_container_articol_asemantor{
  width: calc(33.33% - 14px);
  position: relative;
  padding-bottom: 44px;
  margin-bottom: 14px;
}

.custom_container_articol_asemantor:hover{
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
}

.custom-post-image {
  text-align: center;
}

.custom-post-image img {
  border-radius: 10px;
  width: auto;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.custom-blog-post-info {
  margin-top: 17px;
  width: 87%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

p.custom-blog-post-author{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
  color: #009C94;
  font-size: 14px !important;
  letter-spacing: -0.01em;
  padding-bottom: 6px;
}

p.custom-blog-post-name{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
  color: #000;
  line-height: 32px !important;
  font-size: 16px !important;
  letter-spacing: -0.01em;
}

.custom-blog-post-content{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
  font-size: 14px !important;
  line-height: 24px;
  letter-spacing: -0.01em;
  color: #838383;
  margin-top: 11px;
}

.custom-blog-post-content p{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
  font-size: 14px !important;
  line-height: 24px !important;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

p.custom-blog-post-link {
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.custom-blog-post-link a{
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  padding-bottom: 5px;
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 32px;
  color: #009C94;
}

.custom-blog-post-link .hidden {
  line-height: 19px !important;
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
  font-size: 16px !important;
  border-bottom: 1px solid #009C94 !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateX(-100%);
  opacity: 0;
  white-space: nowrap;
  position: absolute;
  left: 0;
}


.custom-blog-post-link .hidden::after{
  content: '';
  display: block;
  width: 0;
  height: 1px;
  background: #009C94;
  transition: width 0.3s ease;
  position: absolute;
  bottom: -2px;
  left: 0;
}

.custom-blog-post-link .flex img {
  transition: transform 0.3s ease;
  margin-left: 0;
  position: relative;
  margin-right: 0px;
}

.custom-blog-post-link .flex:hover .hidden {
  transform: translateX(0);
  opacity: 1;
}

.custom-blog-post-link .flex:hover img {
  transform: translateX(118px);
}

.custom_container_articol_asemantor:hover .flex .hidden {
  transform: translateX(0);
  opacity: 1;
}

.custom_container_articol_asemantor:hover .flex img {
  transform: translateX(118px);
}

.title_articole_asemanatoare{
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 42px;
  letter-spacing: -0.01em;
  color: #454545;
}

@media (max-width: 1329px) {
  .custom-post-image img {
    height: 200px;
  }
}

@media (max-width: 1200px) {
  .title_articole_asemanatoare {
    font-size: 24px;
    line-height: 40px;
  }

  .custom-table-of-content-post ul {
    margin-bottom: 30px;
  }

  .content_custom_articole_asemenatoare{
    margin-top: 20px;
  }

  .custom_articole_asemenatoare {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 50px;
  }
  .custom-post-image img{
    height: 29vh;
  }
  .custom_container_articol_asemantor {
    width: calc(33.33% - 17px);
  }
  body .et_pb_row, .rand_general_post, .header-new-main .et_pb_row_0_tb_header {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .custom-inapoi-articol {
    left: 15px;
  }
  .et_pb_column.rand_post_col_1 {
    margin-top: 8vh;
  }
  body.single-post .entry-title {
    font-size: 38px;
    line-height: 58px;
  }
  .et_pb_row.rand_general_post.rand_post_2 {
    padding-top: 8vh;
  }
  .custom-table-of-content-post{
    margin-right: 50px;
  }
}

@media (max-width: 1090px) {
  .custom-post-image img {
    height: 27vh;
  }
}

@media (max-width: 990px) {
  .custom-post-image img {
    height: 25vh;
  }
}

@media (max-width: 872px) {
  .custom_articole_asemenatoare {
    margin-top: 30px;
    margin-bottom: 57px;
  }
  .custom-blog-post-link .hidden {
    opacity: 1;
    position: relative;
    left: auto;
    transform: none;
    line-height: 19px !important;
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    font-size: 16px !important;
  }

  .custom-blog-post-link .flex img{
    display: none;
  }

  p.custom-blog-post-link {
    position: relative;
    bottom: auto;
    margin-top: 20px;
  }
  p.custom-blog-post-name {
    line-height: 28px !important;
    font-size: 16px !important;
  }
  p.custom-blog-post-author {
      line-height: 21px !important;
  }
  .custom-blog-post-info {
    margin-top: 19px;
    width: 85%;
  }
  .custom-post-image img {
    height: auto;
    object-fit: cover;
    max-height: 200px;
    min-height: auto;
  }
  .custom_container_articol_asemantor {
    width: 100%;
    max-width: 328px;
    text-align: left !important;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding-bottom: 27px;
    margin-bottom: 30px;
  }

  .content_custom_articole_asemenatoare {
    margin-top: 24px;
    display: block;
  }
  div#hai-sa-ne-auzim {
    padding-top: 30px;
  }
  .rand_post_1 {
    padding-top: 4vh !important;
  }
  .custom-inapoi-articol a {
    font-size: 16px;
  }
  .custom-inapoi-articol svg {
    width: 16px;
    height: 16px;
  }
  body.single-post .entry-title{
    font-size: 24px;
    line-height: 36px;
    margin-top: 29px;
  }
  .custom-authors-posts p {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  .entry-content {
    width: 100% !important;
  }
  .et_pb_post .entry-content h2, .et_pb_post .entry-content h2 *, .et_pb_post .entry-content h3, .et_pb_post .entry-content h3 *, .et_pb_post .entry-content h4, .et_pb_post .entry-content h4 *, .et_pb_post .entry-content h5, .et_pb_post .entry-content h5 * {
    font-size: 20px !important;
    line-height: 30px !important;
  }
  .et_pb_row.rand_general_post.rand_post_2 {
    padding-top: 0;
  }
  .custom-header-section-post {
    padding: 54px 0 31px 0px;
  }
  .et_pb_post .entry-content h2:not(:first-of-type) {
    padding-top: 7px;
  }
  .custom-table-of-content-post {
    width: 100%;
    order: 2;
    position: relative;
    top: auto;
    margin-right: 0px !important;
    margin-top: 35px;
  }
  .custom-table-of-content-post ul {
    display: none !important;
  }
  .custom-icons-social-media-content {
    margin-top: 7px;
    padding-left: 7px;
  }
  .et_pb_section.sectiune_cerul_e_limita {
    margin-top: 30px;
  }

}

@media (max-width: 800px){
  div#hai-sa-ne-auzim {
    padding-bottom: 0px;
  }
}
