/* RxPharmacy Main Stylesheet -- loaded async, non-render-blocking */

/* =========================================================================
   Announcement Bar
   ========================================================================= */

.rxph-announcement {
    background: var(--rxph-primary);
    color: #fff;
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.rxph-announcement__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.rxph-announcement__text { margin: 0; }

.rxph-announcement__link {
    color: #fff;
    text-decoration: underline;
}

.rxph-announcement__close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0.8;
}

.rxph-announcement__close:hover { opacity: 1; }

/* =========================================================================
   Sections
   ========================================================================= */

.rxph-section {
    padding: 3rem 0;
}

@media (min-width: 600px) {
    .rxph-section { padding: 4rem 0; }
}

@media (min-width: 1024px) {
    .rxph-section { padding: 5rem 0; }
}

.rxph-section--alt { background: var(--rxph-bg-alt); }

.rxph-section__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.rxph-section__badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rxph-accent);
    margin-bottom: 0.5rem;
}

.rxph-section__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--rxph-text);
    margin: 0 0 0.75rem;
}

.rxph-section__desc {
    font-size: 1.0625rem;
    color: var(--rxph-text-light);
    max-width: 640px;
    margin: 0 auto;
}

.rxph-section__cta-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* =========================================================================
   Trust Badges Bar
   ========================================================================= */

.rxph-trust-bar {
    background: var(--rxph-bg-alt);
    border-top: 1px solid var(--rxph-border);
    border-bottom: 1px solid var(--rxph-border);
    padding: 1.25rem 0;
}

.rxph-trust-bar__inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2.5rem;
}

.rxph-trust-bar__badge {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rxph-text);
    text-decoration: none;
}

.rxph-trust-bar__badge:hover {
    text-decoration: none;
    color: var(--rxph-primary);
}

/* =========================================================================
   Service Highlight Cards
   ========================================================================= */

.rxph-highlights__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 600px) {
    .rxph-highlights__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-highlights__grid { grid-template-columns: repeat(4, 1fr); }
}

.rxph-highlight-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    text-decoration: none;
    color: var(--rxph-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rxph-highlight-card:hover {
    border-color: var(--rxph-primary);
    box-shadow: var(--rxph-shadow-lg);
    transform: translateY(-3px);
    text-decoration: none;
}

.rxph-highlight-card__badge {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: var(--rxph-accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rxph-highlight-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--rxph-radius-lg);
    background: var(--rxph-bg-alt);
    color: var(--rxph-primary);
    margin-bottom: 1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.rxph-highlight-card:hover .rxph-highlight-card__icon {
    background: var(--rxph-primary);
    color: #fff;
}

.rxph-highlight-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--rxph-text);
}

.rxph-highlight-card__desc {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    line-height: 1.6;
    margin: 0 0 1rem;
    flex: 1;
}

.rxph-highlight-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rxph-primary);
    margin-top: auto;
}

.rxph-highlight-card:hover .rxph-highlight-card__link {
    text-decoration: underline;
}

/* =========================================================================
   Services Grid
   ========================================================================= */

.rxph-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .rxph-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-services-grid { grid-template-columns: repeat(3, 1fr); }
}

.rxph-services-grid--compact {
    gap: 1rem;
}

@media (min-width: 1024px) {
    .rxph-services-grid--compact { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================================
   Service Card
   ========================================================================= */

.rxph-service-card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rxph-service-card:hover {
    box-shadow: var(--rxph-shadow-lg);
    transform: translateY(-2px);
}

.rxph-service-card__image {
    display: block;
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.rxph-service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rxph-service-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    background: var(--rxph-bg-alt);
    color: var(--rxph-primary);
    position: relative;
}

.rxph-service-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: #2563EB;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rxph-service-card__body { padding: 1.25rem; }

.rxph-service-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.rxph-service-card__title a {
    color: var(--rxph-text);
    text-decoration: none;
}

.rxph-service-card__title a:hover { color: var(--rxph-primary); }

.rxph-service-card__excerpt {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.rxph-service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rxph-service-card__price {
    font-weight: 700;
    color: var(--rxph-text);
}

.rxph-service-card__price--free { color: var(--rxph-accent); }

.rxph-service-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rxph-primary);
}

/* =========================================================================
   Split Layout (Weight Loss, About)
   ========================================================================= */

.rxph-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .rxph-split { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    .rxph-split--reverse .rxph-split__media { order: -1; }
}

.rxph-split__img {
    width: 100%;
    height: auto;
    border-radius: var(--rxph-radius-lg);
    object-fit: cover;
}

.rxph-split__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rxph-surface) 0%, #E2E8F0 100%);
    border: none;
    border-radius: var(--rxph-radius-lg);
    min-height: 16rem;
    color: var(--rxph-text-light);
    opacity: 0.6;
}

/* =========================================================================
   Check List
   ========================================================================= */

.rxph-check-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}

.rxph-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.375rem 0;
    font-size: 0.9375rem;
    color: var(--rxph-text);
}

.rxph-check-list .rxph-icon { color: var(--rxph-accent); margin-top: 2px; }

/* =========================================================================
   Blog Grid & Cards
   ========================================================================= */

.rxph-blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .rxph-blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.rxph-blog-card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.rxph-blog-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.rxph-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rxph-blog-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rxph-primary) 0%, #0063A3 100%);
    color: rgba(255, 255, 255, 0.4);
}

.rxph-blog-card__body { padding: 1.25rem; }

.rxph-blog-card__date {
    display: block;
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
    margin-bottom: 0.5rem;
}

.rxph-blog-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.rxph-blog-card__title a {
    color: var(--rxph-text);
    text-decoration: none;
}

.rxph-blog-card__title a:hover { color: var(--rxph-primary); }

.rxph-blog-card__excerpt {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.rxph-blog-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rxph-primary);
}

/* =========================================================================
   FAQ Accordion
   ========================================================================= */

.rxph-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.rxph-faq-item {
    border-bottom: 1px solid var(--rxph-border);
}

.rxph-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    font-size: 1rem;
    color: var(--rxph-text);
}

.rxph-faq-item summary::-webkit-details-marker { display: none; }

.rxph-faq-item__icon {
    flex-shrink: 0;
    color: var(--rxph-text-light);
    transition: transform 0.3s ease;
}

.rxph-faq-item[open] .rxph-faq-item__icon {
    transform: rotate(180deg);
}

.rxph-faq-item__answer {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--rxph-text-light);
    line-height: 1.6;
}

/* =========================================================================
   FAQ Page -- Toolbar, Tabs, Search, Categories
   ========================================================================= */

.rxph-faq-toolbar {
    margin-bottom: 2rem;
}

.rxph-faq-search {
    position: relative;
    margin-bottom: 1rem;
    max-width: 600px;
}

.rxph-faq-search .rxph-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rxph-text-light);
    pointer-events: none;
}

.rxph-faq-search__input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    font-size: 1rem;
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    background: var(--rxph-surface);
    color: var(--rxph-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rxph-faq-search__input:focus {
    outline: none;
    border-color: var(--rxph-primary);
    box-shadow: 0 0 0 3px rgba(0, 68, 112, 0.1);
}

.rxph-faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rxph-faq-tabs__tab {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--rxph-text);
    background: var(--rxph-surface);
    border: 1px solid var(--rxph-border);
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.2s;
}

.rxph-faq-tabs__tab:hover {
    border-color: var(--rxph-primary);
    color: var(--rxph-primary);
}

.rxph-faq-tabs__tab--active {
    background: var(--rxph-primary);
    color: #fff;
    border-color: var(--rxph-primary);
}

.rxph-faq-tabs__tab--active:hover {
    color: #fff;
}

.rxph-faq-tabs__count {
    font-size: 0.6875rem;
    opacity: 0.7;
}

.rxph-faq-category__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--rxph-primary);
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--rxph-primary);
}

.rxph-faq-category:first-child .rxph-faq-category__title {
    margin-top: 0;
}

