/* Jyoti's 15 Nov client-confirmed detail page changes; no global layout edits. */
.elx-service--detail .elx-notice--important,
.elx-ph-detail--final .elx-ph-service-note {
    background: #f2faed;
    border: 1px solid #c8e8bc;
    border-left: 4px solid #79bd61;
    border-radius: 0.65rem;
}
.elx-service--detail .elx-notice--important .elx-notice__label,
.elx-ph-detail--final .elx-ph-service-note__label {
    color: #205d36;
}
.elx-ph-detail--final .elx-ph-service-note__icon {
    border-color: #4c9a5b;
}
.elx-ph-detail--final .elx-ph-service-note__icon::after {
    color: #276e3a;
}
.elx-nov15-package-info {
    align-self: start;
    min-width: 0;
    padding: 1.2rem 1.3rem;
    border: 1px solid #d6e4f0;
    border-radius: 0.9rem;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 46, 87, 0.06);
}
.elx-nov15-package-info__heading {
    margin: 0 0 1rem;
    color: #092e5c;
    font-size: 1.12rem;
}
.elx-nov15-package-info__row {
    display: grid;
    gap: 0.2rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #e4ecf2;
    line-height: 1.45;
}
.elx-nov15-package-info__label {
    color: #606d7b;
    text-transform: uppercase;
    letter-spacing: 0.055em;
    font-size: 0.75rem;
    font-weight: 700;
}
.elx-nov15-package-info__price {
    color: #0758a6;
    font-size: 1.5rem;
}
.elx-nov15-package-info__notice {
    background: #eff5fc;
    border-radius: 0.48rem;
    padding: 0.75rem;
    font-size: 0.87rem;
    line-height: 1.5;
}
.elx-nov15-package-info__actions {
    display: grid;
    gap: 0.5rem;
}
.elx-nov15-package-info__contact {
    display: inline-block;
    text-align: center;
    text-decoration: underline;
    color: #0758a6;
}
/* Step 1C — core service sidebar: primary button + compact contact link (Jyoti 14–15 Nov). */
.elx-service--detail .elx-service-sidebar__contact-link {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.15rem 0.15rem 0.15rem 0;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.35;
    color: #0758a6;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}
.elx-service--detail .elx-service-sidebar__contact-link:hover {
    color: #094a87;
}
.elx-service--detail .elx-service-sidebar__contact-link:focus-visible {
    outline: 3px solid #79bd61;
    outline-offset: 2px;
    border-radius: 0.2rem;
}
.elx-ph-detail--final .elx-ph-detail__offer-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
}
@media (min-width: 900px) {
    .elx-ph-detail--final .elx-ph-detail__offer-grid {
        grid-template-columns: minmax(0, 1fr) 19.5rem;
        gap: 1.7rem;
    }
}

/* Source-led preventive detail layout, matching the 14 Nov sample as
 * refined in Jyoti's 15 Nov message. Prices/time exclusively in the sidebar. */
