
/** HP SERVICES CUSTOM **/
div#hp-services-custom {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding: 6rem 0;
}
div#hp-services-custom .ry-headline {
    margin-bottom: 1.5rem
}
div#hp-services-custom .ry-headline h2 {
    font-size: clamp(1.875rem, 1.2059rem + 2.7451vw, 4.5rem);
    line-height: 1.1;
    color: #ffffff;
    font-weight: 400;
    font-family: "Cormorant";
}
.ry-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
}
.ry-services-grid .ry-each * {
    color: #fff
}
.ry-services-grid .ry-each {
    width: 100%;
    padding: 4rem;
}
.ry-services-grid .ry-each:nth-child(even) {
    background: #374650;
}
.ry-services-grid .ry-each:nth-child(odd):not(:first-child) {
    background: #47555f;
}
.ry-services-grid .ry-each .ry-text h4 {
    font-size: 30px;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 10px;
}

div#ry-customized-treatment .ry-flex {
    gap: 40px;
}
div#ry-customized-treatment .ry-flex .ry-services-title-card {
    max-width: 640px;
    width: 100%;
}
.ry-grid-small-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.ry-grid-small-card .ry-each {
    width: 100%;
    padding: 2.5rem
}
.ry-grid-small-card .ry-each * {
    color: #fff
}
.ry-grid-small-card  .ry-each:nth-child(odd) {
    background: #374650;
}
.ry-grid-small-card .ry-each:nth-child(even) {
    background: #47555f;
}
.ry-grid-small-card  .ry-each:nth-child(5) {
    background: #47555f;
}
.ry-grid-small-card .ry-each:nth-child(6) {
    background: #374650;
}
.ry-grid-small-card  .ry-each:nth-child(7) {
    background: #47555f;
}
.ry-grid-small-card  .ry-each:nth-child(8) {
    background: #374650;
}
div#ry-customized-treatment .ry-flex .ry-services-title-card .ry-text p {
    color: #fff;
    margin-bottom: 1.5rem;
}
.ry-grid-small-card .ry-each .ry-text h4 {
    font-size: 20px !important;
    font-family: 'Karla' !important;
    font-weight: 400 !important;
}
/** END HP SERVICES CUSTOM **/
.top-banner {
    width: 100%;
    background: #28363f;
    padding: 10px 0;
    color: #fff;
}
.top-banner .ry-content {
    display: flex;
    justify-content: space-between;
}
.top-banner .txt {
    font-family: Cormorant, sans-serif !important;
    font-style: italic;
}
.top-banner a {
    color: #fff;
}
.top-banner a:hover {
    color: #fff;
    opacity: 0.6;
}
div#ry-hero-custom .ry-headline h1 span {
    font-style: italic;
}

/** PLACE YOUR MOBILE AND UP CSS HERE **/

@media (max-width: 1080px) {
	.ry-services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	div#ry-customized-treatment .ry-flex {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.ry-services-grid .ry-each *,
	div#ry-customized-treatment .ry-flex * {
		text-align: center;
	}
	.ry-btn-wrap {
		display: flex;
		justify-content: center;
	}
	.ry-bottom-text {
		border-radius: 0 0 30px 30px;
	}
	.module-testimonials.option-2 .testimonial-banner-type .ry-flex {
		border-radius: 30px 30px 0 0;
	}
	.top-banner {
    	display: none;
	}
}

@media (max-width: 768px) {
	.ry-services-grid {
		grid-template-columns: repeat(1, 1fr);
	}
	.ry-grid-small-card {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.ry-grid-small-card {
		grid-template-columns: repeat(1, 1fr);
	}
}