.lcpg-article {
    --lcpg-card-bg: #fff;
    --lcpg-card-text: #171717;
    --lcpg-card-muted: #505050;
}

.lcpg-article .lcpg-intro {
    margin: 0 0 1.35em;
    line-height: 1.65;
}

/* Sommaire : ergonomie simple de l'ancienne version, entièrement cliquable. */
.lcpg-article details.lcpg-summary {
    margin: 1.35em 0 2em;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    background: rgba(255,255,255,.025);
    overflow: hidden;
}

.lcpg-article .lcpg-summary > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding: .9em 1em;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.lcpg-article .lcpg-summary > summary::-webkit-details-marker { display: none; }

.lcpg-article .lcpg-summary-title {
    font-size: 1.18em;
    font-weight: 750;
    line-height: 1.2;
}

.lcpg-article .lcpg-summary-arrow {
    width: .68em;
    height: .68em;
    flex: 0 0 .68em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
}

.lcpg-article details.lcpg-summary[open] .lcpg-summary-arrow {
    transform: rotate(225deg) translate(-2px, -2px);
}

.lcpg-article .lcpg-summary-content {
    padding: 0 1em .7em;
}

.lcpg-article .lcpg-summary-row,
.lcpg-article .lcpg-summary-row:visited {
    display: grid;
    grid-template-columns: 2.1em minmax(0, 1fr);
    gap: .65em;
    align-items: start;
    padding: .72em .1em;
    border-top: 1px solid rgba(255,255,255,.10);
    color: inherit !important;
    text-decoration: none !important;
    line-height: 1.42;
    cursor: pointer;
}

.lcpg-article .lcpg-summary-row:first-child { border-top: 0; }

.lcpg-article .lcpg-summary-row:hover,
.lcpg-article .lcpg-summary-row:focus-visible {
    text-decoration: underline !important;
}

.lcpg-article .lcpg-summary-number {
    font-size: .82em;
    font-weight: 700;
    opacity: .86;
    padding-top: .08em;
}

.lcpg-article .lcpg-summary-label {
    font-weight: 680;
}

.lcpg-article .lcpg-area {
    margin: 2.15em 0 0;
}

.lcpg-article .lcpg-area > h2 {
    margin: 0 0 .85em;
    padding: 0 0 .34em;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* L'ancre est portée par toute la zone afin que le saut soit fiable sous le header fixe. */
.lcpg-article .lcpg-subzone {
    margin: 1.05em 0 0;
    scroll-margin-top: 125px;
}

.lcpg-article .lcpg-subzone + .lcpg-subzone { margin-top: 1.25em; }

.lcpg-article .lcpg-subzone > h3 {
    margin: 0 0 .58em;
    line-height: 1.15;
}

.lcpg-article .lcpg-subzone > h3 span {
    display: inline-block;
    font-size: .82em;
    font-weight: 760;
}

.lcpg-article .lcpg-pharmacies {
    display: grid;
    gap: .52em;
}

/* Seules les pharmacies gardent le traitement en carte. */
.lcpg-article .lcpg-pharmacy {
    display: block;
    margin: 0;
    padding: .62em .74em;
    border: 1px solid rgba(22,22,22,.12);
    border-radius: 10px;
    background: var(--lcpg-card-bg) !important;
    color: var(--lcpg-card-text) !important;
}

.lcpg-article .lcpg-pharmacy * { color: var(--lcpg-card-text) !important; }

.lcpg-article .lcpg-pharmacy h4 {
    margin: 0 0 .28em;
    font-size: .98em;
    line-height: 1.25;
    font-weight: 750;
}

.lcpg-article .lcpg-pharmacy p {
    margin: .14em 0 0;
    line-height: 1.42;
}

.lcpg-article .lcpg-pharmacy .lcpg-address { color: var(--lcpg-card-muted) !important; }
.lcpg-article .lcpg-phone { margin-top: .26em !important; }

/* Appel direct sur mobile. */
.lcpg-article .lcpg-phone a,
.lcpg-article .lcpg-phone a:visited {
    color: var(--lcpg-card-text) !important;
    font-weight: 760;
    text-decoration: underline !important;
    text-underline-offset: .12em;
}

.lcpg-article .lcpg-insurance {
    margin-top: .3em !important;
    padding-top: .34em;
    border-top: 1px dashed rgba(22,22,22,.14);
    font-size: .9em;
}

.lcpg-article .lcpg-back {
    margin: .72em 0 0;
    font-size: .9em;
    font-weight: 650;
}

.lcpg-article .lcpg-back a { text-decoration: none; }

@media (max-width: 640px) {
    .lcpg-article details.lcpg-summary {
        margin-top: 1.05em;
        margin-bottom: 1.65em;
        border-radius: 9px;
    }

    .lcpg-article .lcpg-summary > summary { padding: .78em .82em; }
    .lcpg-article .lcpg-summary-title { font-size: 1.08em; }
    .lcpg-article .lcpg-summary-content { padding: 0 .82em .55em; }

    .lcpg-article .lcpg-summary-row {
        grid-template-columns: 1.75em minmax(0, 1fr);
        gap: .48em;
        padding: .66em 0;
        font-size: .94em;
    }

    .lcpg-article .lcpg-area { margin-top: 1.8em; }
    .lcpg-article .lcpg-subzone { scroll-margin-top: 105px; }

    .lcpg-article .lcpg-pharmacy {
        padding: .56em .66em;
        border-radius: 9px;
    }

    body.single-post h1,
    body.single-post .entry-title,
    body.single-post h1.entry-title,
    body.single-post .s-title,
    body.single-post .single-title {
        font-size: clamp(2.05rem, 10vw, 2.75rem) !important;
        line-height: 1.06 !important;
        letter-spacing: -0.025em !important;
    }
}
