	div#team-container {
		width: 100%;
		/* padding: 0 5%; */
		padding-left: 5%;
		padding-right: 5%;
		z-index: 09;
		background: #fff;
		min-height: 180vh;
	}
	.team-sidebar {
		width: 30%;
		max-width: 200px;
		position: absolute;
		height: 100%;
	}

	.team-sidebar-inner {
		position: sticky;
    	top: 90px;
	}

	.team-grid {
		margin-left: 200px;
		width: calc(100% - 200px);
		padding-bottom: 60px;
		min-height:100vh;
		max-width: 1150px;
	}
	.job-grid {
		display: flex;
		flex-wrap: wrap;
	}
	.job-grid .team-single-image {
		flex: 0 0 30%;
    	margin: 0 8px 20px;
	}

	.job-grid .team-single-image .grey {
		position: relative;
	}

	.job-grid .team-single-image .grey .aw-front-image {
		opacity: 1;
		transition: opacity 0.2s ease;
		aspect-ratio: 1/1;
		object-fit: cover;
		object-position: center 15%;
	}

	.job-grid .team-single-image .grey .aw-front-image:hover {
		opacity: 1;
	}

	.job-grid .aw-back-image {
		position: absolute;
		top: 0;
		left: 0;
		z-index: -1;
		aspect-ratio: 1/1;
		object-fit: cover;
	} 
	.job-grid .team-single-image img {
		max-width: 350px;
	}

	.team-sidebar h1 {
		margin-bottom: 20px;
		font-size: 30px;
		color: #F37B20;
	}

	.team-sidebar ul.job-list li a {
		font-size: 18px;
		line-height: 1.3;
		color: #F37B20;
		transition: all 0.3s ease;
	}

	.team-sidebar ul.job-list li a:hover {
		color: #A54300;
	}

	.job-grid .team-single-image h2 {
		margin-top: 10px;
		margin-bottom: 5px;
		font-size: 25px;
		color: #F37B20;
	}

	.job-grid .team-single-image p {
		color: #737475;
	}

	.bio-cont {
		position: absolute;
		top: 145px;
		left: 45%;
		/* right: 4%; */
		width: 50%;
		overflow-y: auto;
		height: 100%;
		padding-right: 80px;
		display: none;
	}

	.bio-back {
		position: absolute;
		right: 0;
		top: 0;
		z-index: 99;
		font-size: 18px;
		color: #F37B20;
		cursor: pointer;
	}
	/* .container-wrapper {
		z-index: 99	;
		background: #fff;
	} */

	.job-grid.sticky {
		position: sticky;
		top:90px;
	}

  .team-sidebar-back {
    display: none;
  }

	@media screen and (max-width: 768px) {
		.team-sidebar {
			width: 25%;
		}
		.team-grid {
			width: 75%;
			margin-left: 25%;
		}

    .job-grid .team-single-image {
			flex: 1 1 100%;
      		padding: 0 30px 0 0;
		}

		.job-grid .team-single-image img {
			max-width: 100%;
		}

		.team-sidebar-inner {
			top: 90px;
		}

		.job-grid .team-single-image h2 {
			font-size:20px;
		}

    .bio-cont {
      position: relative;
      top: unset;
      left: unset;
      right: unset;
      width: 100%;
      overflow-y: auto;
      height: 100%;
      /* padding: 0 20px; */
	  padding: 0 30px 0 0;
      display: none;
    }

    .bio-cont .bio {
      height: 100%;
      max-height: 100%;
    }

     .team-sidebar.show-back .team-sidebar-inner {
      display: none;
    }

    .team-sidebar.show-back .team-sidebar-back {
      display: block;
      position: sticky;
      top: 90px;
    }

    .team-sidebar.show-back .team-sidebar-back #job-list-back {
      margin-bottom: 20px;
      font-size: 26px;
      color: #F37B20;

    }

    div#team-container {
	
      width: 100%;
      padding-top: 100px;
      padding-left: 5%;
      padding-right: 5%;
      z-index: 09;
      background: #fff;
    }
    
    div#team-container {
      overflow: initial;
    }
		
}