.elx-nov15-ph {
    --nov15-ink: #102b4e;
    --nov15-muted: #526275;
    color: var(--nov15-ink);
}
.elx-nov15-ph__container {
    width: min(calc(100% - 2.5rem), 76rem);
    margin-inline: auto;
}
.elx-nov15-ph__hero {
    padding: 1.3rem 0 clamp(2rem, 4vw, 3.3rem);
    background: linear-gradient(180deg, #eaf4fc, #fff);
    border-bottom: 1px solid #e3eaf1;
}
.elx-nov15-ph__hero .elx-breadcrumbs {
    margin: 0 0 clamp(1.3rem, 3vw, 2rem);
}
.elx-nov15-ph__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
}
.elx-nov15-ph__hero h1 {
    max-width: 18ch;
    margin: 0.5rem 0 0.6rem;
    color: #0a2343;
    line-height: 1.12;
    font-size: clamp(1.9rem, 3.9vw, 2.8rem);
    letter-spacing: -0.028em;
}
.elx-nov15-ph__intro {
    max-width: 36rem;
    margin: 0 0 1.25rem;
    color: var(--nov15-muted);
    font-size: 1rem;
    line-height: 1.6;
}
.elx-nov15-ph__hero-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}
.elx-nov15-ph__hero-media {
    margin: 0;
    min-width: 0;
    border-radius: 0.85rem;
    overflow: hidden;
    background: #f1f5f8;
    box-shadow: 0 10px 24px rgba(15, 47, 81, 0.07);
}
.elx-nov15-ph__hero-media img {
    display: block;
    width: 100%;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
    object-position: center;
}
.elx-nov15-ph__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
    align-items: start;
    padding-block: clamp(1.7rem, 3vw, 2.8rem);
}
.elx-nov15-ph__content {
    min-width: 0;
}
.elx-nov15-ph__content-section {
    margin: 0 0 1.25rem;
}
.elx-nov15-ph__content h2 {
    margin: 0 0 0.55rem;
    color: #0b3465;
    font-size: clamp(1.08rem, 1.5vw, 1.19rem);
    line-height: 1.35;
}
.elx-nov15-ph__content-section ul {
    margin: 0;
    padding-left: 1.35rem;
    font-size: 0.97rem;
    line-height: 1.55;
}
.elx-nov15-ph__content-section li {
    margin-bottom: 0.28rem;
}
.elx-nov15-ph .elx-ph-service-note {
    display: block;
    margin: 1.1rem 0 1.45rem;
    padding: 0.95rem 1.1rem;
    background: #f2faed;
    border: 1px solid #c8e8bc;
    border-left: 4px solid #79bd61;
    border-radius: 0.6rem;
}
.elx-nov15-ph .elx-ph-service-note__label {
    margin: 0 0 0.45rem;
    color: #205d36;
    font-size: 1.04rem;
    font-weight: 700;
}
.elx-nov15-ph .elx-ph-service-note__body {
    margin: 0;
    color: #183e29;
    font-size: 0.95rem;
    line-height: 1.57;
}
.elx-nov15-ph__journey {
    margin-top: 1.25rem;
}
.elx-nov15-ph__journey ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
}
.elx-nov15-ph__journey li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.85rem;
    border: 1px solid #e4edf4;
    border-radius: 0.65rem;
    background: #f7fafc;
}
.elx-nov15-ph__step-number {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    color: #0758a6;
    border: 1px solid #9cbfda;
    background: #fff;
    border-radius: 50%;
    font-size: 0.76rem;
    font-weight: 700;
}
.elx-nov15-ph__journey h3 {
    margin: 0 0 0.25rem;
    color: #0b3465;
    font-size: 0.93rem;
    font-weight: 700;
}
.elx-nov15-ph__journey p {
    margin: 0;
    color: var(--nov15-muted);
    line-height: 1.45;
    font-size: 0.83rem;
}
.elx-nov15-ph__related {
    padding: clamp(2rem, 3.5vw, 3.4rem) 0;
    background: #f3f8fc;
    border-top: 1px solid #e8eef5;
}
.elx-nov15-ph__related-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 1.25rem;
}
.elx-nov15-ph__related-heading h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    color: #0b3465;
}
.elx-nov15-ph__related-heading a,
.elx-nov15-ph__related-cta {
    color: #0758a6;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.89rem;
}
.elx-nov15-ph__related-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}
.elx-nov15-ph__related-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e0eaf3;
    border-radius: 0.7rem;
    background: #fff;
}
.elx-nov15-ph__related-image-link {
    display: block;
}
.elx-nov15-ph__related-image-link img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.7;
    object-fit: cover;
    object-position: center;
}
.elx-nov15-ph__related-body {
    padding: 0.95rem;
}
.elx-nov15-ph__related-body h3 {
    font-size: 0.96rem;
    line-height: 1.35;
    margin: 0 0 0.35rem;
}
.elx-nov15-ph__related-body h3 a {
    color: #0b3465;
    text-decoration: none;
}
.elx-nov15-ph__related-body p {
    color: #0b3465;
    font-weight: 750;
    margin: 0 0 0.5rem;
}
@media (min-width: 640px) {
    .elx-nov15-ph__journey ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .elx-nov15-ph__related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 900px) {
    .elx-nov15-ph__hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 2.25rem;
    }
    .elx-nov15-ph__layout {
        grid-template-columns: minmax(0, 1fr) 19.5rem;
        gap: 2rem;
    }
    /* A single semantic DOM order: information first on mobile;
       retain existing content-left / info-right layout on desktop. */
    .elx-nov15-ph__layout > .elx-nov15-ph__content {
        grid-column: 1;
        grid-row: 1;
    }
    .elx-nov15-ph__layout > .elx-nov15-package-info {
        grid-column: 2;
        grid-row: 1;
    }
}
@media (max-width: 430px) {
    .elx-nov15-ph__container {
        width: min(calc(100% - 1.5rem), 76rem);
    }
    .elx-nov15-ph__hero-actions .elx-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .elx-nov15-ph__hero-media img {
        aspect-ratio: 1.25;
    }
}

