/**
* Theme Name: Pylon Child
* Description: This is a child theme of Pylon, generated by Merlin WP.
* Author: <a href="https://themeforest.net/user/pearstheme">PearsTheme</a>
* Template: pylon
* Version: 1.7.1
*/

@media (min-width: 1200px) {
  .container {
    max-width: 1260px;
  }
}



.main-header__info-phone>i {
    font-size: 20px;
    margin-top: 3px !important;
}


@media (max-width: 767px) {
  .main-header__info-phone>i {
    font-size: 20px;
    margin-top: 5px !important;
}
  }
  
  
  /* Block Financing Needs at home page */
  .service-two__card h3::after {
  content: "";
  display: block;
  height: 1px;
  background-color: #ccc;
  margin: 50px 0px;
  width: calc(100% + 68px);
  margin-left: -34px;   
}

.elementor-column:nth-of-type(3) .service-two__card h3::after {
  content: "";
  display: block;
  height: 1px;
  background-color: #ccc;
  margin: 18px 0px;
  width: calc(100% + 68px);
  margin-left: -34px;   
}

.custom-line-style .service-two__card h3::after {
    content: "";
  display: block;
  height: 1px;
  background-color: #ccc;
  margin: 50px !important;
  width: calc(100% + 68px) !important;
  margin-left: -34px !important;   
}



[id] {
  scroll-margin-top: 50px;
}


/* Resourse page - tabs in blog */

.blog-tab-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 44px;
  padding: 0;
  list-style: none;
}

.blog-tab-buttons li {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: -0.02em;
  text-align: center;
  vertical-align: middle;
  color: #032C40;
  cursor: pointer;

  padding-left: 18px;
  padding-right: 18px;
  border-radius: 6px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  opacity: 1;
  transition: all 0.3s ease;
}

.blog-tab-buttons li.active {
  border: 1.5px solid #FD2547;
  gap: 10px;
  padding-left: 18px;
  padding-right: 18px;
  border-radius: 6px;
  opacity: 1;
}

.blog-tab-buttons li:hover:not(.active) {
  border: 1.5px solid #FD2547;
  gap: 10px;
  padding-left: 18px;
  padding-right: 18px;
  border-radius: 6px;
  opacity: 1;
}

@media (max-width: 767px) {
  .blog-tab-buttons {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 10px;
    justify-content: flex-start;
  }

  .blog-tab-buttons li {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 80px;
    font-size: 14px;
    line-height: 24px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .blog-tab-buttons li.active {
    width: auto !important;
    border-width: 1.2px;
    padding-left: 14px;
    padding-right: 14px;
    height: 48px;
  }
}


.pylon-two-icon-email:before {
    content: "\e903";
    color: #FD2547 !important;
}


/*sidebar image*/
.contact-block__wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 6px;
  overflow: hidden;
  margin-left: 40px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-block__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}

.contact-block__wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgb(118 114 114 / 80%);
  z-index: 1;
}

.contact-block__overlay-content {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  color: #fff;
}

.contact-block__phone,
.contact-block__email {
  text-decoration: none;
  color: #fff;
}

.contact-block__phone {
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
}

.contact-block__email {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.contact-block__phone:hover,
.contact-block__email:hover {
  color: #042D3F;
}

.contact-block__button {
  display: inline-block;
  background-color: #FD2547;
  color: #FFFFFF;
  font-family: Manrope, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 32px;
  text-align: center;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.contact-block__button:hover {
  background-color: #042D3F;
  color: #FFFFFF;
}

.custom-tags{
	    margin-left: 41px;
}

@media (max-width: 767px) {
.custom-tags{
	    margin-left: 0px;
}
}

@media (max-width: 767px) {
  .contact-block__wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .contact-block__overlay-content {
    padding: 16px;
  }
}


/* Read more Button */
.read-more-btn {
  width: 260px;
  height: 56px;
  border-radius: 6px;
  padding: 0 26px;
  background-color: transparent;
  border: 1px solid #FD2547;
  color: #032C40;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  position: relative;
}


.read-more-btn:hover {
  background-color: #FD2547;
  color: white;
}

.read-more-btn::before,
.read-more-btn::after {
  content: "············";
  color: #FD2547;
  font-size: 12px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: monospace;
  white-space: nowrap;
}

.read-more-btn::before {
  left: -110px;
}

.read-more-btn::after {
  right: -110px;
}

.about-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-heading {
    font-family: 'Lato', sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.02em;
  color: #032C40;
  vertical-align: middle;
}

/* Page Tags and Page Category */

.custom-tag-archive {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-tag-archive .custom-tag-post {
  width: 100%;
  max-width: 720px;
  margin-bottom: 40px;
}

.custom-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
  background: #fff;
}

.custom-card:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.custom-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

.custom-card__content {
  padding: 20px;
}

.custom-card__content h3 {
  font-family: Lato;
	font-weight: 700;
  font-size: 24px !important;
  line-height: 24px !important;
  letter-spacing: -0.48px !important;
  color: #032C40 !important;
}

.custom-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.custom-readmore {
  text-decoration: none;
  color: #475B64;
  font-weight: 500;
}

.custom-readmore:hover {
  color: #042D3F;
}

.custom-date {
  color: #666;
}

body.tag .blog-sidebar:before {
  margin-bottom: -78px;
}

body.category .blog-sidebar:before {
  margin-bottom: -78px;
}