/* Home page */
.row-home {
	width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 60px 0;
}
.row-home .row-title {
	margin-bottom: 60px;
	text-align: center;
}
.row-home h2 {
	color: #F37B20;
	font-size: 47px;
}

.row-home h3 {
	color: #F37B20;
	font-size: 26px;
	margin-top: 15px;
}
.home #main-container {
	min-height: 100vh;
	height: auto;
	background-color: #fff;
}

.row-home .row-content {
	text-align: center;
	width: 100%;
}

.h2-smaller {
	font-size: 38px;
}

.dark {
	color: #737475!important;
}

.row-content p {
	margin-bottom: 20px;
	font-size: 25px;
    color: #737475;
    line-height: 1.4;
}

.row-60 p {
	margin-bottom: 60px;
}

.row-content .type-block {
	display: flex;
    width: 400px;
    padding-top: 10px;
    border-top: 1px solid #F37B20;
	margin: 0 auto;
}

.row-link a {
	font-size: 16px;
}



.row-content .type-block .type-single {
	flex: 1 1 50%;
}

.row-content .type-block .type-text {
	/* text-align: left; */
    font-size: 32px;
	color: #F37B20;
}

.row-content .type-block .type-link {
	text-align: left;
    font-size: 18px;
    color: #F37B20;
    margin-top: 25px;
    border-bottom: 1px solid #F37B20;
    display: inline-block;
}

.row-content .type-block .type-link a {
	font-size: 16px;
}

.row-content .type-block .type-single:nth-child(2) .type-text {
	/* text-align: right; */
    font-size: 32px;
	color: #F37B20;
}

.row-content .type-block .type-single:nth-child(2) .type-link {
	text-align: right;
    font-size: 18px;
	margin-right: 10px;
	color: #F37B20;
}


.row-home.row-extra {
	flex-direction: row;
	min-height: 30vh;
	padding-bottom: 0;
}

.row-home.row-extra .extra-link {
	flex: 1 1 50%;
	padding: 0 90px;
}
.row-home.row-extra .extra-link:nth-child(1) {
	text-align: right;
}
.row-home.row-extra .extra-link:nth-child(2) {
	text-align: left;
}

.row-home.row-extra .extra-link a {
	font-size: 25px;
	color: #F37B20;
}

.row-link {
	text-align: left;
    font-size: 18px;
    color: #F37B20;
    border-bottom: 1px solid #F37B20;
    display: inline-block;
	margin-top: 15px;
}

/*Slider*/
.slick-list {

}
.slick-list .slider-item
 {
	width: 100px;
	height: 100px;
}

/* Make slider take full width */
.aw-slider {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}


.aw-slider .slick-slide {
  display: flex;
  flex: 0 0 auto;
}

/* Slide content (images, divs) */
.aw-slider .slider-item {
	width: 275px;
	min-height: 415px;
    /* max-width: 20%; */
    /* border: 1px solid #F37B20; */
    border-radius: 30px;
    padding: 20px;
	position: relative;
	background-color: #F37B20;
	margin: 0 24px;
}
.aw-slider .slider-item .slider-title {
	text-align: left;
	position: relative;
	z-index: 3;
}

.aw-slider .slider-item .slider-title h3 {
	margin-top: 95px;
	font-size: 37px;
	color: #fff;
}

.aw-slider .slider-item  .slider-text {
	text-align: left;
    margin-top: 30px;
    color: #fff;
    position: relative;
    z-index: 3;
    font-size: 22px;
    line-height: 1.1;
}

.aw-slider .slider-item .slider-link {
	color: #fff;
    position: absolute;
    left: 0;
    bottom: 30px;
    width: 100%;
    text-align: center;
	z-index: 3;
}

.aw-slider .slider-item .slider-link a {
	color: #fff;
}

.aw-slider .slider-item.item-double {
	width: 550px;
	min-height: 415px;

    border: 1px solid #F37B20;
    border-radius: 30px;
    padding: 20px;
	position: relative;
	background-color: #F37B20;
	margin: 0 40px;
}