/* Three source-existing, image-led Core links beneath approved detail body. */
.elx-nov15-core-related {
    padding: clamp(2rem, 3.5vw, 3.4rem) 0;
    background: #f3f8fc;
    border-top: 1px solid #e8eef5;
}
.elx-nov15-core-related__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}
.elx-nov15-core-related__header h2 {
    margin: 0;
    color: #0b3465;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}
.elx-nov15-core-related__header a,
.elx-nov15-core-related__cta {
    color: #0758a6;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
}
.elx-nov15-core-related__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}
.elx-nov15-core-related__card {
    overflow: hidden;
    min-width: 0;
    background: #fff;
    border: 1px solid #e0eaf3;
    border-radius: 0.7rem;
}
.elx-nov15-core-related__image-link,
.elx-nov15-core-related__image-link img {
    display: block;
    width: 100%;
}
.elx-nov15-core-related__image-link img {
    aspect-ratio: 1.75;
    object-fit: cover;
}
.elx-nov15-core-related__body {
    padding: 0.95rem;
}
.elx-nov15-core-related__body h3 {
    margin: 0 0 0.5rem;
    line-height: 1.3;
    font-size: 1rem;
}
.elx-nov15-core-related__body h3 a {
    color: #0b3465;
    text-decoration: none;
}
@media (min-width: 640px) {
    .elx-nov15-core-related__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Source-aligned hub package discovery cards. */
.elx-packages-hub .elx-nov15-hub__compare-link {
    margin: 0;
    padding: 0.6rem 1rem 2.3rem;
    text-align: center;
}
.elx-packages-hub .elx-ph-package-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;
}
.elx-packages-hub .elx-ph-package-card__body {
    min-width: 0;
}
.elx-packages-hub .elx-ph-package-card__title {
    overflow-wrap: break-word;
}
.elx-packages-hub #compare-packages {
    scroll-margin-top: 7rem;
}

/* About difference and values pictorial diagrams.
 * All medically reviewed titles and body paragraphs remain byte-identical. */
.elx-about-diff-section .elx-about-diff,
.elx-about-values-section .elx-about-values {
    position: relative;
}
.elx-about-diff-section .elx-about-diff__item,
.elx-about-values-section .elx-about-values__item {
    position: relative;
}
.elx-nov15-about-picto {
    display: grid;
    place-items: center;
    width: 3.15rem;
    height: 3.15rem;
    margin: 0 0 1rem;
    border: 1px solid #cae3ef;
    border-radius: 1rem;
    background: #fff;
    color: #0758a6;
    box-shadow: 0 5px 14px rgba(14, 68, 103, 0.06);
}
.elx-nov15-about-picto svg {
    width: 1.85rem;
    height: 1.85rem;
}
.elx-nov15-about-picto--value {
    background: #edf8ec;
    color: #226e47;
    border-color: #cee8d1;
}
@media (min-width: 1100px) {
    .elx-about-diff-section .elx-about-diff__item::after {
        content: "";
        position: absolute;
        top: 3.3rem;
        right: -1.06rem;
        width: 1.05rem;
        border-top: 2px dashed #9ac1d4;
        z-index: 1;
    }
    .elx-about-diff-section .elx-about-diff__item:last-child::after {
        display: none;
    }
}

/* 31 Oct client Service Information text boxes: accessible referral FAQs
   and exact NHS 111/999 notes. Scoped to Core detail sidebar only. */
.elx-service--hub .elx-service-sidebar__urgent {
    margin: 0.55rem 0 1rem;
    padding: 0.7rem 0 0;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--ink);
}
.elx-service--hub .elx-service-sidebar__urgent p {
    margin: 0 0 0.35rem;
}

/* Step 9B: source-chart Indicators grouping; labels and clinical text unchanged. */
.elx-packages-hub .elx-ph-compare-v2__indicator {
  display: block;
}
.elx-packages-hub .elx-ph-compare-v2__indicator + .elx-ph-compare-v2__indicator {
  margin-top: .375rem;
}
