/* ============================================================
   PAEDIATRIC GENETIC COUNSELLING — content section
   ============================================================ */
.pgc-content-section {
    background: #ffffff;
    padding: 0px 0 50px;
}

/* Eyebrow row */
.pgc-eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
    justify-content:center;
}

.pgc-dash {
    display: inline-block;
    width: 50px;
    height: 3px;
    background: #F05165;
    border-radius: 2px;
    flex-shrink: 0;
}

.pgc-eyebrow-text {
    color: #00918A; 
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

/* Main heading */
.pgc-heading {
    color: #1f1f1f;
    justify-content: center;
    align-items: center;
    display: flex;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 28px;
}

/* Body text + list */
.pgc-body {
    color: #6c7280;
    font-size: 16px;
}

.pgc-body p {
    /* margin: 0 0 20px; */
}

.pgc-list-intro {
    color: #2a3a52;
    font-weight: 600;
    margin-top: 8px !important;
    margin-bottom: 12px !important;
}

.pgc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.pgc-list li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: #6c7280;
    line-height: 1.7;
}

/* Green bullet pip */
.pgc-list li::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #63bb46;
}

/* CTA button */
.pgc-cta-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pgc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #00918A;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 14px 18px 14px 30px;
    border-radius: 50px;
    border:none;
    transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(26, 77, 136, 0.25);
}

.pgc-cta-btn:hover {
    background: #F05165;
    color: #ffffff;
    /* transform: translateY(-2px); */
    box-shadow: 0 8px 20px rgba(26, 77, 136, 0.35);
}

.pgc-cta-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .pgc-content-section {
        padding: 60px 0;
    }
    .pgc-eyebrow-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    .pgc-heading {
        font-size: 1.4rem;
    }
    .pgc-body {
        font-size: 0.95rem;
    }
    .pgc-cta-btn {
        font-size: 0.9rem;
        padding: 12px 14px 12px 24px;
    }
    .pgc-cta-arrow {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}
/* ============================================================
   Benefit cards grid — replaces the old <ul> list
   ============================================================ */
.pgc-benefit-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 60px;       /* vertical gap between rows (extra room for overhanging icons) */
    column-gap: 20px;    /* horizontal gap between cards */
    margin: 50px 0 30px;
}

.pgc-benefit-card {
    position: relative;
    flex: 0 0 calc((100% - 40px) / 3);    /* 3 cards per row, 2 gaps of 20px */
    background: #F3F0F6;                  /* soft lavender */
    border-radius: 16px;
    padding: 50px 15px 15px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(26, 77, 136, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: visible;
}

.pgc-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(26, 77, 136, 0.12);
}

/* Circular icon at top, half-overlapping the card */
.pgc-benefit-icon {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--pgc-accent, #E91E63);            /* per-page service colour */
    color: #ffffff;                                    /* icon colour (white on the circle) */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 6px 16px var(--pgc-accent-shadow, rgba(233, 30, 99, 0.25));
}

/* Per-test accent colours — set on the content section via a modifier class.
   Each service page adds one of these classes, and the benefit-icon circle
   reads the custom properties. One shared file, no colour bleed. */
.pgc-content-section.pgc-paediatric       { --pgc-accent:#E91E63; --pgc-accent-shadow:rgba(233,30,99,.25); }
.pgc-content-section.pgc-reproductive     { --pgc-accent:#FF9800; --pgc-accent-shadow:rgba(255,152,0,.25); }
.pgc-content-section.pgc-prenatal         { --pgc-accent:#9C27B0; --pgc-accent-shadow:rgba(156,39,176,.25); }
.pgc-content-section.pgc-cancer           { --pgc-accent:#3F51B5; --pgc-accent-shadow:rgba(63,81,181,.25); }
.pgc-content-section.pgc-wellness         { --pgc-accent:#4CAF50; --pgc-accent-shadow:rgba(76,175,80,.25); }
.pgc-content-section.pgc-cardiometabolic  { --pgc-accent:#009688; --pgc-accent-shadow:rgba(0,150,136,.25); }

/* Shared benefit image sitting inside the coloured circle */
.pgc-benefit-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.pgc-benefit-text {
    margin: 0;
    color: #2a3a52;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
}

/* ============================================================
   Responsive — adjust columns by breakpoint
   ============================================================ */
@media (max-width: 991px) {
    .pgc-benefit-card {
        flex: 0 0 calc((100% - 20px) / 2);   /* 2 per row */
    }
}

@media (max-width: 768px) {
    .pgc-benefit-card {
        padding: 44px 16px 20px;
    }
    .pgc-benefit-icon {
        width: 48px;
        height: 48px;
        top: -24px;
        font-size: 1.05rem;
    }
    .pgc-benefit-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .pgc-benefit-grid {
        row-gap: 60px;
    }
    .pgc-benefit-card {
        flex: 0 0 100%;                       /* 1 per row on mobile */
    }
}