.row-home.row-testimonial .row-title h2 {
	margin-bottom: 55px;
}

.row-home.row-testimonial .aw-slider .slider-item .slider-title h3 {
	color: #707070;
}

.row-home.row-testimonial .aw-slider .slider-item .slider-text {
	color: #707070;
}
.row-home.row-testimonial .aw-slider .slider-item .slider-link a {
	color: #707070;
}

.row-home.row-testimonial .aw-slider .slider-item .slider-title h3 {
	margin-top: 30px;
	font-size: 27px;
	color: #F37B20;
	text-align: left;
}

.row-home.row-testimonial .aw-slider .slider-item .slider-text {
	margin-top: 8px;
	font-size: 16px;
}

.row-home.row-testimonial .aw-slider .slider-item .slider-link {
	text-align: left;
    left: 20px;
	color: #F37B20;
}

.row-home.row-testimonial .aw-slider .slider-item .slider-link .testimonial-name {
	font-size: 22px;
	color: #F37B20;
}


.row-home.row-testimonial .row-title h2 {
	margin-bottom: 55px;
}

.row-home.row-testimonial .trigger-item  {
    background-color: #E8E8E8;
    border: 1px solid #E8E8E8;
}

.row-home.row-testimonial .trigger-item .slider-link {
	color: #fff;
    position: absolute;
    left: 0;
    bottom: 120px;
    width: 100%;
    text-align: center;
	z-index: 3;
}

.row-home.row-testimonial .trigger-item .slider-link a {
	color: #fff;
}

.row-home.row-testimonial .trigger-item .testimonial-link {
	color: #fff;
    position: absolute;
    left: 0;
    bottom: 30px;
    width: 100%;
    text-align: center;
	z-index: 3;
}

.row-home.row-testimonial .trigger-item .testimonial-link a:hover {
	color: #A54300;
}

.row-home.row-testimonial .trigger-item .slider-title h3 {
	color: #707070;
}

.row-home.row-testimonial .trigger-item .slider-text {
	color: #707070;
}
.row-home.row-testimonial .trigger-item .slider-link a {
	color: #707070;
}

.row-home.row-testimonial .trigger-item .slider-title h3 {
	margin-top: 30px;
	font-size: 27px;
	color: #F37B20;
	text-align: left;
	/* font-family: "Majesti Banner Light"; */
	/* font-weight: bold; */
}

.row-home.row-testimonial .trigger-item .slider-text {
	margin-top: 8px;
	font-size: 16px;
	/* font-family: "Majesti Banner Light"; */
	/* font-weight: bold; */
	line-height: 18px;
}

.row-home.row-testimonial .trigger-item .slider-link {
	text-align: left;
    left: 20px;
	color: #F37B20;
}

.row-home.row-testimonial .trigger-item .slider-link .testimonial-name {
	font-size: 22px;
	color: #F37B20;
}


/* Dots styling */
.aw-slider .slick-dots {
  bottom: -30px;
}

.aw-slider .slick-dots li button:before {
  color: #666;
  font-size: 12px;
}

.aw-slider .slick-dots li.slick-active button:before {
  color: #737475;
}

/* Arrows styling */
.aw-slider .slick-prev,
.aw-slider .slick-next {
  z-index: 1;
  width: 30px;
  height: 30px;
}

.aw-slider .slick-prev:before,
.aw-slider .slick-next:before {
  color: #707070;
  font-size: 30px;
  opacity: 0.75;
}

.aw-slider .slick-prev:hover:before,
.aw-slider .slick-next:hover:before {
  opacity: 1;
}

/* Optional: prevent arrows from overlapping slides */
.aw-slider .slick-prev {
  left: -35px;
}

.aw-slider .slick-next {
  right: -35px;
}

.row-slider.aw-slider {
	margin: 30px 0;
}

.row-special-service .slider-item {
	background-color: #707070;
	border: 1px solid #707070;
}