.rxph-faq-accordion {
    max-width: 800px;
}

.rxph-faq-results {
    margin-bottom: 1rem;
}

.rxph-faq-results__text {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    margin: 0;
}

.rxph-faq-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--rxph-text-light);
}

.rxph-faq-empty .rxph-icon {
    color: var(--rxph-border);
    margin-bottom: 1rem;
}

.rxph-faq-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--rxph-bg-alt);
    border-radius: var(--rxph-radius-lg);
    text-align: center;
}

.rxph-faq-cta__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.rxph-faq-cta__desc {
    font-size: 0.9375rem;
    color: var(--rxph-text-light);
    margin: 0 0 1.25rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.rxph-faq-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.rxph-faq-item--highlight summary {
    background: rgba(0, 68, 112, 0.04);
}

/* =========================================================================
   Newsletter
   ========================================================================= */

.rxph-newsletter__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .rxph-newsletter__inner {
        flex-direction: row;
        text-align: left;
    }
    .rxph-newsletter__text { flex: 1; }
    .rxph-newsletter__form { flex: 1; }
}

/* =========================================================================
   Footer
   ========================================================================= */

.rxph-footer {
    background: var(--rxph-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 0;
}

.rxph-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.rxph-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.rxph-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 600px) {
    .rxph-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; }
}

.rxph-footer__heading {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
}

.rxph-footer__logo-img {
    max-height: 48px;
    width: auto;
}

.rxph-footer__logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.rxph-footer__desc {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0.75rem 0;
}

.rxph-footer__gphc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.75rem;
}

.rxph-footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rxph-footer__menu li { padding: 0.25rem 0; }

.rxph-footer__menu a { font-size: 0.9375rem; }

/* Opening Hours in Footer */
.rxph-footer__hour-row {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    font-size: 0.875rem;
}

.rxph-footer__hour-row--today {
    font-weight: 700;
    color: #fff;
}

/* Contact Items */
.rxph-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9375rem;
    margin: 0.5rem 0;
}

.rxph-footer__contact-item .rxph-icon {
    flex-shrink: 0;
    margin-top: 3px;
}

/* Social Icons */
.rxph-footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.rxph-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
}

.rxph-footer__social a:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Sub-footer */
.rxph-footer__sub {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2.5rem;
    padding: 1.5rem 0;
}

.rxph-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.rxph-footer__legal a { font-size: 0.8125rem; }

.rxph-footer__copyright {
    text-align: center;
    font-size: 0.8125rem;
}

.rxph-footer__copyright p { margin: 0.25rem 0; }
.rxph-footer__copyright span { white-space: nowrap; }

.rxph-footer__superintendent {
    font-size: 0.8125rem;
    opacity: 0.85;
    margin: 0.5rem 0 0;
    line-height: 1.4;
}

/* Emergency Signposting Banner -- between content and footer */
.rxph-footer__emergency-bar {
    background: #1E293B;
    padding: 0.875rem 0;
    margin: 0;
}

.rxph-footer__emergency-bar p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    text-align: center;
    flex-wrap: wrap;
}

.rxph-footer__emergency-bar .rxph-icon {
    color: #F87171;
    flex-shrink: 0;
}

.rxph-footer__emergency-bar strong {
    color: #fff;
}

.rxph-footer__emergency-bar a {
    color: #93C5FD;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rxph-footer__emergency-bar a:hover {
    color: #fff;
}

/* Areas We Serve -- subtle SEO line */
.rxph-footer__areas {
    margin: 1.5rem 0 0;
    padding: 0;
    text-align: center;
    font-size: 0.6875rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.8);
    border: none;
}

.rxph-footer__credit {
    text-align: center;
    padding: 1rem 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
}
.rxph-footer__credit a {
    color: rgba(255, 255, 255, 0.75);
}

/* =========================================================================
   Sticky CTA Bar (mobile)
   ========================================================================= */

.rxph-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--rxph-bg);
    border-top: 1px solid var(--rxph-border);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .rxph-cta-bar { display: none; }
}

.rxph-cta-bar__btn {
    flex: 1;
    text-align: center;
}

/* =========================================================================
   Service Single Page
   ========================================================================= */

.rxph-service-hero {
    background: linear-gradient(135deg, var(--rxph-primary) 0%, var(--rxph-primary-dark) 100%);
    color: #fff;
    padding: 3rem 0;
    background-size: cover;
    background-position: center;
}

.rxph-service-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .rxph-service-hero__inner { grid-template-columns: 1.2fr 0.8fr; }
}

.rxph-service-hero__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.rxph-service-hero__badge--nhs { background: #2563EB; }

.rxph-service-hero__title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
}

.rxph-service-hero__desc {
    font-size: 1.0625rem;
    opacity: 0.9;
    margin: 0 0 1.5rem;
}

.rxph-service-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.rxph-service-hero__price {
    font-size: 1.25rem;
    font-weight: 700;
}

.rxph-service-hero__image {
    border-radius: var(--rxph-radius-lg);
    overflow: hidden;
}

.rxph-service-hero__image img {
    width: 100%;
    height: auto;
}

/* =========================================================================
   Service Page -- Sidebar Layout
   ========================================================================= */

.rxph-service-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .rxph-service-layout {
        grid-template-columns: 1fr 300px;
        gap: 2.5rem;
    }
}

/* Main content column */
.rxph-service-content {
    min-width: 0;
}

.rxph-service-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--rxph-border);
}

.rxph-service-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rxph-service-section h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--rxph-text);
    margin: 0 0 1rem;
}

.rxph-service-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rxph-text);
    margin: 0 0 1rem;
}

.rxph-service-section p:last-child {
    margin-bottom: 0;
}

/* How It Works steps */
.rxph-service-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1rem;
}

@media (min-width: 600px) {
    .rxph-service-steps { grid-template-columns: repeat(3, 1fr); }
}

.rxph-service-step {
    position: relative;
    text-align: center;
    padding: 1.25rem 1rem;
    background: var(--rxph-bg-alt);
    border-radius: var(--rxph-radius-lg);
    border: 1px solid var(--rxph-border);
}

.rxph-service-step__number {
    position: absolute;
    top: -0.625rem;
    left: -0.625rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--rxph-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rxph-service-step__icon {
    color: var(--rxph-primary);
    margin-bottom: 0.625rem;
}

.rxph-service-step__title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.375rem;
    color: var(--rxph-text);
}

.rxph-service-step__text {
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
    margin: 0;
    line-height: 1.5;
}

/* Benefits list */
.rxph-service-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.625rem;
}

.rxph-service-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.rxph-service-benefits li .rxph-icon {
    color: var(--rxph-accent);
    flex-shrink: 0;
    margin-top: 0.1875rem;
}

/* Conditions grid */
.rxph-service-conditions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (min-width: 600px) {
    .rxph-service-conditions { grid-template-columns: 1fr 1fr; }
}

.rxph-service-condition {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem;
    background: var(--rxph-bg-alt);
    border-radius: var(--rxph-radius);
    border: 1px solid var(--rxph-border);
}

.rxph-service-condition .rxph-icon {
    color: var(--rxph-primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.rxph-service-condition strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--rxph-text);
}

.rxph-service-condition span {
    display: block;
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
    margin-top: 0.125rem;
}

