/*
Theme Name: Pharmacy Mentor Child
Description: Child theme for Pharmacy Mentor
Template: pharmacy-mentor
Version: 1.6.3
Text Domain: pharmacy-mentor-child
*/

@media (min-width: 1200px) {
    .site-header .navbar .navbar-nav .sub-menu-toggle {
        display: none !important;
    }

    .site-header .navbar .navbar-nav .menu-item-has-children:hover > .sub-menu,
    .site-header .navbar .navbar-nav .menu-item-has-children:hover > .dropdown-menu {
        display: none !important;
    }

    .site-header .navbar .navbar-nav .menu-item-has-children.is-open > .sub-menu,
    .site-header .navbar .navbar-nav .menu-item-has-children.is-open:hover > .sub-menu,
    .site-header .navbar .navbar-nav .menu-item-has-children.is-open > .dropdown-menu,
    .site-header .navbar .navbar-nav .menu-item-has-children > .sub-menu.d-block {
        display: flex !important;
        flex-direction: column;
        line-height: 28px;
    }

    .site-header .navbar .navbar-nav .menu-item-has-children.is-open > a::after,
    .site-header .navbar .navbar-nav .menu-item-has-children > a[aria-expanded="true"]::after {
        transform: translateY(-50%) rotate(-135deg);
    }

    .site-header .navbar .navbar-nav {
        border-right: none;
    }

    .site-header .navbar-brand,
    .site-header .site-header-logo {
        max-width: 200px;
    }

    .site-header .navbar-brand img,
    .site-header .site-header-logo img {
        display: block;
        width: auto;
        height: auto;
        max-width: 200px;
        max-height: none;
        object-fit: contain;
    }
}