.row-tt .slider-item {
	background-color: #E8E8E8;
	border: 1px solid #E8E8E8;
}

.slider-item.bg-test {
	background: url(https://myroutepro.site/website_454591fe/wp-content/uploads/2025/06/Test1.jpg);
    background-position: center;
    background-size: contain;
	overflow: hidden;
}

.slider-item.bg-test.test2 {
	background: url(https://myroutepro.site/website_454591fe/wp-content/uploads/2025/06/Test2.jpg);
    background-position: center;
    background-size: contain;
	overflow: hidden;
}



.slider-item.bg-test:before {
	content:"";
	position: absolute;
	top: 0;
	left: 0;
	/* background-color: #F37B20; */
	z-index: 2;
	/* background: #F37B20; */
	background: linear-gradient(0deg, rgba(243, 123, 32, 1) 45%, rgba(255, 255, 255, 0) 90%);
    width: 100%;
    height: 100%;
}

.slider-item.bg-test:after {
	content:"";
	position: absolute;
	top: 0;
	left: 0;
	/* background-color: #F37B20; */
	z-index: 1;
	/* background: #F37B20; */
	background: #000;
	opacity: 0.15;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 1440px) {
	.job-grid.sticky {
		position: relative;
		top: 0;
	}
	.bio-cont {
		position: relative;
		top: 0;
		left: 10px;
	}
}

a.moot {
	transition: all 0.3s ease;
}

footer a {
		transition: all 0.3s ease;

}

footer a:hover {
	color: #A54300;
}

a.moot:hover {
	color: #A54300;
}
/* Content Trigger */
.content-trigger {
	 display: flex;
  /* gap: 20px; */
  will-change: transform;

}

.content-trigger .trigger-item {
	height: 480px;

    border-radius: 10px;
    flex-shrink: 0;
    width: 300px;
    margin-right: 1.5rem;
	padding: 20px;
	position: relative;
}

.row-home.row-trigger .row-content {
	text-align: center;
	width: auto;
	overflow: hidden;
	padding-left: 90px;
}

.row-trigger {
	background-color: #fff;
	justify-content: left;
	align-items: flex-start;
	touch-action: pan-y;
}

.row-trigger .row-title {
	margin: 0 auto;
	margin-bottom: 60px;
}

.row-service-1, .row-service-2, .row-testimonial, .row-extra {
	background-color: #fff;
}

.row-team {
	background-color: #fff;
}
.trigger-item .slider-title {
	text-align: left;
    position: relative;
    z-index: 3;
}


.trigger-item .slider-title h3 {
	margin-top: 95px;
    font-size: 37px;
    color: #fff;
	position: relative;
	z-index: 1;
	min-height: 74px;
}

.trigger-item .slider-text {
	text-align: left;
    margin-top: 30px;
    color: #fff;
    position: relative;
    z-index: 3;
    font-size: 22px;
    line-height: 1.1;
}

.trigger-item .slider-link a {
	color: #fff;
    position: absolute;
    left: 0;
    bottom: 30px;
    width: 100%;
    text-align: center;
    z-index: 3;
}
.row-service-1 .trigger-item {
	background: url(https://myroutepro.site/website_454591fe/wp-content/uploads/2025/06/Test1.jpg);
    background-position: cover;
    background-size: contain;
    overflow: hidden;
}

.row-service-1 .trigger-item:nth-child(3) {
	background: url(https://myroutepro.site/website_454591fe/wp-content/uploads/2025/06/Test2.jpg);
    background-position: cover;
    background-size: contain;
    overflow: hidden;
}

.row-service-1 .trigger-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    /* background-color: #F37B20; */
    z-index: 2;
    /* background: #F37B20; */
    background: linear-gradient(0deg, rgba(243, 123, 32, 1) 45%, rgba(255, 255, 255, 0) 90%);
    width: 100%;
	height: 100%;
}
.row-service-1 .trigger-item .slider-link a {
	transition: all 0.1s ease;
}
.row-service-1 .trigger-item:hover .slider-link a {
    color: #A54300;
}

.row-service-1 .trigger-item:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    /* background-color: #F37B20; */
    z-index: 1;
    /* background: #F37B20; */
    background: #000;
    opacity: 0.15;
    width: 100%;
    height: 100%;
}
.row-service-2 .trigger-item .slider-link a {
	transition: all 0.1s ease;
}
.row-service-2 .trigger-item {
    background-color: #58708D;
    border: 1px solid #58708D;
}

.row-service-2 .trigger-item:hover .slider-link a {
    color: #000;
}


.row-service-2 .trigger-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    /* background-color: #F37B20; */
    z-index: 2;
    /* background: #F37B20; */
    background: linear-gradient(0deg, #58708D 45%, rgba(255, 255, 255, 0) 90%);
    width: 100%;
    height: 100%;
}

.row-service-2 .trigger-item:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    /* background-color: #F37B20; */
    z-index: 1;
    /* background: #F37B20; */
    background: #000;
    opacity: 0.15;
    width: 100%;
    height: 100%;
}

.team-image-container {
    position: relative;
    overflow: hidden;
	cursor: pointer;
}

.team-image-container img {
    display: block;
    width: 100%;
    height: auto;
}

/* Colour image underneath */
#team-image {
    display: block;
    width: 100%;
}

