/* Shared frontend rules migrated from stage and production Additional CSS. */

.single.single-service-line .featured-section--single-color-cta .featured-section__inner {
    max-width: 1170px !important;
}

.page-id-2610 .card-group__item:has(a[href="/specialty-pharmacy"]) .card__header svg {
    display: none;
}

.page-id-2610 .card-group__item:has(a[href="/specialty-pharmacy"]) .card__header {
    width: 80px;
    height: 80px;
    background-image: url('/wp-content/uploads/2026/03/Layer_1.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin:0 auto;
}

/* home page new section css */
.top_heading_image_with_text,
.three_column_section {
    overflow: hidden;
    width: calc(100vw - var(--scrollbarWidth, 0px));
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background:#4adb98;
    padding:128px 0;
}


.three_column_section .column img {
    width: 80px;
    margin: 0 auto;
}

.top_heading_image_with_text {
    background: #519D8F;
	  margin-top:60px;
}

.three_column_inner {
    display: grid;
    text-align:center;
    gap: 80px;
    grid-template-columns: repeat(3, 1fr);
}
div:has(.three_column_section) {
    padding: 0 !important;
}
.top_heading_image_with_text h2 ,
.three_column_inner h2 {
    font-size: 48px;
    color: #0F2C52;
    max-width: 365px;
    margin: 30px auto;
}

.top_heading_image_with_text h2 {
    color:#fff;
		max-width:100%;
	  margin-top:0px;
}
.three_column_inner .image_div {
    text-align: center;
}
.three_column_inner .image_div img {
    width: 80px !important;
    margin: 0 auto;
}
.top_heading_image_with_text a.ctm_btn,
.three_column_inner .column a.ctm_btn {
    background-color: #0F2C52;
    padding: 10px 24px;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 14px;
    cursor:pointer;
}
.top_heading_image_with_text a.ctm_btn {
	background-color:#5BDB94;
  color:#0F2C52;
}

.top_heading_image_with_text a.ctm_btn:hover {
	    background-color: rgb(188 240 211 / var(--tw-bg-opacity));
}
.three_column_inner .column a.ctm_btn:hover {
    background-color: rgb(87 107 134 / var(--tw-bg-opacity));
}


.top_heading_image_with_text .image_with_text {
    display: flex;
    align-items: center;
	flex-wrap:wrap;
}
.top_heading_image_with_text .image_with_text .image {
    width: 400px;
}
.top_heading_image_with_text .image_with_text .content {
    width: calc(100% - 400px);
    padding-left: 40px;
}
.top_heading_image_with_text .image_with_text .image img {
    width: 100%;
    aspect-ratio: 1/0.8;
    border-radius: 10px;
    object-fit: cover;
}
.top_heading_image_with_text p {
    color:#fff;
}
.top_heading_image_with_text ul li {
    color: #fff;
}
.top_heading_image_with_text ul {
	padding:0;
}

.top_heading_image_with_text ul li:before {
	background-color:#fff;
}
.entry-content:has(.top_heading_image_with_text) {
    padding-bottom: 0 !important;
}
.featured-services .card:has(a[href*="specialty-pharmacy"]) .card__header a::before {
    content: "";
    width: 80px;
    height: 80px;
    background-image: url(/wp-content/uploads/2026/03/Layer_1.webp);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 999;
    position: relative;
    display: inline-block;
}

.featured-services .card:has(a[href*="specialty-pharmacy"]) .card__header a svg {
    display: none;
}
/* Pharmacy subpage new css */
.page-id-37050 .image_with_text.reverse .button_row p {
    width: 70%;
}
.page-id-37050 .image_with_text_inner .image_wrap img {
    border-radius: 25px;
		width: 100%;
}
.page-id-37082 .image_with_text_inner .image_wrap img, .page-id-37107 .image_with_text_inner .image_wrap img, .page-id-37125 .image_with_text_inner .image_wrap img {
		width: 100%;
}
.page-id-37050 section.image_with_text.inner_box_50 .image_with_text_inner, .page-id-37082 section.image_with_text.inner_box_50 .image_with_text_inner, .page-id-37107 section.image_with_text.inner_box_50 .image_with_text_inner, .page-id-37125 section.image_with_text.inner_box_50 .image_with_text_inner {
    flex-direction: row-reverse;
}
.page-id-37050 section.image_with_text.inner_box_50 .text_wrap, .page-id-37082 section.image_with_text.inner_box_50 .text_wrap, .page-id-37107 section.image_with_text.inner_box_50 .text_wrap, .page-id-37125 section.image_with_text.inner_box_50 .text_wrap {
    padding: 0px 48px 0px 0px;
}
.page-id-37050 section.banner_section {
    background-position: top;
}
.image_wrap {
    width: 50% !important;
}
/* home page new section css */


.image_with_text_inner .text_wrap {
    width: 50%;
}


@media (max-width:1400px) {
	.top_heading_image_with_text h2,
	.three_column_inner h2 {
			font-size: 36px;
			max-width: 275px;
			margin:30px auto;
	}
	.top_heading_image_with_text h2 {
			max-width:100%;
	}
}

@media (min-width: 1024px) and (max-width: 1440px) {
	.featured-section--has-bg-color .featured-section__inner,
	.container {
		max-width: 1240px !important;
	}
}
@media (max-width:1023px){
	.featured-media.featured-section .items {
    flex-direction: column;
}

.featured-media.featured-section .items > div {
    width: 100%;
}
	.top_heading_image_with_text .image_with_text .image {
    width: 100%;
}
.top_heading_image_with_text .image_with_text .content {
    width: 100%;
    padding-top:20px;
	padding-left:0;
}

	.top_heading_image_with_text,
	.three_column_section {
    padding: 56px 0;
}
.three_column_inner {
	grid-template-columns: repeat(1, 1fr);
	gap: 30px;}


.three_column_inner h2 {
    font-size: 30px;
    max-width: 100%;
    margin: 25px auto;
}
}


@media (max-width:767px) {

	.page-id-2610 .card-group__item:has(a[href="/wmc-rx-landing-page/"]) .card__header {
    width: 40px;
    height: 40px;
}

.single-service-line .breadcrumbs .dropdown.multi-column .dropdown__content {
    min-width: 100%;
}

}

.home .hero__description {
	width: 46%;
}

@media (max-width: 1024px) {
	.home .hero__description {
		width: 100%;
	}
}

@media (min-width: 768px) {
    .hero--basic .hero__title {
        font-size: 3.75rem;
        line-height: 1.25;
        width: 45%;
    }
}

/* Navy background is for the top banner logos only, not the award badges */
.awards-carousel .awards-content img {
  background-color: transparent;
}