/* Pricing cards */
.rxph-service-pricing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 600px) {
    .rxph-service-pricing { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

.rxph-service-price-card {
    background: var(--rxph-bg-alt);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.25rem;
    text-align: center;
    position: relative;
}

.rxph-service-price-card--featured {
    border-color: var(--rxph-accent);
    box-shadow: 0 0 0 1px var(--rxph-accent);
}

.rxph-service-price-card__badge {
    display: inline-block;
    background: var(--rxph-accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}

.rxph-service-price-card h3 {
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.rxph-service-price-card__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--rxph-text);
    margin-bottom: 0.25rem;
}

.rxph-service-price-card__note {
    display: block;
    font-size: 0.75rem;
    color: var(--rxph-text-light);
    margin-bottom: 0.75rem;
}

.rxph-service-price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    text-align: left;
}

.rxph-service-price-card li {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    padding: 0.25rem 0;
    color: var(--rxph-text);
}

.rxph-service-price-card li .rxph-icon {
    color: var(--rxph-accent);
    flex-shrink: 0;
}

/* Eligibility list */
.rxph-service-eligible {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    gap: 0.5rem;
}

.rxph-service-eligible li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.rxph-service-eligible li .rxph-icon {
    color: var(--rxph-primary);
    flex-shrink: 0;
    margin-top: 0.1875rem;
}

/* Sidebar */
.rxph-service-sidebar {
    min-width: 0;
}

.rxph-service-sidebar__card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.25rem;
    position: sticky;
    top: calc(var(--rxph-header-h) + 1rem);
    box-shadow: var(--rxph-shadow);
}

.rxph-service-sidebar__price {
    text-align: center;
    padding: 0.75rem 0;
}

.rxph-service-sidebar__price-amount {
    display: block;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--rxph-text);
}

.rxph-service-sidebar__price--free .rxph-service-sidebar__price-amount {
    color: var(--rxph-accent);
}

.rxph-service-sidebar__price-note {
    display: block;
    font-size: 0.75rem;
    color: var(--rxph-text-light);
    margin-top: 0.125rem;
}

.rxph-service-sidebar__divider {
    height: 1px;
    background: var(--rxph-border);
    margin: 0.75rem 0;
}

.rxph-service-sidebar__contact {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--rxph-text);
    text-decoration: none;
    padding: 0.375rem 0;
}

a.rxph-service-sidebar__contact:hover {
    color: var(--rxph-primary);
}

.rxph-service-sidebar__contact .rxph-icon {
    flex-shrink: 0;
    color: var(--rxph-text-light);
    margin-top: 0.0625rem;
}

.rxph-service-sidebar__hours {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--rxph-text);
    padding: 0.375rem 0;
}

.rxph-service-sidebar__hours .rxph-icon {
    flex-shrink: 0;
    color: var(--rxph-text-light);
    margin-top: 0.0625rem;
}

.rxph-service-sidebar__trust {
    display: grid;
    gap: 0.375rem;
}

.rxph-service-sidebar__trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
}

.rxph-service-sidebar__trust-item .rxph-icon {
    color: var(--rxph-accent);
}

/* FAQ Section (service pages) */
.rxph-service-faq {
    background: var(--rxph-bg-alt);
    padding: 3rem 0;
}

.rxph-service-faq h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    text-align: center;
}

.rxph-faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.rxph-faq-item {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius);
    margin-bottom: 0.625rem;
    overflow: hidden;
}

.rxph-faq-item__question {
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rxph-faq-item__question::-webkit-details-marker { display: none; }

.rxph-faq-item__question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--rxph-text-light);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.2s ease;
}

.rxph-faq-item[open] .rxph-faq-item__question::after {
    content: '\2212';
}

.rxph-faq-item__answer {
    padding: 0 1.25rem 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--rxph-text-light);
}

.rxph-faq-item__answer p {
    margin: 0 0 0.75rem;
}

.rxph-faq-item__answer p:last-child { margin: 0; }

/* Related services grid */
.rxph-service-related {
    padding: 3rem 0;
}

.rxph-service-related h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    text-align: center;
}

.rxph-service-related__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .rxph-service-related__grid { grid-template-columns: repeat(3, 1fr); }
}

.rxph-service-related__card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.5rem;
    text-decoration: none;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rxph-service-related__card:hover {
    border-color: var(--rxph-primary);
    box-shadow: var(--rxph-shadow-lg);
    text-decoration: none;
}

.rxph-service-related__icon {
    width: 48px;
    height: 48px;
    background: var(--rxph-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--rxph-primary);
}

.rxph-service-related__card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--rxph-text);
    margin: 0 0 0.375rem;
}

.rxph-service-related__card p {
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.rxph-service-related__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--rxph-primary);
}

/* Seasonal Service Notice Modal */
.rxph-seasonal-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.rxph-seasonal-modal--open {
    display: flex;
}

.rxph-seasonal-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

.rxph-seasonal-modal__box {
    position: relative;
    background: #fff;
    border-radius: 0.75rem;
    max-width: 520px;
    width: 100%;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: rxph-modal-in 0.3s ease;
}

@keyframes rxph-modal-in {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.rxph-seasonal-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #6B7280;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.rxph-seasonal-modal__close:hover {
    color: #111;
    background: #F3F4F6;
}

.rxph-seasonal-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #FFF7ED;
    color: #C2410C;
    margin-bottom: 1rem;
}

.rxph-seasonal-modal__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #9A3412;
    margin: 0 0 0.75rem;
}

.rxph-seasonal-modal__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #4B5563;
    margin: 0 0 1.5rem;
}

.rxph-seasonal-modal__btn {
    min-width: 160px;
}

/* Emergency signpost */
.rxph-emergency-signpost {
    background: #FEF2F2;
    border-top: 1px solid #FECACA;
    padding: 0.75rem 0;
}

.rxph-emergency-signpost p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #991B1B;
}

.rxph-emergency-signpost .rxph-icon {
    flex-shrink: 0;
}

/* Service image */
.rxph-service-image {
    margin: 2rem 0;
    border-radius: var(--rxph-radius-lg);
    overflow: hidden;
}

.rxph-service-image__img {
    width: 100%;
    height: auto;
    display: block;
}

/* Image placeholder (admin only - for generating images) */
.rxph-service-image-placeholder__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem 2rem;
    border-radius: var(--rxph-radius-lg);
    text-align: center;
    font-weight: 600;
    font-size: 0.9375rem;
}

.rxph-service-image-placeholder__visual--nhs {
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    color: #1E40AF;
}

.rxph-service-image-placeholder__visual--private {
    background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
    color: #3A9438;
}

.rxph-service-image-placeholder__visual--vaccine {
    background: linear-gradient(135deg, #F5F3FF, #EDE9FE);
    color: #5B21B6;
}

.rxph-service-image-placeholder__prompt {
    margin-top: 0.75rem;
    text-align: center;
}

/* Prose (content area -- generic pages) */
.rxph-prose {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rxph-text);
}

.rxph-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}

.rxph-prose h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
}

.rxph-prose p { margin: 0 0 1rem; }

.rxph-prose ul, .rxph-prose ol {
    padding-left: 1.5rem;
    margin: 0 0 1rem;
}

.rxph-prose li { margin-bottom: 0.25rem; }

.rxph-prose img {
    border-radius: var(--rxph-radius);
    margin: 1rem 0;
}

/* =========================================================================
   Service Archive
   ========================================================================= */

.rxph-services-archive {
    padding: 2rem 0 4rem;
}

.rxph-services-archive__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

/* =========================================================================
   Booking Embed
   ========================================================================= */

.rxph-booking-embed {
    padding: 3rem 0;
}

.rxph-booking-embed__frame,
.rxph-booking-embed__iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: var(--rxph-radius-lg);
}

/* =========================================================================
   Breadcrumb
   ========================================================================= */

.rxph-breadcrumb {
    padding: 0.75rem 0;
    font-size: 0.8125rem;
}

.rxph-breadcrumb__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.rxph-breadcrumb__item { display: flex; align-items: center; gap: 0.25rem; }

.rxph-breadcrumb__separator {
    color: var(--rxph-text-light);
    margin: 0 0.25rem;
}

.rxph-breadcrumb__item:last-child a,
.rxph-breadcrumb__item:last-child span {
    color: var(--rxph-text-light);
}

/* =========================================================================
   404
   ========================================================================= */

.rxph-404 {
    padding: 4rem 0;
    text-align: center;
}

.rxph-404__code {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    color: var(--rxph-border);
    line-height: 1;
}

.rxph-404__title {
    font-size: 2rem;
    margin: 1rem 0 0.75rem;
}