/* Black and white image on top */
#team-image-bw {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 2;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
}

/* Smooth hover */
.team-image-container:hover #team-image-bw {
    opacity: 0;
}

/* Hover anywhere on the container */
.team-image-container:hover #team-image {
    opacity: 1;
}

.team-image-container:hover #team-image-bw {
    opacity: 0;
}


/* Home page Responsive */
@media screen and (max-width: 768px) {
	.fullview .fullview-content .slide-text {
		font-size: 30px;
		line-height: 1.2;
	}

	.fullview .fullview-content a.slide-text {
		font-size: 26px;
		line-height: 1.2;
	}

	.fullview .fullview-content .slide-text br {
		display: none;
	}

	.row-home h2 {
		font-size: 42px;
	}

	.row-content p {
		font-size: 22px;
	}

	.row-home {
		padding: 60px 10px;
	}

	.row-home h2.h2-smaller {
		font-size: 37px;
	}

	.row-home.row-extra .extra-link {
		padding: 0 60px;
	}

	.row-home.row-extra .extra-link a {
		font-size: 24px;
		line-height: 1.2;
	}

	.row-home.row-extra .extra-link:nth-child(1), .row-home.row-extra .extra-link:nth-child(2) {
		text-align: center;
	}

	/* .home .container-wrapper {
		overflow: hidden;
	} */

	.row-home.row-trigger {
		padding-left: 0;
        padding-right: 0;
	}

	.row-home.row-trigger .row-content {
		padding-left: 10px;
	}

	.team-sidebar ul.job-list li a {
		font-size: 17px;
	}
} 

/* home side button */
.side-button-wrapper {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 14;
}
#main-button {
      display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 50px;
    width: 50px;
    font-size: 20px;
    color: #F37B20;
    cursor: pointer;
    background-color: #F37B20;
    /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5); */
    border-radius: 50%;
    z-index: 2;
    
}
#main-button.open {
	border: 2px solid #fff;
}
/* .main-button-side {
	display: flex ;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 6px;
    bottom: 0;
    height: 50px;
    width: 50px;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
    border-radius: 50%;
    z-index: 1;
    border: 0px solid #fff;
} */

#main-button ~ a.button {
  visibility: hidden;
	font-size: 18px;
	height: 50px;
	padding: 15px 56px 15px 40px;
  color: #fff;
  background: linear-gradient(90deg, #F37B20, #F37B20);
  box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
  border: 0;
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  opacity: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: .2s all linear;
  -webkit-transition: .2s all linear;
  -moz-transition: .2s all linear;
  -ms-transition: .2s all linear;
  -o-transition: .2s all linear;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
}

#main-button.open ~ a.button {
  visibility: visible;
  right: 10px;
  opacity: 1;
  transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -webkit-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -moz-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -ms-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -o-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
}

