/* company-portfolio.css */
.block--custom-layout__company-portfolio  {
    margin: 50px 0;
}
.block--custom-layout__company-portfolio  .portfolio-items {
    display: flex;
    flex-wrap: wrap;
}
.block--custom-layout__company-portfolio .portfolio-item {
    flex: 0 0 50%;
    text-align: center;
    margin: 30px 0;
}
.block--custom-layout__company-portfolio .portfolio-heading {
    font: 900 25px/41px 'Onest,Black',sans-serif;
    text-transform: uppercase;
    color: #630509;
}
.portfolio-logo img {
    max-width: 234px;
    object-fit: contain;
    width: 100%;
    height: 80px;
}
.block--custom-layout__company-portfolio  .portfolio-description p {
    font: 300 16px/21px 'Onest,Light',sans-serif;
    color: #000000;
    max-width: 608px;
    margin: 0 auto;
}
.block--custom-layout__company-portfolio .portfolio-button {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.block--custom-layout__company-portfolio .portfolio-description {
    margin: 30px 0;
}

/* hero.css */
.block--custom-layout__hero{
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  min-height: 900px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.block--custom-layout__hero .banner-sub-heading {
    font: 900 16px/21px 'Onest,Black',sans-serif;
    color: #aaaaaa;
    text-transform: uppercase;
}
.block--custom-layout__hero .banner-heading {
    font: normal 900 60px/63px 'Onest, Black',sans-serif;
    color: #ffffff;
    margin: 50px 0;
}
.block--custom-layout__hero .banner-description {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}
.block--custom-layout__hero .banner-description p {
    font: 300 16px/21px 'Onest,Light',sans-serif;
    color: #ffffff;
    max-width: 674px;
}
.block--custom-layout__hero .banner-button {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* testimonials.css */

.block--custom-layout__testimonials h2 {
    font: 900 35px/45px 'Onest, Black',sans-serif;
    text-transform: uppercase;
    color: #000000;
    text-align: center;
    padding-bottom: 0;
    margin-bottom: 50px;
}
.block--custom-layout__testimonials h2 span {
    color: #630509;
}
.block--custom-layout__testimonials .testimonial__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.block--custom-layout__testimonials .testimonial__item {
    background-color: #630509;
    flex: 1 1 calc(33.333% - 20px);
    padding: 50px;
}
.block--custom-layout__testimonials .testimonial__items .slick-slide{
  margin: 0 15px;
}
.block--custom-layout__testimonials .testimonial__icon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.block--custom-layout__testimonials .testimonial__icon img {
    background: linear-gradient(309deg, #630509 0%, #DD0707 100%);
    padding: 29px;
    border-radius: 69px;
}
.block--custom-layout__testimonials .testimonial__text h3 {
    font: bold 25px/30px 'Onest,Black',sans-serif;
    color: #ffffff;
    margin: 30px 0;
}
.block--custom-layout__testimonials .testimonial__text {
    font: 300 16px/21px 'Onest,Ligth',sans-serif;
    text-align: center;
    color: #ffffff;
}



.block--custom-layout__testimonials .testimonial__items .slick-dots li button {
    border: 1px solid #000000;
}
.block--custom-layout__testimonials .testimonial__items .slick-dots li.slick-active button {
    background-color: #630509 !important;
    border: 1px solid #630509;
}
.block--custom-layout__testimonials .testimonial__items .slick-dots {
    margin-top: 20px;
    position: unset;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}
.block--custom-layout__testimonials .testimonial__items .slick-dots li button:before{
  content: unset;
}

/* cta.css */
.block--custom-layout.block--custom-layout__cta {
    min-height: 482px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1640px;
    margin: 100px auto;
}

.block--custom-layout.block--custom-layout__cta .banner-heading {
    font: 900 45px/58px 'Onest,Black', sans-serif;
    color: #ffffff;
    text-transform: uppercase;
}
.block--custom-layout.block--custom-layout__cta .banner-button {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

/* single.posts.css */

/* Section 3 */
.post.type-post {
    padding: 64px 0 0;
}
.single-posts-item-wrapper{
    max-width: 1640px;
    margin: 0 auto;
		padding: 0 30px 64px;
}
.post.type-post .entry-title{
		text-align: center;
		font: 900 50px/55px 'Onest,Black',sans-serif;
		color: #630509;
		text-transform: uppercase;
}
.post.type-post .entry-meta{
    font: 300 16px/21px 'Onest,Light',sans-serif;
    text-align: center;
    color: #000000;
    margin: 10px 0 30px;
    text-transform: uppercase;
}
.post-thumbnail {
    position: relative;
    height: 500px; /* adjust to your desired height */
    overflow: hidden;
}
.post-thumbnail img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  will-change: transform;
  max-width: 1640px;
  width: 100%;
  object-fit: cover;
  max-height: 500px;
}
.sidebar-title-wrapper .sidebar-title {
    font: 900 20px/25px 'Onest,Black',sans-serif;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
    box-sizing: unset !important;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}
/* Remove parent padding if title exists */
.sidebar-nav-inner:has(.sidebar-title-wrapper) {
  padding: 0;
  padding-bottom: 30px;
}
/* Keep padding for sidebar-flex and sidebar-nav */
.sidebar-nav-inner:has(.sidebar-title-wrapper) > .sidebar-flex,
.sidebar-nav-inner:has(.sidebar-title-wrapper) > .sidebar-nav {
  padding: 0 30px;
}
.sidebar-title-wrapper {
    background: transparent linear-gradient(180deg, #630509 0%, #DD0707 100%) 0% 0% no-repeat padding-box;
    border: 1px solid #707070;
    padding: 30px;
}
.sidebar-flex a {
    font: 300 16px/21px 'Onest,Light',sans-serif;
    color: #000000;
    text-decoration: none;
}
.sidebar-flex {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin: 30px 0;
    gap: 10px;
}
.sidebar-nav-inner{
		background: #F2F2F2;
}
.single-sections-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
		margin-bottom: 50px;
		gap: 8%;
}
.sidebar-nav-wrapper {
    margin-top: -166px;
    /* max-height: calc(100vh - 120px);
    overflow-y: visible; */
		position: sticky;
    top: 150px;
    flex: 0 0 29%;
    align-self: flex-start;
    background: #fff;
    z-index: 10;
}
.content-sections {
    margin-top: 100px;
}
.content-section h3 {
    font: 900 20px/25px 'Onest,Black',sans-serif;
}
.content-section {
    margin: 50px 0;
}
.content-section p {
    font: 300 16px/21px 'Onest,Light', sans-serif;
}
.before-section h2 {
    font: 900 35px/45px 'Onest,Black',sans-serif;
		text-transform: uppercase;
		color: #000000;
}
.before-section h2 span{
		color: #630509;
}
.before-section p {
    font: 300 16px/21px 'Onest,Light',sans-serif;
}
.after-section{
		position: relative;
}
.after-section::before{
		content: "";
    border-left: 4px solid #630509;
    position: absolute;
    height: 100%;
}
.after-section blockquote:first-child {
    font: 900 25px/32px 'Onest,Black',sans-serif;
    color: #630509;
}
.after-section blockquote {
    font: 300 16px / 21px 'Onest,Light', sans-serif;
		border: none;
    padding-left: 50px;
}

.post-navigation {
		margin-top: 50px;
    margin-bottom: 70px;
}
.nav-previous a, .nav-previous a .nav-label, .nav-previous a .meta-nav {
    color: #AAAAAA;
		font: 900 16px/21px 'Onest,Black', sans-serif;
		text-transform: uppercase;
}
.nav-next a, .nav-next a .nav-label, .nav-next a .meta-nav {
    color: #630509 !important;
		font: 900 16px/21px 'Onest,Black', sans-serif;
		text-transform: uppercase;
}

/* Connect With Us */
.connect-with-us {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
		flex-direction: column;
		margin: 50px 0 0;
		background-image: radial-gradient(closest-side at 50% 50%, #630509 0%, #0000005A 100%), url('https://phoenixgroupd.wpengine.com/wp-content/uploads/2025/08/post-connect-img.webp');
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: cover;
    min-height: 469px;
    height: 100%;
    position: relative;
    max-width: 470px;
    width: 100%;
}
.content-sections {
    flex: 0 0 63%;
}
.connect-with-us::before{
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: radial-gradient(180deg, rgba(99, 5, 9, 0.8) 0%, rgba(221, 7, 7, 0.8) 100%);
		z-index: 1;
}
.connect-heading h3 {
    font: 900 16px/21px 'Onest, Black',sans-serif;
		color: #ffffff;
		text-transform: uppercase;
}
.connect-description p {
    font: 900 25px/32px 'Onest,Black',sans-serif;
		color: #ffffff;
}
.contact-link-wrapper a {
    background: transparent linear-gradient(0deg, #630509 0%, #DD0707 100%);
    border-radius: 15px 0;
    padding: 18px 35px;
}
.connect-description {
    margin: 50px 0;
}
.contact-link-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.related-posts .type-post {
    border: 0 !important;
    padding: 0 !important;
    background-color: transparent;
}

.related-posts .et_pb_salvattore_content {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 1%;
}
.related-posts .column {
    flex: 1 1 calc(33.333% - 20px);
    margin: 0 !important;
    width: unset !important;
    background-color: transparent;
}
.related-posts .et_pb_image_container img {
    /* max-width: 520px; */
    width: 100%;
    object-fit: cover;
    min-width: unset;
}
.related-posts .et_pb_image_container a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border: 0 !important;
}

.related-posts .et_pb_image_container {
    margin: 0;
}
.related-posts h2.entry-title {
    /* max-width: 520px; */
}
@media screen and (max-width: 1024px){
	.related-post-item .meta,.related-post-item h3{
		text-align: center;
	}
}
@media screen and (max-width: 768px) {
	.connect-with-us{
		max-width: unset;
	}
	.post.type-post .entry-title{
		font-size: 30px;
		line-height: 1.2;
	}
	.before-section h2{
		font-size: 28px;
		line-height: 1.2;
	}
	.content-sections{
		margin-top: 50px;
	}
	.content-section{
		margin: 20px 0;
	}
	.single-sections-wrapper{
		gap: 20px;
	}
	.content-sections,.sidebar-nav-wrapper{
		flex: 0 0 100%;
	}
	.sidebar-nav-wrapper{
		position: relative;
		top: 0;
		margin: 0;
	}
}

/* update.css */
/* Global btn styles */
.blocks-btn{ 
    font: 900 16px/21px 'Onest,Black',sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 15px 0;
    background: transparent linear-gradient(0deg, #630509 0%, #DD0707 100%);
    letter-spacing: 0.8px;
    border: 1px solid #630509;

}
.blocks-btn:hover{
    background: transparent;
    border: 1px solid #DD0707;
}

/* fusion-bistro.css */
/* .masonry--gallery-sub .grid-item.et_pb_gallery_image.page-1:nth-child(5), 
.masonry--gallery-sub .grid-item.et_pb_gallery_image.page-1:nth-child(6), 
.masonry--gallery-sub .grid-item.et_pb_gallery_image.page-1:nth-child(7) {
    opacity: .5;
}
.masonry--gallery-sub .dipi_masonry_gallery_container.animated {
    position: relative;
}
.masonry--gallery-sub .dipi-pagination {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}
.masonry--gallery-sub .dipi-pagination span.dipi-loadmore-btn {
    position: absolute;
    bottom: 15%;
} */

/* promix-asphalt.css */
.services-row-bg-img{
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}
.two-col-bg-img {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 355px;
    flex: 1;
    position: relative;
}
.two-col-bg-img::before{
    min-height: 355px;
    position: absolute;
    width: 100%;
    opacity: .53;
    content: "";
}
.two-col-bg-img-1::before{
    background: #5F0916;
}
.two-col-bg-img-2::before{
    background: #000000;
}
.two-col-bg-img h4 {
    font: 300 44px/45px 'Onest,Light',sans-serif;
    max-width: 600px;
}
.promix-counter-col {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 493px;
    position: relative;
}
.promix-counter-col::before{
    min-height: 493px;
    position: absolute;
    width: 100%;
    opacity: .7;
    content: "";
}

/*
.promix-counter-col-1::before, .promix-counter-col-4::before {
    background: #5F0916;
}
.promix-counter-col-2::before{
    background: #000000;
}
.promix-counter-col-3::before{
    background: #ffffff;
}

.promix-counter-col .percent-value {
    font: bold 131px/167px 'Onest,bold',sans-serif;
    color: #ffffff;
}
*/

.promix-counter-col .percent {
    height: unset;
}

/*
.promix-counter-col .et_pb_number_counter .title {
    font: bold 27px/34px 'Onest,bold',sans-serif !important;
    color: #ffffff !important;
    max-width: 210px;
}*/



/* phoenix-builder.css */
.counter-section{
    position: relative;
    padding: 0 0 600px;
}
.counter-row{
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
}

.counter-no {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column-reverse;
    align-items: center;
}
.counter-no .percent .percent-sign {
    display: none;
}
.counter-no .percent {
    width: 100%;
    /* order: 2; */
    margin-bottom: 0!important;
    height: unset;
}
.counter-no .title {
    width: 100%;
    /* order: 1; */
}
.counter-col.counter-col-1 {
    min-height: 364px;
    height: 100%;
    max-width: 364px;
    width: 100%;
    border-radius: 364px;
}
.counter-col.counter-col-2 {
    min-height: 491px;
    height: 100%;
    max-width: 491px;
    width: 100%;
    border-radius: 491px;
}
.counter-col.counter-col-3 {
    min-height: 381px;
    height: 100%;
    max-width: 381px;
    width: 100%;
    border-radius: 381px;
    align-self: start;
    margin-top: -55px;
}
.counter-col.counter-col-4 {
    min-height: 381px;
    height: 100%;
    max-width: 381px;
    width: 100%;
    border-radius: 381px;
}

.counter-no.counter-1 {
    min-height: 364px;
    height: 100%;
    max-width: 364px;
    width: 100%;
    border-radius: 364px;
}
.counter-no.counter-2 {
    min-height: 491px;
    height: 100%;
    max-width: 491px;
    width: 100%;
    border-radius: 491px;
}
.counter-no.counter-3 {
    min-height: 381px;
    height: 100%;
    max-width: 381px;
    width: 100%;
    border-radius: 381px;
}
.counter-no.counter-4 {
    min-height: 381px;
    height: 100%;
    max-width: 381px;
    width: 100%;
    border-radius: 381px;
}


.masonry-gal.dipi_masonry_gallery .dipi-pagination.long-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
}
.masonry-gal.dipi_masonry_gallery .dipi-pagination.long-mobile .dipi-loadmore-btn {
    padding: 18px 35px !important;
    background-image: linear-gradient(0deg, #630509 0%, #dd0707 100%);
    background-color: #630509;
    border-radius: 15px 0;
}
.services-col {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    min-height: 428px;
    padding: 60px;
}

/* related-articles.css */
.related-posts {
    background-color: #f2f2f2;
}
.related-posts .inner-wrapper {
    max-width: 1640px;
    margin: 0 auto;
    padding: 64px 30px;
}
.related-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    align-items: center;
}
.discover-more a {
/*     font: normal 900 16px/21px 'Onest,Black',sans-serif; */
	font-size: 16px;
	font-family: 'Onest Black', Helvetica, Arial, Lucida, sans-serif;
    background: #000000;
    padding: 18px 35px;
    border-radius: 15px 0;
    letter-spacing: 0.8px;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
	border: 2px solid #000000;
}

.discover-more a:hover {
	background: transparent;
	color: #000000;
}

.discover-more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.related-heading h2 {
    font: 900 35px/41px 'Onest,Black',sans-serif;
    text-transform: uppercase;
    padding: 0;
}
.related-articles-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.related-post-item{
    flex: 1 1 calc(33.333% - 20px);
}
.related-post-item h3 {
    font: 900 25px/32px 'Onest,Black', sans-serif;
    text-transform: uppercase;
    margin: 30px 0 10px;
    padding: 0;
}
.related-post-item .meta {
    font: 900 16px/21px 'Onest,Black', sans-serif;
    text-transform: uppercase;
    color: #aaaaaa;
}
.related-post-item .thumbnail img {
    /* max-width: 520px; */
    width: 100%;
    object-fit: cover;
}
@media screen and (max-width: 768px) {
    .related-posts .inner-wrapper {
        padding: 32px 15px;
    }
    .related-post-item {
        flex: 1 1 100%;
        margin: 10px 0;
    }
    .related-post-item h3 {
        font-size: 20px;
        line-height: 26px;
    }
    .related-post-item .thumbnail img{
        max-width: unset;
    }
}

/* pbc-mega.css */
.pbc-mega-3-row-img-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.pbc-mega-3-col-img-text h4.et_pb_module_header {
    color: #FE0000;
}
.pbc-mega-3-col-img-text-1 .et_pb_blurb:first-child,.pbc-mega-3-col-img-text-3 .et_pb_blurb:first-child{
    margin: 50px 0;
}
.pbc-mega-3-col-img-text-2{
    min-height: 685px !important;
    max-width: 472px;
    width: 100%;
    position: relative;
}
/*
.pbc-mega-3-col-img-text-2::before {
    content: "";
    position: absolute;
    background: #FE0000;
    min-height: 685px;
    width: 100%;
    max-width: 472px;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius: 60px 0;
    opacity: .35;
}
*/