.rxph-404__desc {
    max-width: 500px;
    margin: 0 auto 2rem;
    color: var(--rxph-text-light);
}

.rxph-404__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.rxph-404__search {
    max-width: 480px;
    margin: 0 auto 3rem;
}

.rxph-404__search h2 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

/* Search Form */
.rxph-search-form {
    display: flex;
    gap: 0;
}

.rxph-search-form__input {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 2px solid var(--rxph-border);
    border-right: none;
    border-radius: var(--rxph-radius) 0 0 var(--rxph-radius);
    font-size: 1rem;
    font-family: var(--rxph-font);
    outline: none;
}

.rxph-search-form__input:focus {
    border-color: var(--rxph-primary);
}

.rxph-search-form__submit {
    border-radius: 0 var(--rxph-radius) var(--rxph-radius) 0;
}

/* =========================================================================
   Page Template
   ========================================================================= */

.rxph-page { padding: 0 0 4rem; }

.rxph-page__header { margin-bottom: 2rem; }

.rxph-page__header--hero {
    position: relative;
}

.rxph-page__header-reviews {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

@media (max-width: 599px) {
    .rxph-page__header-reviews {
        position: static;
        margin-top: 1rem;
    }
}

.rxph-page__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin: 0;
}

/* =========================================================================
   Single Post Hero Banner
   ========================================================================= */

.rxph-single-hero {
    background: linear-gradient(135deg, var(--rxph-primary) 0%, #004573 50%, #00355A 100%);
    color: #fff;
    padding: 2rem 0 2.5rem;
    position: relative;
}

.rxph-single-hero .rxph-breadcrumb,
.rxph-single-hero .rxph-breadcrumb a,
.rxph-single-hero .rxph-breadcrumb__sep {
    color: rgba(255, 255, 255, 0.7);
}

.rxph-single-hero .rxph-breadcrumb a:hover {
    color: #fff;
}

.rxph-single-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.rxph-single-hero__cat {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.15);
    color: #93C5FD;
    border: 1px solid rgba(147, 197, 253, 0.3);
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s;
}

.rxph-single-hero__cat:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.rxph-single-hero__date {
    opacity: 0.85;
}

.rxph-single-hero__reading-time {
    opacity: 0.85;
}

.rxph-single-hero__reading-time::before {
    content: "\00B7";
    margin-right: 0.5rem;
}

.rxph-single-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    max-width: 750px;
}

.rxph-single-hero__excerpt {
    font-size: 1.0625rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 1.25rem;
    max-width: 600px;
}

.rxph-single-hero__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rxph-single-hero__author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.rxph-single-hero__author-info {
    display: flex;
    flex-direction: column;
}

.rxph-single-hero__author-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.rxph-single-hero__author-role {
    font-size: 0.8125rem;
    opacity: 0.75;
}

.rxph-single-hero__trust {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

@media (min-width: 768px) {
    .rxph-single-hero {
        padding: 3rem 0 3.5rem;
    }

    .rxph-single-hero__trust {
        top: 1.5rem;
        right: 2rem;
    }
}

/* =========================================================================
   Single Post
   ========================================================================= */

.rxph-single { padding: 2rem 0 4rem; }

.rxph-single__article {
    max-width: 48rem;
    margin: 0 auto;
}

.rxph-single__featured {
    margin-bottom: 2rem;
    border-radius: var(--rxph-radius-lg);
    overflow: hidden;
}

.rxph-single__featured img {
    display: block;
    width: 100%;
    height: auto;
}

.rxph-single__content {
    margin-bottom: 2.5rem;
}

.rxph-single__footer {
    border-top: 1px solid var(--rxph-border);
    padding-top: 1.5rem;
}

.rxph-single__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.rxph-single__tags strong {
    color: var(--rxph-text);
}

.rxph-single__share {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--rxph-border);
}

.rxph-single__share strong {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    color: var(--rxph-text);
}

.rxph-single__share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rxph-single__share-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--rxph-text);
    background: var(--rxph-surface);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.rxph-single__share-link:hover {
    border-color: var(--rxph-primary);
    background: var(--rxph-bg);
}

.rxph-single__author {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--rxph-surface);
    border-radius: var(--rxph-radius-lg);
    margin-bottom: 1.5rem;
}

.rxph-single__author-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.rxph-single__author-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--rxph-text-light);
    margin-bottom: 0.125rem;
}

.rxph-single__author-name {
    font-size: 1rem;
}

.rxph-single__author-bio {
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
    margin: 0.375rem 0 0;
    line-height: 1.5;
}

.rxph-single__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rxph-border);
}

@media (max-width: 599px) {
    .rxph-single__nav { grid-template-columns: 1fr; }
}

.rxph-single__nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--rxph-primary);
    text-decoration: none;
    padding: 1rem;
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius);
    transition: border-color 0.2s;
}

.rxph-single__nav-link:hover {
    border-color: var(--rxph-primary);
}

.rxph-single__nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--rxph-text-light);
    font-weight: 600;
}

.rxph-single__nav-title {
    font-weight: 500;
    line-height: 1.3;
}

.rxph-single__nav-link--next {
    text-align: right;
}

.rxph-related-posts {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--rxph-border);
}

.rxph-related-posts__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
}

/* =========================================================================
   Tags (reusable pill component)
   ========================================================================= */

.rxph-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: var(--rxph-surface);
    border: 1px solid var(--rxph-border);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--rxph-text);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.rxph-tag:hover {
    border-color: var(--rxph-primary);
    color: var(--rxph-primary);
}

/* =========================================================================
   Blog Archive
   ========================================================================= */

/* =========================================================================
   Blog Index (home.php)
   ========================================================================= */

.rxph-blog-index { padding: 0 0 4rem; }

/* Blog Hero Banner */
.rxph-blog-hero {
    position: relative;
    background: linear-gradient(135deg, var(--rxph-primary) 0%, #004573 50%, #00355A 100%);
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    text-align: center;
    color: #fff;
}

.rxph-blog-hero .rxph-breadcrumb,
.rxph-blog-hero .rxph-breadcrumb a,
.rxph-blog-hero .rxph-breadcrumb__sep {
    color: rgba(255, 255, 255, 0.7);
}

.rxph-blog-hero .rxph-breadcrumb a:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .rxph-blog-hero { padding: 3.5rem 0; }
}

.rxph-blog-hero__trust {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.rxph-blog-hero__title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: #fff;
}

.rxph-blog-hero__subtitle {
    font-size: 1.0625rem;
    margin: 0;
    max-width: 32rem;
    margin-inline: auto;
    opacity: 0.9;
}

/* =========================================================================
   Reusable Google Reviews Badge (Jabeenz-style glass pill)
   ========================================================================= */

.rxph-reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s, border-color 0.2s;
}

.rxph-reviews-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    color: #fff;
}

.rxph-reviews-badge__g { flex-shrink: 0; }

.rxph-reviews-badge__score {
    font-weight: 700;
    color: #fff;
}

.rxph-reviews-badge__stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.rxph-reviews-badge__star { flex-shrink: 0; }

.rxph-reviews-badge__count {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Hero slider trust badge positioning */
.rxph-hero-slider__trust {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
}

.rxph-blog-index__section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rxph-border);
}

.rxph-blog-index__empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--rxph-text-light);
    font-size: 1.0625rem;
}

.rxph-featured-post {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .rxph-featured-post { grid-template-columns: 1fr 1fr; }
}

.rxph-featured-post__image {
    display: block;
    overflow: hidden;
    min-height: 16rem;
}

.rxph-featured-post__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rxph-featured-post:hover .rxph-featured-post__image img {
    transform: scale(1.03);
}

.rxph-featured-post__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rxph-surface);
    color: var(--rxph-text-light);
}

.rxph-featured-post__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .rxph-featured-post__body { padding: 2rem; }
}

.rxph-featured-post__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.rxph-featured-post__title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    line-height: 1.25;
}

.rxph-featured-post__title a {
    color: var(--rxph-text);
    text-decoration: none;
}