#main-button ~ a.aw-link {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 50px;
  width: 50px;
  font-size: 20px;
  opacity: 0;
  text-decoration: none;
  color: #fff;
  background-color: #F37B20;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: .2s all linear;
  -webkit-transition: .2s all linear;
  -moz-transition: .2s all linear;
  -ms-transition: .2s all linear;
  -o-transition: .2s all linear;
}

#main-button ~ .telegram-color {
  background: linear-gradient(0deg, #F37B20, #F37B20);
}

#main-button ~ .whatsapp-color {
  background: linear-gradient(0deg, #F37B20, #F37B20);
}

#main-button ~ .messenger-color {
  background: linear-gradient(0deg, #F37B20, #F37B20);
}

#main-button.open ~ a.aw-link {
  opacity: 1;
  transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -webkit-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -moz-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -ms-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
  -o-transition: .4s all cubic-bezier(0, 0.01, 0, 1.27);
}
/* #main-button.open ~ a.aw-link:nth-of-type(1) {
  bottom: 60px;
} */
#main-button.open ~ a.aw-link:nth-of-type(2) {
  bottom: 60px;
}
#main-button.open ~ a.aw-link:nth-of-type(3) {
  bottom: 120px;
}

.wave {
  animation-name: wave;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes wave {
  0% {box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0.5);}
  100% {box-shadow: 0 0 0px 10px rgba(255, 255, 255, 0);}
}

.open {
  animation-iteration-count: 1;
}

@media screen and (max-width: 768px) {
	footer .footer-footer .footer-col-3 {
		float: right;
		padding-left: 0;
		display: block;
		float: none;
	}

	.row-content .type-block {
		width: 100%;
	}

	.home #main-container .row-home.row-desc, .home #main-container .row-home.row-team, .home #main-container .row-trigger .row-title {
		padding-left: 10px;
		padding-right: 10px;
	}
}

@media screen and (max-width: 768px) {
	.footer-logo-wrapper {
		display: flex;
		align-items: center;
	}

	.footer-logo-wrapper > .code-logo {
		flex: 1 1 50%;
	}
}

.content-wraper.at-post-type {
    max-width: 450px;
}

.content-wraper.at-post-type img {
    max-width: 400px;
    margin-bottom: 20px;
}

.at-post-type img {
	width: 100%;
	height: auto;

}

.post-image img {
	width: 100%;
	height: auto;
}

#ourservice-trigger {
	cursor: pointer;
}

#ourservice-trigger:hover {
	color: #A54300;
}
/* Advice posts grid */
.page-template-advices #contentTopContent .alm-listing.alm-ajax {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 20px;
    align-items: stretch;
}

/* Post card */
.page-template-advices .aw-post-blocks {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.page-template-advices .post-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    min-width: 0;
}

.page-template-advices .aw-post-blocks > div {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

/* Image */
.page-template-advices .post-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 16px;
}

.page-template-advices .post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

/* Hover */
.page-template-advices .aw-post-blocks:hover .post-image img {
    transform: scale(1.05);
}

/* Title */
.page-template-advices .post-title {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 10px;
    transition: color 0.3s ease;
     display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.4;
    max-height: 2.8em;
}

.page-template-advices .aw-post-blocks:hover .post-title {
    color: #c45b50;
}

/* Date */
.page-template-advices .post-time {
    font-size: 13px;
    color: #888;
    margin: 0 0 10px;
}

/* Excerpt */
.page-template-advices .post-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.page-template-advices .post-excerpt p {
    margin: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .page-template-advices #contentTopContent .alm-listing.alm-ajax {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .page-template-advices #contentTopContent .alm-listing.alm-ajax {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    .page-template-advices .post-image {
        aspect-ratio: 4 / 3;
        margin-bottom: 10px;
    }

    .page-template-advices .post-title {
        font-size: 16px;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    .page-template-advices .post-time {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .page-template-advices .post-excerpt {
        font-size: 13px;
        line-height: 1.5;
    }
}