@media (max-width: 1199.98px) {
    .site-header {
        z-index: 1000;
    }

    .site-header .navbar {
        flex-wrap: wrap;
        align-items: center;
    }

    .site-header .navbar-brand,
    .site-header .site-header-logo {
        max-width: 200px;
    }

    .site-header .navbar-brand img,
    .site-header .site-header-logo img {
        display: block;
        width: auto !important;
        height: auto !important;
        max-width: 200px;
        max-height: 72px;
        object-fit: contain;
    }

    .site-header .navbar-collapse {
        width: 100%;
        flex-basis: 100%;
        background: #fff;
    }

    .site-header .navbar .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 12px 0 8px;
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .site-header .navbar .navbar-nav > li {
        width: 100%;
    }

    .site-header .navbar .navbar-nav .menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        margin-right: 0;
        position: relative;
        padding-right: 48px;
    }

    /* Always-visible cue for parents with children (works even before JS loads) */
    .site-header .navbar .navbar-nav .menu-item-has-children::after {
        content: "";
        position: absolute;
        top: 18px;
        right: 16px;
        width: 10px;
        height: 10px;
        border: solid var(--pm-second-color, #2f5d50);
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
        pointer-events: none;
        z-index: 1;
    }

    .site-header .navbar .navbar-nav .menu-item-has-children:has(.sub-menu-toggle)::after {
        display: none;
    }

    .site-header .navbar .navbar-nav .menu-item > a {
        display: block;
        padding: 12px 4px;
        line-height: 1.4;
    }

    .site-header .navbar .navbar-nav .menu-item-has-children > a {
        flex: 1 1 auto;
        padding-right: 8px;
        width: 100%;
    }

    .site-header .navbar .navbar-nav .menu-item-has-children > a::after {
        display: none !important;
        content: none !important;
    }

    .site-header .navbar .navbar-nav .sub-menu-toggle {
        position: absolute;
        top: 4px;
        right: 0;
        z-index: 2;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        border: 1px solid rgba(47, 93, 80, 0.25);
        border-radius: 50%;
        background: #f3f6f4;
        color: var(--pm-second-color, #2f5d50);
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        line-height: 1;
    }

    .site-header .navbar .navbar-nav .sub-menu-toggle::before {
        content: "";
        display: block;
        width: 10px;
        height: 10px;
        margin-top: -3px;
        border: solid currentColor;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
        transition: transform 0.2s ease, margin-top 0.2s ease;
    }

    .site-header .navbar .navbar-nav .sub-menu-toggle[aria-expanded="true"],
    .site-header .navbar .navbar-nav .menu-item-has-children.is-open > .sub-menu-toggle {
        background: var(--pm-btn-bg, #e87722);
        border-color: var(--pm-btn-bg, #e87722);
        color: #fff;
    }

    .site-header .navbar .navbar-nav .sub-menu-toggle[aria-expanded="true"]::before,
    .site-header .navbar .navbar-nav .menu-item-has-children.is-open > .sub-menu-toggle::before {
        margin-top: 3px;
        transform: rotate(-135deg);
    }

    .site-header .navbar .navbar-nav .menu-item-has-children > .sub-menu,
    .site-header .navbar .navbar-nav .menu-item-has-children > .dropdown-menu {
        flex-basis: 100%;
        position: static !important;
        display: none;
        width: 100%;
        min-width: 0;
        margin: 0 0 8px;
        padding: 6px 8px 6px 16px;
        border-radius: 12px;
        box-shadow: none;
        background: #f6f6f6;
    }

    .site-header .navbar .navbar-nav .sub-menu.d-block {
        display: block !important;
    }

    .site-header .navbar .navbar-nav .sub-menu li {
        width: 100%;
    }

    .site-header .navbar .navbar-nav .sub-menu li a {
        display: block;
        padding: 8px 4px;
        font-size: 15px;
        font-weight: 400;
        white-space: normal;
    }

    .site-header .menu-btns-wrapper {
        width: 100%;
        padding-top: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .site-header .menu-btns-wrapper .btn,
    .site-header .menu-btns-wrapper .menu-btn {
        width: 100%;
        display: flex;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .site-header .navbar {
        padding: 10px 12px;
    }

    .site-header .navbar-brand,
    .site-header .site-header-logo {
        max-width: 180px;
    }

    .site-header .navbar-brand img,
    .site-header .site-header-logo img {
        max-width: 180px;
        max-height: 64px;
    }
}

section.banner-header {
    padding-top: 200px;
}

.post-banner {
    padding-top: 210px;
    padding-bottom: 30px;
}

.single-content h2:not(.accordion-header) {
    position: relative;
    margin-bottom: 30px;
    color: var(--pm-second-color);
    font-weight: 600;
    font-size: 28px;
}

.single-content h2:not(.accordion-header)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 4px;
    background-color: var(--pm-main-color);
    border-radius: 10px;
}

.single-content .accordion-header::after,
.single-content .accordion h2::after {
    content: none;
    display: none;
}

.services .swiper-wrapper {
    align-items: stretch;
}

.services .swiper-slide.service-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.services .swiper-slide.service-slide > a.service-card,
.services .swiper-slide.service-slide > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1 1 auto;
    color: inherit;
    text-decoration: none;
}

.services .swiper-slide.service-slide .service-thumb {
    flex-shrink: 0;
}

.services .swiper-slide.service-slide .service-thumb img,
.services .swiper-slide.service-slide img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.services .swiper-slide.service-slide .text-wrapper {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services .swiper-slide.service-slide .text-wrapper h3 {
    min-height: 3.9em;
    margin-bottom: 12px;
    line-height: 1.3;
}

.services .swiper-slide.service-slide .text-wrapper p,
.services .swiper-slide.service-slide .text-wrapper .btn {
    margin-top: auto;
    margin-left: 0;
    width: max-content;
}

.services .swiper-slide.service-slide:hover .text-wrapper p,
.services .swiper-slide.service-slide:hover .text-wrapper .btn {
    margin-left: 0;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    margin: 10px 0 30px;
}

.pagination-wrapper .page-numbers {
    padding: 5px 10px;
    background: var(--pm-background-color);
    border-radius: 5px;
    color: var(--pm-second-color);
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination-wrapper a.page-numbers:hover {
    background-color: var(--pm-btn-bg);
    color: var(--pm-btn-text, #fff);
}

.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers[aria-current="page"] {
    background-color: var(--pm-btn-bg);
    color: var(--pm-btn-text, #fff);
}

.pagination-wrapper .page-numbers.dots {
    background: transparent;
    width: auto;
    min-width: 20px;
}

.single-service .widget-area .posts-list li.view-all-services {
    border-bottom: none;
    margin-top: 20px;
    list-style: none;
}

.single-service .widget-area .posts-list li.view-all-services::after {
    content: none;
}

.single-service .widget-area .posts-list li.view-all-services a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    text-align: center;
}

.single-service .widget-area .posts-list li.view-all-services:hover a.btn {
    text-decoration: none;
}

.single-service .service-help-widget {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.single-service .service-help-widget h3 {
    margin-bottom: 0;
}

.single-service .service-help-widget__phone {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: inherit;
}

.single-service .service-help-widget__phone:hover,
.single-service .service-help-widget__phone:focus {
    text-decoration: none;
    color: inherit;
}

.single-service .service-help-widget__phone-label {
    font-size: 13px;
    font-weight: 500;
    color: #6b6b6b;
    letter-spacing: 0.02em;
}

.single-service .service-help-widget__phone-number {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--pm-second-color, #2f5d50);
}

.single-service .service-help-widget__phone:hover .service-help-widget__phone-number {
    color: var(--pm-btn-bg, #e87722);
}

.single-service .service-help-widget__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}

.single-service .service-help-widget__btn:hover,
.single-service .service-help-widget__btn:focus {
    text-decoration: none;
}

.contact ul li,
.contact ul li a {
    display: flex;
    align-items: center;
}

.contact ul li img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
}

.contact ul li.contact-address {
    align-items: flex-start;
}

.contact .contact-info-icon,
.contact .contact-form-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.contact h3 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--pm-second-color);
    font-weight: 600;
}

.contact h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 60px;
    height: 4px;
    background-color: var(--pm-main-color);
    border-radius: 10px;
}

.contact .contact-page-content {
    margin-bottom: 1.5rem;
}

.contact .contact-info-block {
    margin-bottom: 1.5rem;
}

.contact .contact-info-block h4 {
    color: var(--pm-second-color);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.contact .contact-info-block h4 img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact .contact-info-block ul li {
    align-items: flex-start;
}

.contact .wpcf7 {
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.18);
}

/* Booking page — Bookly widget (same pattern as other pages) */
.booking-page .booking-widget h3 {
    color: var(--pm-second-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.booking-page .booking-widget__content {
    text-align: left;
}

/* Upper footer — shared on every page (logo / phone / email / socials) */
.site-footer {
    position: relative;
    z-index: 2;
    color: #fff;
}

.site-footer .upper-footer {
    align-items: center;
}

.site-footer .footer-upper-col {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    min-height: 70px;
}

.site-footer .pm-footer-logo-wrap {
    display: inline-block;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
    max-width: 240px;
}

.site-footer .pm-footer-logo-wrap img,
.site-footer img.pm-footer-logo {
    border-radius: 20px !important;
    display: block;
    max-width: 240px;
    width: 100%;
    height: auto;
}

.site-footer .footer-contact {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    color: #fff !important;
    font-family: inherit;
    font-size: 18px;
}

.site-footer .footer-contact img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.site-footer .footer-socials {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.site-footer .footer-socials a {
    display: flex;
    align-items: center;
    line-height: 0;
}

.site-footer .footer-socials img {
    display: block;
}

@media (max-width: 991px) {
    .site-footer .footer-upper-col {
        min-height: 0;
        margin-bottom: 12px;
    }
}

@media (max-width: 767.98px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .container.home-banner-swiper {
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
    }

    .site-footer {
        text-align: center;
    }

    .site-footer .footer-upper-col,
    .site-footer .central-footer > [class*="col-"],
    .site-footer .lower-footer > [class*="col-"] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .site-footer .pm-footer-logo-wrap {
        margin: 0 auto;
    }

    .site-footer .footer-contact {
        justify-content: center;
        white-space: normal;
    }

    .site-footer .footer-upper-col.footer-socials,
    .site-footer .footer-socials {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        gap: 16px;
    }

    .site-footer .quick-links-menu {
        padding-left: 0;
        text-align: center;
    }

    .site-footer .payment {
        justify-content: center;
        width: 100%;
    }

    .site-footer .btn {
        display: inline-flex;
        justify-content: center;
    }
}

/* Services page curated sections */
.services-block__intro {
    margin-bottom: 2rem;
}

.services-block__intro h2 {
    color: var(--pm-second-color);
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 1rem;
}

.services-block__intro h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 12px auto 0;
    background: var(--pm-btn-bg);
}

.services-block__text {
    max-width: 720px;
    margin: 0 auto;
}

.services-block__text p:last-child {
    margin-bottom: 0;
}

/* Services page search */
.services-search {
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.services-search__field {
    position: relative;
    display: flex;
    align-items: center;
}

.services-search__icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #4a4a4a;
    pointer-events: none;
    z-index: 2;
}

.services-search__icon path {
    stroke: currentColor !important;
    fill: none !important;
}

.services-search__input {
    width: 100%;
    height: 52px;
    padding: 0 52px 0 50px;
    border: 1px solid rgba(47, 93, 80, 0.22);
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-size: 16px;
    line-height: 1.2;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.services-search__input::-webkit-search-cancel-button,
.services-search__input::-webkit-search-decoration,
.services-search__input::-webkit-search-results-button,
.services-search__input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.services-search__input::placeholder {
    color: #9a9a9a;
}

.services-search__input:focus {
    border-color: var(--pm-btn-bg, #e87722);
    box-shadow: 0 0 0 3px rgba(232, 119, 34, 0.12);
}

.services-search__clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    min-width: 30px;
    max-width: 30px;
    min-height: 30px;
    max-height: 30px;
    aspect-ratio: 1 / 1;
    padding: 0;
    margin: 0;
    border: 0 !important;
    border-radius: 50% !important;
    background: #e8e8e8;
    color: #333;
    box-shadow: none !important;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    line-height: 0;
    overflow: hidden;
}

.services-search__clear[hidden] {
    display: none !important;
}

.services-search__clear-x {
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
}

.services-search__clear-x::before,
.services-search__clear-x::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 12px;
    margin-left: -1px;
    background: currentColor;
    border-radius: 1px;
}

.services-search__clear-x::before {
    transform: rotate(45deg);
}

.services-search__clear-x::after {
    transform: rotate(-45deg);
}

.services-search__clear:hover,
.services-search__clear:focus {
    background: #d8d8d8;
    color: #111;
    border: 0 !important;
    box-shadow: none !important;
}

.services-search__clear:focus-visible {
    outline: 2px solid var(--pm-btn-bg, #e87722);
    outline-offset: 2px;
}

.services-search__empty {
    text-align: center;
    color: #666;
    margin: 1rem 0 0;
}

.js-service-card.is-filtered-out,
.js-services-block.is-filtered-out {
    display: none !important;
}

@media (max-width: 575px) {
    .services-search {
        margin-bottom: 1.75rem;
    }

    .services-search__input {
        height: 48px;
        font-size: 15px;
        padding: 0 44px 0 44px;
    }

    .services-search__icon {
        left: 16px;
    }

    .services-search__clear {
        right: 10px;
        width: 28px;
        height: 28px;
        min-width: 28px;
        max-width: 28px;
        min-height: 28px;
        max-height: 28px;
        flex-basis: 28px;
    }
}

/* Pharmacy First — tighten sparse / text-only sections after hides */
.pharmacy-first-main #spotlight.container-spotlight--text-only {
    padding-top: 48px;
    padding-bottom: 48px;
}

.pharmacy-first-main #spotlight.container-spotlight--text-only .row-spotlight {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Never let PF section waves paint over the shared site footer */
.pharmacy-first-main > svg.wave:last-child {
    display: none;
}

.page-template-page-templates-pharmacy-first-php .visit-us {
    position: relative;
    z-index: 1;
    background: var(--pm-background-color, #fff6ed);
}

/* Pharmacy First — match site typography / buttons */
.page-template-page-templates-pharmacy-first-php .pharmacy-first-main,
.page-template-page-templates-pharmacy-first-php .pharmacy-first-main * {
    font-family: inherit;
}

.page-template-page-templates-pharmacy-first-php .post-banner h1,
.page-template-page-templates-pharmacy-first-php .pharmacy-first-main h2,
.page-template-page-templates-pharmacy-first-php .pharmacy-first-main h3,
.page-template-page-templates-pharmacy-first-php .pharmacy-first-main h4 {
    color: var(--pm-second-color);
    font-weight: 600;
}

.page-template-page-templates-pharmacy-first-php .post-banner p,
.page-template-page-templates-pharmacy-first-php .pharmacy-first-main p {
    color: var(--pm-body-color);
}

.page-template-page-templates-pharmacy-first-php .pharmacy-first-main .read-more-btn,
.page-template-page-templates-pharmacy-first-php .post-banner .btn {
    background: var(--pm-btn-bg);
    color: var(--pm-btn-text);
    border-radius: var(--pm-button-radius);
    font-weight: 600;
}

.page-template-page-templates-pharmacy-first-php .pharmacy-first-main .read-more-btn:hover,
.page-template-page-templates-pharmacy-first-php .post-banner .btn:hover {
    background: var(--pm-btn-bg-hover);
    color: var(--pm-btn-text-hover);
}

.page-template-page-templates-pharmacy-first-php .pharmacy-first-main h3::after {
    background-color: var(--pm-main-color);
}

.pharmacy-first-main .pharmacy-first-editor {
    padding: 40px 0 20px;
}

.pharmacy-first-main .pharmacy-first-editor__content {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.pharmacy-first-main .pharmacy-first-editor__content > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    body.pmc-pharmacy-first-page .pharmacy-first-main .pharmacy-first-editor {
        padding: 28px 0 12px;
    }
}

body.home .home-banner {
    overflow: hidden;
}

body.home .home-banner-swiper {
    overflow: hidden;
}

body.home .home-banner .swiper-slide {
    box-sizing: border-box;
}

@media (max-width: 767.98px) {
    body.home .home-banner {
        padding: 110px 0 32px;
        overflow: hidden;
    }

    body.home .home-banner-swiper.swiper {
        overflow: hidden;
        padding-left: 0;
        padding-right: 0;
    }

    body.home .home-banner .swiper-slide {
        padding-left: 20px;
        padding-right: 20px;
    }

    body.home .home-banner .content {
        padding: 0;
    }

    body.home .home-banner .content .banner-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    body.home .home-banner h1 {
        font-size: 28px;
        margin-bottom: 16px;
        padding-bottom: 8px;
    }

    body.home .home-banner .cta-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 16px;
        width: 100%;
    }

    body.home .home-banner .cta-wrapper .btn {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
        box-sizing: border-box;
        padding-left: 20px;
        padding-right: 20px;
    }

    body.home .home-banner .swiper-pagination {
        position: relative;
        margin-top: 12px;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
    }

    body.home .home-banner .outline {
        width: 92%;
        top: -8px;
        left: 4%;
    }

    body.home .home-banner .masked-img {
        max-height: 260px;
        object-fit: cover;
    }

    body.home .services,
    body.home .our-features,
    body.home .about-us-section,
    body.home .testimonials,
    body.home .faq,
    body.home .blog,
    body.home .contact {
        padding: 36px 0;
    }

    body.home .services {
        padding-top: 72px;
        padding-bottom: 24px;
    }

    body.home .services .service-icon-wrapper {
        top: -48px;
        min-width: 0;
        transform: translateX(-50%) scale(0.78);
        transform-origin: top center;
    }

    body.home .services .end-wrapper {
        justify-content: flex-start;
        align-items: center;
        height: auto;
        gap: 12px;
        margin: 8px 0 12px;
        flex-wrap: wrap;
    }

    body.home .services .end-wrapper .btn {
        margin-bottom: 0;
    }

    body.home .services .end-wrapper .swiper-btn-position {
        position: static;
        display: flex;
        align-items: center;
        gap: 8px;
        right: auto;
        bottom: auto;
    }

    body.home .services .end-wrapper .swiper-btn-position .services-next.swiper-button-next,
    body.home .services .end-wrapper .swiper-btn-position .services-prev.swiper-button-prev {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        margin: 0;
    }

    body.home .services .swiper-wrapper {
        padding-top: 8px;
    }

    body.home .services .swiper-slide.service-slide img {
        height: 180px;
        object-fit: cover;
    }

    body.home .services .swiper-slide.service-slide .text-wrapper {
        padding: 20px;
    }

    body.home .services .swiper-slide.service-slide .text-wrapper h3 {
        font-size: 20px;
        min-height: 3.9em;
        line-height: 1.3;
    }

    body.home .services .swiper-slide.service-slide .text-wrapper p {
        width: max-content;
        max-width: 100%;
        margin-left: 0;
        margin-top: auto;
    }

    body.home .services .swiper {
        padding-bottom: 12px;
    }

    body.home .services .swiper-pagination {
        position: relative;
        bottom: 0;
        margin-top: 12px;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        overflow-x: auto;
        max-width: 100%;
        padding-bottom: 4px;
    }

    body.home .our-features {
        padding-top: 28px;
        padding-bottom: 20px;
    }

    body.home .our-features h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    body.home .our-features .feature {
        margin-top: 12px;
        padding: 20px;
    }

    body.home .about-us-section {
        padding-top: 20px;
        padding-bottom: 28px;
        overflow: hidden;
    }

    body.home .about-us-section .container {
        margin-top: 12px !important;
    }

    body.home .about-us-section .curve {
        display: none;
    }

    body.home .about-us-section .masked-img {
        min-height: 0;
        max-height: 260px;
        margin-bottom: 20px;
    }

    body.home .about-us-section h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    body.home .about-us-section .cta-wrapper {
        gap: 12px;
    }

    body.home .testimonials {
        padding-top: 28px;
        padding-bottom: 36px;
    }

    body.home .testimonials h3 {
        font-size: 28px;
    }

    body.home .faq .container:first-of-type {
        padding-top: 8px;
    }

    body.home .faq h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .accordion .accordion-body {
        padding-left: 20px;
        padding-right: 16px;
        padding-bottom: 16px;
    }

    .accordion .accordion-button {
        padding: 14px 16px;
        align-items: flex-start;
        text-align: left;
        white-space: normal;
    }

    .accordion .accordion-title {
        font-size: 14px;
        line-height: 1.35;
        padding-right: 8px;
    }

    .accordion .accordion-number {
        margin-right: 12px;
        flex-shrink: 0;
    }

    body.home .blog {
        padding-top: 28px;
        padding-bottom: 48px;
    }

    body.home .blog .col-12.mb-5 {
        margin-bottom: 1.5rem !important;
    }

    body.home .blog h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    body.home .blog .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px;
    }

    body.home .blog .d-flex p {
        max-width: 100%;
    }

    body.home .blog .d-flex a.btn {
        margin-left: 0;
        margin-top: 0;
    }

    body.home .blog .col-12.col-md-4.mb-5 {
        margin-bottom: 1.75rem !important;
    }

    body.home .blog .post-card .text-wrapper {
        padding: 20px;
    }

    body.home .contact h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    body.home .contact .wpcf7,
    body.home .contact .wpcf7 form {
        padding: 20px;
    }

    body.home .site-footer .pm-footer-logo-wrap,
    body.home .site-footer img.pm-footer-logo {
        max-width: 200px;
    }
}

body.pmc-contact-page {
    overflow-x: hidden;
}

body.pmc-contact-page .banner-header {
    overflow: hidden;
}

body.pmc-contact-page section.contact {
    padding-top: 0;
    padding-bottom: 24px;
}

body.pmc-contact-page .contact .container {
    padding-top: 8px;
    padding-bottom: 8px;
}

body.pmc-contact-page .contact-form-intro {
    margin-bottom: 20px;
}

body.pmc-contact-page .contact-form-intro-text p:last-child {
    margin-bottom: 0;
}

body.pmc-contact-page section.faq {
    padding-top: 0;
    padding-bottom: 40px;
}

body.pmc-contact-page .faq .container:first-of-type {
    padding-top: 16px;
}

body.pmc-contact-page .visit-us {
    padding-top: 8px;
    padding-bottom: 48px;
}

@media (max-width: 767.98px) {
    body.pmc-contact-page .banner-header {
        min-height: 0;
        padding-top: 110px;
        padding-bottom: 48px;
        align-items: flex-end;
    }

    body.pmc-contact-page .banner-header h1 {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    body.pmc-contact-page .banner-header .banner-text p {
        font-size: 16px;
        margin-bottom: 0;
    }

    body.pmc-contact-page .banner-header .img1,
    body.pmc-contact-page .banner-header .img2,
    body.pmc-contact-page .banner-header .img3,
    body.pmc-contact-page .banner-header .img4 {
        max-width: 55%;
        height: auto;
    }

    body.pmc-contact-page section.contact {
        padding-bottom: 12px;
    }

    body.pmc-contact-page .contact .container {
        padding-top: 12px;
        padding-bottom: 4px;
    }

    body.pmc-contact-page .contact h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    body.pmc-contact-page .contact .contact-info-block {
        margin-bottom: 1.25rem;
    }

    body.pmc-contact-page .contact .contact-info-block h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    body.pmc-contact-page .contact .contact-info-block ul {
        list-style: none;
        margin: 0;
    }

    body.pmc-contact-page .contact .contact-info-block ul li {
        display: block;
        margin-bottom: 6px;
        line-height: 1.45;
        font-size: 15px;
    }

    body.pmc-contact-page .contact-form-intro {
        margin-top: 8px;
        margin-bottom: 16px;
    }

    body.pmc-contact-page .contact .wpcf7 {
        padding: 20px;
    }

    body.pmc-contact-page .wpcf7 label {
        margin-bottom: 12px;
    }

    body.pmc-contact-page .wpcf7 .wpcf7-form-control.wpcf7-submit {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    body.pmc-contact-page section.faq {
        padding-top: 8px;
        padding-bottom: 28px;
    }

    body.pmc-contact-page .faq .wave {
        height: 56px;
        width: 100%;
    }

    body.pmc-contact-page .faq .container:first-of-type {
        padding-top: 8px;
    }

    body.pmc-contact-page .faq h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    body.pmc-contact-page .accordion .accordion-body {
        padding-right: 28px;
    }

    body.pmc-contact-page .visit-us {
        padding-top: 8px;
        padding-bottom: 32px;
    }

    body.pmc-contact-page .visit-us .visiting-wrapper {
        padding: 36px 20px;
    }

    body.pmc-contact-page .visit-us .visiting-wrapper h3 {
        font-size: 28px;
    }

    body.pmc-contact-page .visit-us .visiting-wrapper svg {
        max-width: 72px;
        height: auto;
    }

    body.pmc-contact-page .visit-us .visiting-wrapper .img1,
    body.pmc-contact-page .visit-us .visiting-wrapper .img2 {
        left: -28px;
        top: -8px;
    }

    body.pmc-contact-page .visit-us .visiting-wrapper .img3,
    body.pmc-contact-page .visit-us .visiting-wrapper .img4 {
        right: -28px;
        bottom: -8px;
    }
}

body.pmc-about-page {
    overflow-x: hidden;
}

body.pmc-about-page .banner-header {
    overflow: hidden;
}

@media (max-width: 767.98px) {
    body.pmc-about-page .banner-header {
        min-height: 0;
        padding-top: 110px;
        padding-bottom: 48px;
        align-items: flex-end;
    }

    body.pmc-about-page .banner-header h1 {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    body.pmc-about-page .banner-header .banner-text p {
        font-size: 16px;
        margin-bottom: 0;
    }

    body.pmc-about-page .about-us-section,
    body.pmc-about-page .about-us .about-us-wrapper .about-stats,
    body.pmc-about-page .about-us .about-us-wrapper .history,
    body.pmc-about-page .about-us .about-us-wrapper .meet-the-team,
    body.pmc-about-page .testimonials,
    body.pmc-about-page .faq,
    body.pmc-about-page .blog,
    body.pmc-about-page .newsletter {
        padding: 36px 0;
    }

    body.pmc-about-page .about-us-section {
        padding-top: 20px;
        padding-bottom: 28px;
        overflow: hidden;
    }

    body.pmc-about-page .about-us-section .curve,
    body.pmc-about-page .about-us .about-us-wrapper .history .curve {
        display: none;
    }

    body.pmc-about-page .about-us-section .masked-img,
    body.pmc-about-page .about-us .about-us-wrapper .history .masked-img {
        min-height: 0;
        max-height: 260px;
        margin-bottom: 20px;
        object-fit: cover;
    }

    body.pmc-about-page .about-us-section h3,
    body.pmc-about-page .about-us .about-us-wrapper .history h3,
    body.pmc-about-page .about-us .about-us-wrapper .meet-the-team h3,
    body.pmc-about-page .testimonials h3,
    body.pmc-about-page .faq h3,
    body.pmc-about-page .blog h3,
    body.pmc-about-page .newsletter h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    body.pmc-about-page .about-us-section .cta-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    body.pmc-about-page .about-us-section .cta-wrapper .btn {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
        box-sizing: border-box;
    }

    body.pmc-about-page .about-us .about-us-wrapper .about-stats {
        padding-top: 8px;
        padding-bottom: 24px;
    }

    body.pmc-about-page .about-us .about-us-wrapper .about-stats .stats-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 28px 12px 16px;
        gap: 0;
    }

    body.pmc-about-page .about-us .about-us-wrapper .about-stats .stats-wrapper .stats-item {
        flex: none;
        max-width: none;
        width: auto;
        padding: 16px 12px 20px;
        border-right: 0;
        text-align: center;
    }

    body.pmc-about-page .about-us .about-us-wrapper .about-stats .stats-wrapper .stats-item h3 {
        font-size: 28px;
        margin-bottom: 8px;
    }

    body.pmc-about-page .about-us .about-us-wrapper .about-stats .stats-wrapper .stats-item h4 {
        font-size: 14px;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    body.pmc-about-page .about-us .about-us-wrapper .about-stats .stats-wrapper .stats-item p {
        font-size: 13px;
        line-height: 1.4;
    }

    body.pmc-about-page .about-us .about-us-wrapper .about-stats .stats-wrapper .stats-item:nth-of-type(1),
    body.pmc-about-page .about-us .about-us-wrapper .about-stats .stats-wrapper .stats-item:nth-of-type(2) {
        border-bottom: 1px solid #e9e9e9;
    }

    body.pmc-about-page .about-us .about-us-wrapper .about-stats .stats-wrapper .stats-item:nth-of-type(1),
    body.pmc-about-page .about-us .about-us-wrapper .about-stats .stats-wrapper .stats-item:nth-of-type(3) {
        border-right: 1px solid #e9e9e9;
    }

    body.pmc-about-page .about-us .about-us-wrapper .about-stats .stats-wrapper svg {
        max-width: 56px;
        height: auto;
    }

    body.pmc-about-page .about-us .about-us-wrapper .history {
        padding-top: 28px;
        padding-bottom: 28px;
        overflow: hidden;
    }

    body.pmc-about-page .about-us .about-us-wrapper .history .wave {
        height: 56px;
        width: 100%;
    }

    body.pmc-about-page .history .history-content p {
        font-size: 16px;
    }

    body.pmc-about-page .about-us .about-us-wrapper .meet-the-team {
        padding-top: 20px;
        padding-bottom: 28px;
        overflow: hidden;
    }

    body.pmc-about-page .about-us .about-us-wrapper .meet-the-team .end-wrapper {
        height: auto;
        justify-content: flex-start;
        align-items: center;
        margin: 8px 0 12px;
    }

    body.pmc-about-page .meet-the-team .col-12.mt-5 {
        margin-top: 1rem !important;
    }

    body.pmc-about-page .about-us .about-us-wrapper .meet-the-team .team-card .team-thumb {
        height: 260px;
    }

    body.pmc-about-page .testimonials {
        padding-top: 28px;
        padding-bottom: 36px;
        overflow: hidden;
    }

    body.pmc-about-page .faq .container:first-of-type {
        padding-top: 8px;
    }

    body.pmc-about-page .faq .wave {
        height: 56px;
        width: 100%;
    }

    body.pmc-about-page .blog {
        padding-top: 28px;
        padding-bottom: 48px;
        overflow: hidden;
    }

    body.pmc-about-page .blog .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 16px;
    }

    body.pmc-about-page .blog .d-flex p {
        max-width: 100%;
    }

    body.pmc-about-page .blog .d-flex a.btn {
        margin-left: 0;
        margin-top: 0;
    }

    body.pmc-about-page .blog .col-12.mb-5,
    body.pmc-about-page .blog .col-12.col-md-4.mb-5 {
        margin-bottom: 1.75rem !important;
    }

    body.pmc-about-page .newsletter {
        padding-top: 12px;
        padding-bottom: 40px;
        overflow: hidden;
    }

    body.pmc-about-page .newsletter .newsletter-wrapper {
        padding: 32px 20px;
    }

    body.pmc-about-page .newsletter .newsletter-wrapper svg {
        width: auto;
        height: auto;
        max-width: 72px;
    }

    body.pmc-about-page .newsletter .wpcf7 .wpcf7-form-control.wpcf7-submit {
        width: 100%;
        justify-content: center;
    }
}

body.pmc-pharmacy-first-page {
    overflow-x: hidden;
}

body.pmc-pharmacy-first-page .pharmacy-first-main {
    overflow-x: hidden;
}

@media (max-width: 767.98px) {
    body.pmc-pharmacy-first-page .post-banner {
        padding-top: 150px;
        padding-bottom: 28px;
        overflow: hidden;
    }

    body.pmc-pharmacy-first-page .post-banner h1 {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 16px;
    }

    body.pmc-pharmacy-first-page .post-banner p,
    body.pmc-pharmacy-first-page .post-banner p:last-of-type {
        font-size: 16px;
        margin-bottom: 16px;
    }

    body.pmc-pharmacy-first-page .post-banner .btn {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    body.pmc-pharmacy-first-page .post-banner .header-img-wrapper {
        margin: 0 0 16px;
        overflow: hidden;
    }

    body.pmc-pharmacy-first-page .post-banner .header-img-wrapper .masked-img {
        display: block;
        width: 100%;
        max-height: 240px;
        object-fit: cover;
    }

    body.pmc-pharmacy-first-page .post-banner .header-img-wrapper .outline {
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main #steps,
    body.pmc-pharmacy-first-page .pharmacy-first-main #spotlight,
    body.pmc-pharmacy-first-page .pharmacy-first-main #conditions,
    body.pmc-pharmacy-first-page .pharmacy-first-main #cards,
    body.pmc-pharmacy-first-page .pharmacy-first-main #reviews,
    body.pmc-pharmacy-first-page .pharmacy-first-main #booking {
        padding: 36px 0;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main #steps {
        padding-top: 28px;
        padding-bottom: 24px;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main .read-more-btn {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
        box-sizing: border-box;
        padding-left: 20px;
        padding-right: 20px;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main .steps-tile {
        margin-bottom: 24px;
        text-align: center;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main .steps-tile img {
        max-height: 200px;
        width: 100%;
        object-fit: cover;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main #spotlight {
        padding-top: 28px;
        padding-bottom: 28px;
        overflow: hidden;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main #spotlight img {
        max-height: 260px;
        width: 100%;
        object-fit: cover;
        margin-bottom: 8px;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main #conditions {
        padding-top: 28px;
        padding-bottom: 24px;
        overflow: hidden;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main .condition-content {
        padding: 28px 20px 20px;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main .condition-content:has(.icon-wrapper) {
        padding-top: 56px;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main .icon-wrapper {
        width: 72px;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main .condition h3 {
        font-size: 22px;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main #cards {
        padding-top: 28px;
        padding-bottom: 28px;
        overflow: hidden;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main #cards .row {
        margin-bottom: 24px;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main #cards img {
        max-height: 220px;
        width: 100%;
        object-fit: cover;
        margin-bottom: 12px;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main #reviews,
    body.pmc-pharmacy-first-page .pharmacy-first-main #booking {
        padding-top: 28px;
        padding-bottom: 36px;
        overflow: hidden;
    }

    body.pmc-pharmacy-first-page .pharmacy-first-main svg.wave {
        height: 56px;
        width: 100%;
    }

    body.pmc-pharmacy-first-page .visit-us {
        padding-top: 8px;
        padding-bottom: 32px;
        overflow: hidden;
    }

    body.pmc-pharmacy-first-page .visit-us .visiting-wrapper {
        padding: 36px 20px;
    }

    body.pmc-pharmacy-first-page .visit-us .visiting-wrapper h3 {
        font-size: 28px;
    }

    body.pmc-pharmacy-first-page .visit-us .visiting-wrapper svg {
        max-width: 72px;
        height: auto;
    }

    body.pmc-pharmacy-first-page .visit-us .visiting-wrapper .img1,
    body.pmc-pharmacy-first-page .visit-us .visiting-wrapper .img2 {
        left: -28px;
        top: -8px;
    }

    body.pmc-pharmacy-first-page .visit-us .visiting-wrapper .img3,
    body.pmc-pharmacy-first-page .visit-us .visiting-wrapper .img4 {
        right: -28px;
        bottom: -8px;
    }
}

body.pmc-services-page,
body.pmc-single-service {
    overflow-x: hidden;
}

body.pmc-services-page .banner-header,
body.pmc-single-service .post-banner {
    overflow: hidden;
}

@media (max-width: 767.98px) {
    body.pmc-services-page .banner-header {
        min-height: 0;
        padding-top: 150px;
        padding-bottom: 40px;
        align-items: flex-end;
    }

    body.pmc-services-page .banner-header .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    body.pmc-services-page .banner-header #breadcrumbs {
        margin: 0 0 14px;
        font-size: 14px;
        line-height: 1.4;
    }

    body.pmc-services-page .banner-header h1 {
        font-size: 28px;
        line-height: 1.25;
        margin: 0 0 18px;
        padding-bottom: 10px;
    }

    body.pmc-services-page .banner-header .banner-text {
        margin-top: 8px;
        margin-bottom: 0;
    }

    body.pmc-services-page .banner-header .banner-text p {
        font-size: 16px;
        line-height: 1.55;
        margin: 0 auto;
        max-width: 34em;
    }

    body.pmc-services-page .banner-header .img1,
    body.pmc-services-page .banner-header .img2,
    body.pmc-services-page .banner-header .img3,
    body.pmc-services-page .banner-header .img4 {
        max-width: 55%;
        height: auto;
    }

    body.pmc-services-page section.posts .posts-wrapper {
        padding-top: 28px;
        padding-bottom: 32px;
    }

    body.pmc-services-page .services-block.d-none {
        display: block !important;
    }

    body.pmc-services-page .services-search {
        margin: 8px auto 2rem;
        max-width: 100%;
    }

    body.pmc-services-page .services-block {
        margin-bottom: 2rem !important;
    }

    body.pmc-services-page .services-block__intro {
        margin-bottom: 1.5rem;
        padding: 0 4px;
    }

    body.pmc-services-page .services-block__intro h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    body.pmc-services-page .services-block__text {
        margin-top: 8px;
    }

    body.pmc-services-page .posts-wrapper .posts-card {
        margin-bottom: 4px;
    }

    body.pmc-services-page .posts-wrapper .posts-card img {
        height: 180px;
        object-fit: cover;
    }

    body.pmc-services-page .posts-wrapper .posts-card .text-wrapper {
        padding: 20px;
    }

    body.pmc-services-page .posts-wrapper .posts-card .text-wrapper h3 {
        font-size: 20px;
        min-height: 0;
        margin-bottom: 10px;
    }

    body.pmc-services-page .posts-wrapper .wave {
        height: 56px;
        width: 100%;
    }

    body.pmc-single-service .post-banner {
        padding-top: 150px;
        padding-bottom: 28px;
        overflow: hidden;
    }

    body.pmc-single-service .post-banner .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    body.pmc-single-service .post-banner .header-img-wrapper {
        margin: 0 0 20px;
        overflow: hidden;
    }

    body.pmc-single-service .post-banner .header-img-wrapper .masked-img {
        display: block;
        width: 100%;
        max-height: 240px;
        object-fit: cover;
    }

    body.pmc-single-service .post-banner .header-img-wrapper .outline {
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    body.pmc-single-service .post-banner .flex-lc {
        padding-top: 4px !important;
        padding-bottom: 8px !important;
    }

    body.pmc-single-service .post-banner #breadcrumbs {
        margin: 0 0 14px;
        font-size: 14px;
        line-height: 1.4;
    }

    body.pmc-single-service .post-banner h1 {
        font-size: 28px;
        line-height: 1.25;
        margin: 0 0 16px;
        padding-bottom: 10px;
    }

    body.pmc-single-service .post-banner p,
    body.pmc-single-service .post-banner p:last-of-type {
        font-size: 16px;
        line-height: 1.55;
        margin: 0 0 20px;
    }

    body.pmc-single-service .post-banner .btn {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
        margin-top: 4px;
    }

    body.pmc-single-service .single-service .single-content {
        padding-top: 28px;
        padding-bottom: 28px;
        overflow: hidden;
    }

    body.pmc-single-service .single-content h2:not(.accordion-header) {
        font-size: 28px;
        margin-bottom: 16px;
    }

    body.pmc-single-service .flexible-content section {
        padding: 24px 0;
    }

    body.pmc-single-service .flexible-content .container {
        padding-left: 0;
        padding-right: 0;
    }

    body.pmc-single-service .flexible-content img {
        max-height: 260px;
        width: 100%;
        object-fit: cover;
        margin-bottom: 12px;
    }

    body.pmc-single-service .flexible-content .btn {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
        box-sizing: border-box;
    }

    body.pmc-single-service .single-content .widget-area {
        max-width: 100%;
        margin-top: 20px;
    }

    body.pmc-single-service .single-content .widget-area .posts-list {
        padding: 24px 20px;
    }

    body.pmc-single-service .service-help-widget {
        align-items: stretch;
        gap: 14px;
    }

    body.pmc-single-service .service-help-widget__btn {
        width: 100%;
        justify-content: center;
    }

    body.pmc-single-service .single-service .wave {
        height: 56px;
        width: 100%;
    }

    body.pmc-services-page .visit-us,
    body.pmc-single-service .visit-us {
        padding-top: 8px;
        padding-bottom: 32px;
        overflow: hidden;
    }

    body.pmc-services-page .visit-us .visiting-wrapper,
    body.pmc-single-service .visit-us .visiting-wrapper {
        padding: 36px 20px;
    }

    body.pmc-services-page .visit-us .visiting-wrapper h3,
    body.pmc-single-service .visit-us .visiting-wrapper h3 {
        font-size: 28px;
    }

    body.pmc-services-page .visit-us .visiting-wrapper svg,
    body.pmc-single-service .visit-us .visiting-wrapper svg {
        max-width: 72px;
        height: auto;
    }

    body.pmc-services-page .visit-us .visiting-wrapper .img1,
    body.pmc-services-page .visit-us .visiting-wrapper .img2,
    body.pmc-single-service .visit-us .visiting-wrapper .img1,
    body.pmc-single-service .visit-us .visiting-wrapper .img2 {
        left: -28px;
        top: -8px;
    }

    body.pmc-services-page .visit-us .visiting-wrapper .img3,
    body.pmc-services-page .visit-us .visiting-wrapper .img4,
    body.pmc-single-service .visit-us .visiting-wrapper .img3,
    body.pmc-single-service .visit-us .visiting-wrapper .img4 {
        right: -28px;
        bottom: -8px;
    }
}

.pmc-scroll-top {
    position: fixed;
    right: 24px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 10000;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--pm-btn-bg, #e87722);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.pmc-scroll-top svg {
    display: block;
    flex-shrink: 0;
}

.pmc-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.pmc-scroll-top:hover,
.pmc-scroll-top:focus {
    background: var(--pm-btn-bg-hover, #d56a1a);
    color: #fff;
    outline: none;
}

@media (max-width: 782px) {
    .pmc-scroll-top {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        width: 42px;
        height: 42px;
    }

    body.admin-bar .pmc-scroll-top {
        bottom: calc(62px + env(safe-area-inset-bottom, 0px));
    }
}