.rxph-featured-post__title a:hover {
    color: var(--rxph-primary);
}

.rxph-featured-post__excerpt {
    font-size: 0.9375rem;
    color: var(--rxph-text-light);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.rxph-featured-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
    margin-bottom: 1.25rem;
}

.rxph-featured-post__reading-time::before {
    content: "\00B7";
    margin-right: 0.5rem;
}

.rxph-featured-post .rxph-btn { align-self: flex-start; }

/* =========================================================================
   Blog Archive
   ========================================================================= */

.rxph-archive { padding: 0 0 4rem; }

.rxph-archive__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.rxph-archive__title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.rxph-archive__desc {
    font-size: 1.0625rem;
    color: var(--rxph-text-light);
    margin: 0;
    max-width: 36rem;
    margin-inline: auto;
}

.rxph-archive__empty {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1.0625rem;
    color: var(--rxph-text-light);
}

.rxph-archive__empty .rxph-btn {
    margin-top: 1rem;
}

/* =========================================================================
   Search Results
   ========================================================================= */

.rxph-search-results { padding: 0 0 4rem; }

.rxph-search-results__title {
    font-size: 1.5rem;
    margin: 0 0 2rem;
}

.rxph-search-result {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--rxph-border);
}

.rxph-search-result__title {
    font-size: 1.125rem;
    margin: 0 0 0.375rem;
}

.rxph-search-result__title a {
    color: var(--rxph-text);
}

.rxph-search-result__title a:hover { color: var(--rxph-primary); }

.rxph-search-result__excerpt {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    margin: 0;
}

/* =========================================================================
   Pagination
   ========================================================================= */

.rxph-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.rxph-pagination a,
.rxph-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius);
    font-weight: 500;
    color: var(--rxph-text);
    text-decoration: none;
}

.rxph-pagination a:hover {
    border-color: var(--rxph-primary);
    color: var(--rxph-primary);
}

.rxph-pagination .current {
    background: var(--rxph-primary);
    border-color: var(--rxph-primary);
    color: #fff;
}

/* =========================================================================
   Emergency Notice (contact page, etc.)
   ========================================================================= */

.rxph-emergency-notice {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--rxph-radius);
    padding: 1rem 1.25rem;
    margin-top: 2rem;
}

.rxph-emergency-notice p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.9375rem;
    color: var(--rxph-text);
}

.rxph-emergency-notice a {
    color: var(--rxph-primary);
    text-decoration: underline;
    font-weight: 600;
}

.rxph-emergency-notice a:hover {
    color: var(--rxph-primary-dark);
}

/* Map Embed */
.rxph-contact-map {
    margin-top: 2.5rem;
}

.rxph-contact-map h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.rxph-contact-map__embed {
    border-radius: var(--rxph-radius-lg);
    overflow: hidden;
    border: 1px solid var(--rxph-border);
}

.rxph-contact-map__embed iframe {
    display: block;
}

.rxph-contact-map__directions {
    margin-top: 1rem;
    text-align: center;
}

/* =========================================================================
   Service Page Hero (custom-layout pages inside .rxph-page-service)
   ========================================================================= */

.rxph-page-service .rxph-service-hero {
    margin-bottom: 2rem;
    background-size: cover;
    background-position: center;
}

.rxph-service-hero__content {
    max-width: 720px;
    padding: 2.5rem 2rem;
}

.rxph-service-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.rxph-service-hero__badge--nhs {
    background: #005EB8;
    color: #fff;
}

.rxph-service-hero__badge--private {
    background: var(--rxph-accent);
    color: #fff;
}

.rxph-service-hero__badge--available {
    background: #DCFCE7;
    color: #166534;
}

.rxph-service-hero__badge--coming {
    background: #FEF3C7;
    color: #92400E;
}

.rxph-service-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin: 0 0 0.75rem;
    color: #fff;
}

.rxph-service-hero__subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem;
}

.rxph-service-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.rxph-service-hero__ctas .rxph-btn--outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.rxph-service-hero__ctas .rxph-btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

.rxph-service-hero__note {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #86EFAC;
    font-weight: 500;
}

/* =========================================================================
   How It Works Steps
   ========================================================================= */

.rxph-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    counter-reset: step;
}

@media (min-width: 600px) {
    .rxph-steps { grid-template-columns: repeat(3, 1fr); }
}

.rxph-steps__item {
    text-align: center;
    position: relative;
}

.rxph-steps__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rxph-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.rxph-steps__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--rxph-radius-lg);
    background: var(--rxph-bg-alt);
    color: var(--rxph-primary);
    margin: 0 auto 1rem;
}

.rxph-steps__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.rxph-steps__desc {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    line-height: 1.6;
    margin: 0;
}

/* =========================================================================
   Condition Cards (Pharmacy First)
   ========================================================================= */

.rxph-condition-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .rxph-condition-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-condition-grid { grid-template-columns: repeat(3, 1fr); }
}

.rxph-condition-card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rxph-condition-card:hover {
    border-color: var(--rxph-primary);
    box-shadow: var(--rxph-shadow);
}

.rxph-condition-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--rxph-radius);
    background: #EFF6FF;
    color: #005EB8;
    margin-bottom: 1rem;
}

.rxph-condition-card__name {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.rxph-condition-card__ages {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #005EB8;
    background: #EFF6FF;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}

.rxph-condition-card__desc {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    line-height: 1.5;
    margin: 0 0 1rem;
}

.rxph-condition-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rxph-primary);
    text-decoration: none;
}

.rxph-condition-card__cta:hover {
    text-decoration: underline;
}

/* Compact condition grid (homepage 7-column layout) */
.rxph-condition-grid--compact {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 600px) {
    .rxph-condition-grid--compact { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-condition-grid--compact { grid-template-columns: repeat(7, 1fr); }
}

.rxph-condition-grid--compact .rxph-condition-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    text-decoration: none;
    color: var(--rxph-text);
}

.rxph-condition-grid--compact .rxph-condition-card__icon {
    border-radius: 50%;
    background: var(--rxph-bg-alt);
    color: var(--rxph-primary);
}

.rxph-condition-grid--compact .rxph-condition-card__name {
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

/* =========================================================================
   Pricing Cards
   ========================================================================= */

.rxph-pricing__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .rxph-pricing__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
    .rxph-pricing__grid--cols-3,
    .rxph-pricing__grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-pricing__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
    .rxph-pricing__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.rxph-pricing__card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.rxph-pricing__card--highlight {
    border-color: var(--rxph-primary);
    box-shadow: 0 0 0 1px var(--rxph-primary);
}

.rxph-pricing__badge {
    position: absolute;
    top: -0.625rem;
    left: 1.25rem;
    background: var(--rxph-primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rxph-pricing__name {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.rxph-pricing__desc {
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
    margin: 0 0 1rem;
}

.rxph-pricing__price {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.rxph-pricing__amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--rxph-text);
}

.rxph-pricing__label {
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
}

.rxph-pricing__features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    flex: 1;
}

.rxph-pricing__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.375rem 0;
    color: var(--rxph-text);
}

.rxph-pricing__features li .rxph-icon {
    color: var(--rxph-accent);
    margin-top: 0.125rem;
}

/* =========================================================================
   Eligibility Section
   ========================================================================= */

.rxph-eligibility {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 600px) {
    .rxph-eligibility { grid-template-columns: repeat(2, 1fr); }
}

.rxph-eligibility__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.rxph-eligibility__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rxph-eligibility__list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.75rem;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--rxph-border);
}

.rxph-eligibility__list li::before {
    position: absolute;
    left: 0;
    top: 0.625rem;
    font-size: 1rem;
}

.rxph-eligibility__list--yes li::before {
    content: "\2713";
    color: var(--rxph-accent);
    font-weight: 700;
}

.rxph-eligibility__list--no li::before {
    content: "\2717";
    color: #DC2626;
    font-weight: 700;
}

.rxph-eligibility__note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    background: var(--rxph-bg-alt);
    border-radius: var(--rxph-radius);
    padding: 1rem;
    margin-top: 1.5rem;
}

/* =========================================================================
   Vaccine Pricing Table (Travel)
   ========================================================================= */

.rxph-vaccine-table {
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    overflow: hidden;
}

.rxph-vaccine-table__header {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr auto;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: var(--rxph-bg-alt);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--rxph-text-light);
}

.rxph-vaccine-table__row {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr auto;
    gap: 1rem;
    padding: 1rem 1.25rem;
    align-items: center;
    border-top: 1px solid var(--rxph-border);
    font-size: 0.875rem;
}

.rxph-vaccine-table__row:hover {
    background: var(--rxph-bg-alt);
}

.rxph-vaccine-table__price {
    font-weight: 700;
    color: var(--rxph-text);
    font-size: 1rem;
}

.rxph-vaccine-table__doses,
.rxph-vaccine-table__regions {
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
}

@media (max-width: 767px) {
    .rxph-vaccine-table__header {
        grid-template-columns: 1fr auto;
    }

    .rxph-vaccine-table__row {
        grid-template-columns: 1fr auto;
    }

    .rxph-vaccine-table__hide-mobile {
        display: none;
    }
}

/* Antimalarial Cards */
.rxph-antimalarial-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .rxph-antimalarial-cards { grid-template-columns: repeat(2, 1fr); }
}

.rxph-antimalarial-card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.5rem;
    text-align: center;
}

.rxph-antimalarial-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.rxph-antimalarial-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

/* =========================================================================
   Hajj & Umrah Vaccine Package
   ========================================================================= */

.rxph-hajj-package__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .rxph-hajj-package__grid { grid-template-columns: 1fr 1fr; }
}

.rxph-hajj-package__card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.75rem;
}

.rxph-hajj-package__card--mandatory {
    border-color: var(--rxph-primary);
    border-width: 2px;
    background: linear-gradient(180deg, rgba(0,80,130,0.04) 0%, var(--rxph-bg) 100%);
}

.rxph-hajj-package__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rxph-text-muted);
    margin-bottom: 0.5rem;
}

.rxph-hajj-package__label--mandatory {
    color: var(--rxph-primary);
}

.rxph-hajj-package__vaccine-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--rxph-heading);
}

.rxph-hajj-package__card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--rxph-text);
    margin: 0 0 1rem;
}

.rxph-hajj-package__price {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
}

.rxph-hajj-package__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rxph-hajj-package__list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--rxph-text);
}

.rxph-hajj-package__list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--rxph-success, #16a34a);
    font-weight: 700;
}

.rxph-hajj-package__cta {
    text-align: center;
    margin-top: 2rem;
}

.rxph-hajj-package__note {
    font-size: 0.875rem;
    color: var(--rxph-text-muted);
    margin-top: 0.75rem;
}

/* =========================================================================
   Flu NHS / Private Split
   ========================================================================= */

.rxph-flu-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .rxph-flu-split { grid-template-columns: repeat(2, 1fr); }
}

.rxph-flu-split__col {
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.rxph-flu-split__col--nhs {
    border-color: #005EB8;
    border-width: 2px;
}

.rxph-flu-split__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.rxph-flu-split__badge--nhs { color: #005EB8; }
.rxph-flu-split__badge--private { color: var(--rxph-accent); }

.rxph-flu-split__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.rxph-flu-split__price {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.rxph-flu-split__features {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    flex: 1;
}

.rxph-flu-split__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    padding: 0.375rem 0;
}

.rxph-flu-split__features .rxph-icon {
    color: var(--rxph-accent);
}

/* =========================================================================
   Related Services
   ========================================================================= */

.rxph-related-services .rxph-section__header {
    margin-bottom: 1.5rem;
}

/* =========================================================================
   About Page
   ========================================================================= */

.rxph-page-about .rxph-about-section {
    margin-bottom: 3rem;
}

.rxph-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .rxph-split { grid-template-columns: 1fr 1fr; }
}

.rxph-split__content p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--rxph-text-light);
    margin: 0 0 1rem;
}

.rxph-split__content p:last-child { margin-bottom: 0; }

.rxph-page-about .rxph-split__image-placeholder {
    min-height: 16rem;
}

.rxph-about-section.rxph-section--alt .rxph-section__badge,
.rxph-about-section.rxph-section--alt .rxph-section__title {
    text-align: center;
}

.rxph-about-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 600px) {
    .rxph-about-services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .rxph-about-services-grid { grid-template-columns: repeat(4, 1fr); }
}

.rxph-about-service {
    display: block;
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--rxph-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rxph-about-service:hover {
    border-color: var(--rxph-primary);
    box-shadow: var(--rxph-shadow);
    text-decoration: none;
}

.rxph-about-service .rxph-icon {
    color: var(--rxph-primary);
    margin-bottom: 0.75rem;
}

.rxph-about-service h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.rxph-about-service p {
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
    line-height: 1.6;
    margin: 0;
}

.rxph-trust-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 600px) {
    .rxph-trust-points { grid-template-columns: repeat(2, 1fr); }
}

.rxph-trust-point {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem;
    background: var(--rxph-surface);
    border-radius: var(--rxph-radius);
}

.rxph-trust-point .rxph-icon {
    color: var(--rxph-accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.rxph-trust-point strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.rxph-trust-point p {
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
    margin: 0;
    line-height: 1.5;
}

.rxph-trust-point a {
    color: var(--rxph-primary);
    font-weight: 500;
}

.rxph-text-light {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
}

/* =========================================================================
   Google Reviews Widget
   ========================================================================= */

.rxph-reviews {
    padding: 3rem 0;
    text-align: center;
}

.rxph-reviews__inner {
    max-width: 28rem;
    margin: 0 auto;
    padding: 2rem;
    background: var(--rxph-surface);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
}

.rxph-reviews__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rxph-reviews__source {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rxph-text-light);
}

.rxph-reviews__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.rxph-reviews__score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--rxph-text);
    line-height: 1;
}

.rxph-reviews__stars {
    display: flex;
    gap: 0.125rem;
    color: #FBBF24;
}

.rxph-reviews__summary {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    margin: 0 0 1.25rem;
}

.rxph-reviews__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rxph-reviews__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--rxph-primary);
    text-decoration: none;
}

.rxph-reviews__link:hover { text-decoration: underline; }

/* =========================================================================
   Search Overlay
   ========================================================================= */

.rxph-header__search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius);
    cursor: pointer;
    color: var(--rxph-text);
    transition: border-color 0.2s, color 0.2s;
}

.rxph-header__search-btn:hover {
    border-color: var(--rxph-primary);
    color: var(--rxph-primary);
}

.rxph-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: calc(var(--rxph-header-h) + 0.5rem);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.rxph-search-overlay[hidden] {
    display: none !important;
}

.rxph-search-overlay--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Floating search panel */
.rxph-search-panel {
    width: 94%;
    max-width: 640px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: transform 0.25s ease;
}

.rxph-search-overlay--visible .rxph-search-panel {
    transform: translateY(0) scale(1);
}

/* Search panel header */
.rxph-search-panel__header {
    padding: 0;
    border-bottom: 1px solid var(--rxph-border);
}

.rxph-search-panel__field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
}

.rxph-search-panel__field .rxph-icon {
    color: var(--rxph-text-light);
    flex-shrink: 0;
}

.rxph-search-panel__input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    color: var(--rxph-text);
    background: transparent;
}

.rxph-search-panel__input::placeholder {
    color: var(--rxph-text-light);
}

.rxph-search-panel__close {
    background: none;
    border: none;
    color: var(--rxph-text-light);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--rxph-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, background 0.15s ease;
}

.rxph-search-panel__close:hover {
    color: var(--rxph-text);
    background: var(--rxph-surface);
}

/* Search panel body -- service groups */
.rxph-search-panel__body {
    padding: 1rem 1.25rem;
    max-height: 60vh;
    overflow-y: auto;
}

.rxph-search-panel__group {
    margin-bottom: 1.25rem;
}

.rxph-search-panel__group:last-child { margin-bottom: 0; }

.rxph-search-panel__group-title {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--rxph-text-light);
    margin: 0 0 0.625rem;
}

.rxph-search-panel__group-title .rxph-icon {
    color: var(--rxph-accent);
}

/* Service chips */
.rxph-search-panel__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.rxph-search-panel__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--rxph-text);
    background: var(--rxph-surface);
    border: 1px solid var(--rxph-border);
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.rxph-search-panel__chip:hover {
    background: var(--rxph-primary);
    border-color: var(--rxph-primary);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 68, 112, 0.2);
}

.rxph-search-panel__chip--bookable {
    background: #ECFDF5;
    border-color: #A7F3D0;
    color: #3A9438;
}

.rxph-search-panel__chip--bookable:hover {
    background: var(--rxph-accent);
    border-color: var(--rxph-accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(76, 184, 72, 0.25);
}

.rxph-search-panel__chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rxph-accent);
    flex-shrink: 0;
}

.rxph-search-panel__chip--bookable:hover .rxph-search-panel__chip-dot {
    background: #fff;
}

.rxph-search-panel__chip--hidden { display: none; }

.rxph-search-panel__group--hidden { display: none; }

/* Search panel footer */
.rxph-search-panel__footer {
    padding: 0.625rem 1.25rem;
    border-top: 1px solid var(--rxph-border);
    background: var(--rxph-bg-alt);
}

.rxph-search-panel__hint {
    font-size: 0.6875rem;
    color: var(--rxph-text-light);
    text-align: center;
    display: block;
}

body.rxph-search-open { overflow: hidden; }

/* =========================================================================
   Widget Areas
   ========================================================================= */

.rxph-widget {
    margin-bottom: 2rem;
}

.rxph-widget__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--rxph-primary);
}

.rxph-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rxph-widget li {
    padding: 0.375rem 0;
    border-bottom: 1px solid var(--rxph-border);
}

.rxph-widget li:last-child { border-bottom: none; }

.rxph-widget a {
    color: var(--rxph-text);
    text-decoration: none;
    font-size: 0.875rem;
}

.rxph-widget a:hover {
    color: var(--rxph-primary);
}

/* =========================================================================
   Dropdown / Sub-menus
   ========================================================================= */

.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 0.125rem;
    transition: transform 0.2s ease;
}

.menu-item-has-children.rxph-dropdown--open > a::after {
    transform: rotate(180deg);
}

.rxph-nav .sub-menu,
#rxph-primary-nav .sub-menu {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

@media (min-width: 1024px) {
    .rxph-nav .sub-menu,
    #rxph-primary-nav .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: #fff;
        border: 1px solid var(--rxph-border);
        border-radius: var(--rxph-radius);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
        padding: 0.5rem 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
        transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
        z-index: 100;
    }

    .menu-item-has-children:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .rxph-nav .sub-menu a,
    #rxph-primary-nav .sub-menu a {
        display: block;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        white-space: nowrap;
        color: var(--rxph-text);
        text-decoration: none;
    }

    .rxph-nav .sub-menu a:hover,
    #rxph-primary-nav .sub-menu a:hover {
        background: var(--rxph-bg-alt);
        color: var(--rxph-primary);
    }
}

@media (max-width: 1023px) {
    .rxph-nav .sub-menu,
    #rxph-primary-nav .sub-menu {
        display: none;
        padding-left: 1rem;
    }

    .menu-item-has-children.rxph-dropdown--open > .sub-menu {
        display: block;
    }

    .rxph-nav .sub-menu a,
    #rxph-primary-nav .sub-menu a {
        padding: 0.5rem 0;
        font-size: 0.9375rem;
        border-bottom: 1px solid var(--rxph-border);
    }
}

/* =========================================================================
   Contact Page Grid
   ========================================================================= */

.rxph-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .rxph-contact-grid { grid-template-columns: 1.5fr 1fr; }
}

.rxph-contact-card {
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.5rem;
}

.rxph-contact-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rxph-contact-card__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--rxph-border);
    font-size: 0.9375rem;
}

.rxph-contact-card__item:last-child { border-bottom: none; }

.rxph-contact-card__item .rxph-icon {
    flex-shrink: 0;
    color: var(--rxph-primary);
    margin-top: 2px;
}

.rxph-contact-card__item a {
    color: var(--rxph-text);
    font-weight: 500;
}

.rxph-contact-card__item a:hover { color: var(--rxph-primary); }

/* Contact page opening hours override (light background) */
.rxph-contact-card .rxph-footer__hour-row {
    color: var(--rxph-text);
}

.rxph-contact-card .rxph-footer__hour-row--today {
    color: var(--rxph-primary);
    background: var(--rxph-bg-alt);
    border-radius: var(--rxph-radius);
    padding: 0.25rem 0.5rem;
    margin: 0 -0.5rem;
}

/* =========================================================================
   Hero Slider (see critical.css for above-the-fold styles)
   ========================================================================= */

/* =========================================================================
   Oversite Service Cards (cs-* classes from QWeb Suite plugin)
   ========================================================================= */

.cs-card {
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.cs-card a,
.cs-card button,
.cs-book-btn {
    position: relative;
    z-index: 2;
    cursor: pointer;
    pointer-events: auto;
}

/* =========================================================================
   Blog Toolbar (search + category filters)
   ========================================================================= */

.rxph-blog-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rxph-blog-search {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--rxph-surface);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 0.625rem 1rem;
    transition: border-color 0.2s;
}

.rxph-blog-search:focus-within {
    border-color: var(--rxph-primary);
}

.rxph-blog-search .rxph-icon {
    color: var(--rxph-text-light);
    flex-shrink: 0;
}

.rxph-blog-search__input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    color: var(--rxph-text);
    outline: none;
    font-family: inherit;
}

.rxph-blog-search__input::placeholder {
    color: var(--rxph-text-light);
}

.rxph-blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}

.rxph-blog-filters::-webkit-scrollbar { display: none; }

.rxph-blog-filters__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 1rem;
    background: var(--rxph-surface);
    border: 1px solid var(--rxph-border);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--rxph-text);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.rxph-blog-filters__pill:hover {
    border-color: var(--rxph-primary);
    color: var(--rxph-primary);
}

.rxph-blog-filters__pill--active {
    background: var(--rxph-primary);
    border-color: var(--rxph-primary);
    color: #fff;
}

.rxph-blog-filters__pill--active:hover {
    background: var(--rxph-primary-dark);
    border-color: var(--rxph-primary-dark);
    color: #fff;
}

/* =========================================================================
   Blog Card Enhancements (read time, hover lift)
   ========================================================================= */

.rxph-blog-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rxph-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.rxph-blog-card__image img {
    transition: transform 0.3s ease;
}

.rxph-blog-card:hover .rxph-blog-card__image img {
    transform: scale(1.03);
}

.rxph-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.rxph-blog-card__reading-time {
    font-size: 0.8125rem;
    color: var(--rxph-text-light);
}

.rxph-blog-card__reading-time::before {
    content: "\00B7";
    margin-right: 0.5rem;
}

/* =========================================================================
   Table of Contents (single post)
   ========================================================================= */

.rxph-toc {
    background: var(--rxph-surface);
    border: 1px solid var(--rxph-border);
    border-radius: var(--rxph-radius-lg);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.rxph-toc__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--rxph-text);
}

.rxph-toc__list {
    margin: 0;
    padding-left: 1.25rem;
    list-style: decimal;
}

.rxph-toc__sublist {
    margin: 0.25rem 0 0;
    padding-left: 1.25rem;
    list-style: lower-alpha;
}

.rxph-toc__item {
    margin-bottom: 0.375rem;
}

.rxph-toc__item--sub {
    margin-bottom: 0.25rem;
}

.rxph-toc__link {
    font-size: 0.875rem;
    color: var(--rxph-primary);
    text-decoration: none;
    line-height: 1.5;
}

.rxph-toc__link:hover {
    text-decoration: underline;
}

/* =========================================================================
   Trending Tags (blog index)
   ========================================================================= */

.rxph-trending-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rxph-border);
}

.rxph-trending-tags__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--rxph-text);
}

.rxph-trending-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rxph-trending-tags__count {
    font-size: 0.6875rem;
    color: var(--rxph-text-light);
    margin-left: 0.25rem;
}

/* =========================================================================
   Newsletter CTA (end of single post)
   ========================================================================= */

.rxph-newsletter-cta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--rxph-primary) 0%, #0063A3 100%);
    border-radius: var(--rxph-radius-lg);
    padding: 2rem 1.5rem;
    margin-top: 3rem;
    color: #fff;
}

@media (min-width: 768px) {
    .rxph-newsletter-cta {
        flex-direction: row;
        align-items: center;
        padding: 2.5rem 2rem;
    }
}

.rxph-newsletter-cta__content {
    flex: 1;
}

.rxph-newsletter-cta__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #fff;
}

.rxph-newsletter-cta__desc {
    font-size: 0.9375rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.rxph-newsletter-cta__form {
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .rxph-newsletter-cta__form {
        min-width: 320px;
    }
}

.rxph-newsletter-cta input[type="email"],
.rxph-newsletter-cta input[type="text"] {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--rxph-radius);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.rxph-newsletter-cta input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.rxph-newsletter-cta button[type="submit"] {
    width: 100%;
    padding: 0.625rem 1.5rem;
    background: #fff;
    color: var(--rxph-primary);
    border: none;
    border-radius: var(--rxph-radius);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background 0.2s;
}

.rxph-newsletter-cta button[type="submit"]:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* =========================================================================
   Reading Progress Bar (single post)
   ========================================================================= */

.rxph-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}

.rxph-progress-bar__fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--rxph-primary) 0%, var(--rxph-accent) 100%);
    transition: width 0.1s linear;
}

/* =========================================================================
   Back to Top Button
   ========================================================================= */

.rxph-back-to-top {
    position: fixed;
    bottom: 5.5rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rxph-bg);
    border: 1px solid var(--rxph-border);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: var(--rxph-text);
    transition: opacity 0.3s ease, background 0.2s, border-color 0.2s;
    z-index: 99;
}

.rxph-back-to-top:hover {
    background: var(--rxph-primary);
    border-color: var(--rxph-primary);
    color: #fff;
}

@media (min-width: 1024px) {
    .rxph-back-to-top {
        bottom: 2rem;
        right: 2rem;
    }
}

/* =========================================================================
   Copy Link Share Button
   ========================================================================= */

.rxph-single__share-link--copy {
    cursor: pointer;
    font-family: inherit;
}

/* =========================================================================
   Search Results Enhancements
   ========================================================================= */

.rxph-search-results__header {
    margin-bottom: 1.5rem;
}

.rxph-search-results__header .rxph-blog-search {
    margin-top: 1rem;
}

.rxph-blog-search--hero {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    margin-top: 1rem;
}

.rxph-blog-search--hero .rxph-icon {
    color: rgba(255, 255, 255, 0.7);
}

.rxph-blog-search--hero .rxph-blog-search__input {
    color: #fff;
}

.rxph-blog-search--hero .rxph-blog-search__input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.rxph-blog-search--hero:focus-within {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.18);
}

.rxph-search-results__count {
    font-size: 0.875rem;
    color: var(--rxph-text-light);
    margin: 0 0 1.5rem;
}

.rxph-search-results__empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--rxph-text-light);
}

.rxph-search-results__empty .rxph-icon {
    display: block;
    margin: 0 auto 1rem;
    opacity: 0.3;
}

.rxph-search-results__empty p {
    font-size: 1.0625rem;
    margin: 0 0 1.5rem;
}

.rxph-blog-card__type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--rxph-accent);
}

/* =========================================================================
   Survey Floating Button & Modal
   ========================================================================= */

.rxph-survey-fab {
    position: fixed;
    bottom: 5.5rem;
    left: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--rxph-primary);
    color: #fff;
    border: none;
    border-radius: 2rem;
    box-shadow: 0 4px 14px rgba(0, 114, 188, 0.35);
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    z-index: 98;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.rxph-survey-fab:hover {
    background: var(--rxph-primary-dark, #005994);
    box-shadow: 0 6px 20px rgba(0, 114, 188, 0.45);
    transform: translateY(-2px);
}

.rxph-survey-fab .rxph-icon {
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .rxph-survey-fab {
        bottom: 2rem;
        left: 2rem;
    }
}

.rxph-survey-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.rxph-survey-modal[hidden] {
    display: none !important;
}

.rxph-survey-modal--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.rxph-survey-modal__panel {
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(12px) scale(0.97);
    transition: transform 0.25s ease;
}

.rxph-survey-modal--visible .rxph-survey-modal__panel {
    transform: translateY(0) scale(1);
}

.rxph-survey-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--rxph-border);
    background: var(--rxph-light);
}

.rxph-survey-modal__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--rxph-heading);
}

.rxph-survey-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid var(--rxph-border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--rxph-text-light);
    transition: background 0.2s, color 0.2s;
}

.rxph-survey-modal__close:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fecaca;
}

.rxph-survey-modal__body {
    padding: 1.5rem 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* =========================================================================
   Assessor Fixes -- F1, F5/F7, F6, F10, F11
   ========================================================================= */

/* F1: Hide reviews badge on mobile hero to prevent overlap with slider text */
@media (max-width: 599px) {
    .rxph-hero-slider .rxph-hero-slider__trust {
        position: static;
        margin-bottom: 0.5rem;
    }

    .rxph-hero-slider .rxph-reviews-badge {
        font-size: 0.6875rem;
        padding: 4px 8px;
    }

    .rxph-survey-fab span {
        display: none;
    }

    .rxph-survey-fab {
        padding: 0.625rem;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        justify-content: center;
    }
}

/* F5/F7: Highlights grid auto-fills width for pages with 2-3 items */
@media (min-width: 600px) {
    .rxph-highlights__grid--auto {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

/* F6: Centred section content (flu vaccination, etc.) */
.rxph-section--centred .rxph-section__body,
.rxph-section--centred p,
.rxph-section--centred ul,
.rxph-section--centred li {
    text-align: center;
}

.rxph-section--centred ul {
    list-style-position: inside;
}

/* F10: Contact form overflow prevention */
.rxph-contact-grid__form iframe,
.rxph-contact-grid__form form {
    max-width: 100%;
    overflow: hidden;
}

/* F11: Responsive tables in prose/page content */
.rxph-prose table,
.rxph-page__content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    margin: 1.25rem 0;
    border: 1px solid var(--rxph-border, #E2E8F0);
    border-radius: var(--rxph-radius, 8px);
    overflow: hidden;
}

.rxph-prose th,
.rxph-prose td,
.rxph-page__content th,
.rxph-page__content td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--rxph-border, #E2E8F0);
    text-align: left;
    vertical-align: top;
}

.rxph-prose th,
.rxph-page__content th {
    background: var(--rxph-light, #F1F5F9);
    font-weight: 600;
    color: var(--rxph-text, #1E293B);
    white-space: nowrap;
}

.rxph-prose tbody tr:nth-child(even),
.rxph-page__content tbody tr:nth-child(even) {
    background: var(--rxph-bg-alt, #F8FAFC);
}

.rxph-prose td:first-child,
.rxph-page__content td:first-child {
    font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.8125rem;
    white-space: nowrap;
    color: var(--rxph-primary-dark, #005994);
}

.rxph-prose td:last-child,
.rxph-page__content td:last-child {
    white-space: nowrap;
}

@media (max-width: 599px) {
    .rxph-prose table,
    .rxph-page__content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .rxph-prose th,
    .rxph-prose td,
    .rxph-page__content th,
    .rxph-page__content td {
        padding: 0.5rem 0.75rem;
    }
}
