/* ==========================================================================
   Laser Polyclinic: design tokens, shared components, site header & footer
   ========================================================================== */

:root {
    --lp-gold-100: #faf5e4;
    --lp-gold-200: #f3e9c6;
    --lp-gold-300: #e3d28f;
    --lp-gold-400: #ccbd7d;
    --lp-gold-700: #7a6a2e;
    --lp-ink: #2c2c2c;
    --lp-ink-muted: #5f5a4e;
    --lp-ink-strong: #1e1c18;
    --lp-surface: #ffffff;
    --lp-surface-cream: #fbf8ef;
    --lp-surface-sand: #f5eedb;
    --lp-line: #e9e1c9;
    --lp-line-strong: #8c7a3a;
    --lp-on-dark: #ffffff;
    --lp-on-dark-muted: #cfc8b4;
    --lp-whatsapp: #25d366;
    --lp-whatsapp-deep: #0f7a3f;
    --lp-whatsapp-hover: #0b6634;
    --lp-overlay: rgba(30, 28, 24, 0.72);
    /* Links inside page/post content: blue reads better than gold (6.3:1 on white). */
    --lp-link: #1a5fb4;
    --lp-link-hover: #12458a;

    --lp-radius-sm: 8px;
    --lp-radius-md: 16px;
    --lp-radius-lg: 24px;
    --lp-radius-xl: 34px;
    --lp-radius-pill: 9999px;

    --lp-shadow-card: 0 1px 2px rgba(30, 28, 24, 0.06), 0 8px 24px rgba(30, 28, 24, 0.06);
    --lp-shadow-raised: 0 12px 32px rgba(30, 28, 24, 0.14);

    --lp-control-h: 46px;
    --lp-container: 1240px;
    --lp-gutter: clamp(16px, 3vw, 40px);

    --lp-font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;

    /* Neve reads these for body/heading type. */
    --bodyfontfamily: var(--lp-font);
    --headingsfontfamily: var(--lp-font);
}

body {
    font-family: var(--lp-font);
    color: var(--lp-ink);
    background: var(--lp-surface);
}

/* ---------- Layout helpers ---------- */

.lp-container {
    max-width: var(--lp-container);
    margin-inline: auto;
    padding-inline: var(--lp-gutter);
    box-sizing: content-box;
}

.lp-icon {
    flex-shrink: 0;
}

.lp-dark a:focus-visible,
.lp-dark button:focus-visible {
    outline-color: var(--lp-gold-300);
}

.lp-topbar a:focus-visible,
.lp-header a:focus-visible,
.lp-header button:focus-visible,
.lp-footer a:focus-visible,
.lp-page a:focus-visible,
.lp-page select:focus-visible,
.lp-page button:focus-visible {
    outline: 2px solid var(--lp-ink);
    outline-offset: 3px;
}

.lp-dark a:focus-visible {
    outline-color: var(--lp-gold-300);
}

/* ---------- Buttons ---------- */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--lp-control-h);
    padding: 0 24px;
    border-radius: var(--lp-radius-pill);
    border: 1.5px solid transparent;
    box-sizing: border-box;
    font-family: var(--lp-font);
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 200ms, color 200ms, border-color 200ms, box-shadow 200ms;
}

.lp-btn--block {
    display: flex;
    width: 100%;
}

.lp-btn--wa,
.lp-btn--wa:visited {
    background: var(--lp-whatsapp-deep);
    color: var(--lp-on-dark);
}

.lp-btn--wa:hover,
.lp-btn--wa:focus-visible {
    background: var(--lp-whatsapp-hover);
    color: var(--lp-on-dark);
}

.lp-btn--gold,
.lp-btn--gold:visited {
    background: var(--lp-gold-300);
    color: var(--lp-ink);
}

.lp-btn--gold:hover {
    background: var(--lp-gold-400);
    color: var(--lp-ink);
}

.lp-btn--outline,
.lp-btn--outline:visited {
    background: transparent;
    border-color: var(--lp-ink);
    color: var(--lp-ink);
}

.lp-btn--outline:hover {
    background: var(--lp-ink);
    color: var(--lp-on-dark);
}

.lp-icon-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--lp-radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    cursor: pointer;
}

.lp-icon-btn--outline,
.lp-icon-btn--outline:visited {
    border: 1px solid var(--lp-line);
    background: var(--lp-surface);
    color: var(--lp-ink);
}

.lp-icon-btn--dark,
.lp-icon-btn--dark:hover,
.lp-icon-btn--dark:focus {
    border: none;
    background: var(--lp-ink-strong);
    color: var(--lp-gold-300);
}

/* ==========================================================================
   Page content: type and building blocks shared by the homepage and
   the doctors pages (wrapper class .lp-page)
   ========================================================================== */

.lp-page {
    font-family: var(--lp-font);
    color: var(--lp-ink);
    font-size: 16px;
    line-height: 28px;
}

.lp-page h1,
.lp-page h2,
.lp-page h3,
.lp-page p,
.lp-page ul {
    margin: 0;
}

/* ---------- Type ---------- */

.lp-page .lp-h2 {
    font-family: var(--lp-font);
    font-size: clamp(26px, 2.4vw, 32px);
    line-height: 1.5;
    font-weight: 700;
    color: var(--lp-ink);
}

.lp-page .lp-h3 {
    font-family: var(--lp-font);
    font-size: 22px;
    line-height: 34px;
    font-weight: 700;
    color: var(--lp-ink);
}

.lp-page .lp-h1 {
    font-family: var(--lp-font);
    font-size: clamp(34px, 3.4vw, 48px);
    line-height: 1.42;
    font-weight: 700;
    color: var(--lp-ink);
}

/* ---------- Page header (cover): doctors list and regular pages ---------- */

.lp-page-head {
    background: var(--lp-surface-cream);
    border-bottom: 1px solid var(--lp-line);
    padding-block: 40px 48px;
}

.lp-page-head__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-page-head__lead {
    max-width: 640px;
}

/* Breadcrumbs */
.lp-crumbs ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    line-height: 24px;
    color: var(--lp-ink-muted);
}

.lp-crumbs li {
    margin: 0;
}

.lp-crumbs a,
.lp-crumbs a:visited {
    color: var(--lp-gold-700);
    text-decoration: none;
}

.lp-crumbs a:hover {
    color: var(--lp-ink);
}

.lp-crumbs__sep {
    display: inline-flex;
}

[dir="ltr"] .lp-crumbs__sep .lp-icon {
    transform: scaleX(-1);
}

@media (max-width: 639px) {
    .lp-page-head {
        padding-block: 20px 24px;
    }

    .lp-page-head__inner {
        gap: 12px;
    }

    .lp-page .lp-h1 {
        font-size: 34px;
        line-height: 50px;
    }

    .lp-page-head__lead {
        font-size: 16px;
        line-height: 28px;
    }
}

.lp-lead {
    font-size: 18px;
    line-height: 32px;
    color: var(--lp-ink-muted);
}

.lp-muted {
    color: var(--lp-ink-muted);
}

.lp-meta {
    font-size: 14px;
    line-height: 24px;
    color: var(--lp-ink-muted);
}

.lp-grow {
    flex-grow: 1;
}

.lp-link,
.lp-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-weight: 700;
    text-decoration: none;
    color: var(--lp-gold-700);
}

.lp-link:hover {
    color: var(--lp-ink);
}

/* Links inside page and post content written in the editor (not buttons).
   Overrides Neve's gold accent and colours picked per paragraph. */
.nv-content-wrap a:not(.wp-block-button__link):not(.wp-element-button):not(.lp-btn),
.entry-content a:not(.wp-block-button__link):not(.wp-element-button):not(.lp-btn),
.excerpt-wrap a:not(.wp-block-button__link):not(.wp-element-button),
.comment-content a {
    color: var(--lp-link);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.nv-content-wrap a:not(.wp-block-button__link):not(.wp-element-button):not(.lp-btn):hover,
.entry-content a:not(.wp-block-button__link):not(.wp-element-button):not(.lp-btn):hover,
.excerpt-wrap a:not(.wp-block-button__link):not(.wp-element-button):hover,
.comment-content a:hover {
    color: var(--lp-link-hover);
    text-decoration-thickness: 2px;
}

.lp-link--wa,
.lp-link--wa:visited {
    color: var(--lp-whatsapp-deep);
}

.lp-link--wa:hover {
    color: var(--lp-whatsapp-hover);
}

/* ---------- Shared pieces ---------- */

.lp-section {
    background: var(--lp-surface);
    padding-block: clamp(48px, 6vw, 80px);
}

.lp-section--cream {
    background: var(--lp-surface-cream);
}

.lp-section--sand {
    background: var(--lp-surface-sand);
}

.lp-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.lp-section-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.lp-section-head--center {
    align-items: center;
    text-align: center;
}

.lp-section-head--center .lp-lead {
    max-width: 620px;
}

.lp-section-head--split {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
}

.lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 8px;
}

.lp-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius-md);
    box-shadow: var(--lp-shadow-card);
    transition: box-shadow 200ms, background-color 200ms;
}

.lp-card:hover {
    box-shadow: var(--lp-shadow-raised);
}

.lp-disc {
    border-radius: var(--lp-radius-pill);
    background: var(--lp-ink-strong);
    color: var(--lp-gold-300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-disc--xs { width: 28px; height: 28px; }
.lp-disc--sm { width: 40px; height: 40px; }
.lp-disc--md { width: 44px; height: 44px; }
.lp-disc--lg { width: 64px; height: 64px; }

.lp-disc--xs .lp-icon {
    stroke-width: 2.4;
}

.lp-disc--lg img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.lp-grid {
    display: grid;
    gap: 24px;
}

.lp-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--lp-gold-200);
    color: var(--lp-gold-700);
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
}

.lp-show-mobile {
    display: none;
}

.lp-checks {
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.lp-rule {
    height: 1px;
    margin: 0;
    border: 0;
    background: var(--lp-line);
}

@media (max-width: 767px) {
    .lp-page .lp-h2 {
        font-size: 26px;
        line-height: 40px;
    }

    .lp-lead {
        font-size: 17px;
        line-height: 30px;
    }

    .lp-actions .lp-btn {
        flex: 1 1 auto;
    }

    .lp-section-head--center {
        align-items: flex-start;
        text-align: start;
    }

    .lp-hide-mobile {
        display: none;
    }

    .lp-show-mobile {
        display: flex;
    }
}

/* ---------- Article card (template-parts/post-card.php) ---------- */

/* Fixed column counts so a short list keeps its card size. */
.lp-grid--posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1023px) {
    .lp-grid--posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .lp-grid--posts {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.lp-post-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lp-post-card__media {
    position: relative;
    display: block;
    height: 200px;
    background: var(--lp-gold-100);
    color: var(--lp-gold-700);
    overflow: hidden;
}

.lp-post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lp-post-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-post-card__body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.lp-page .lp-post-card__title {
    flex-grow: 1;
    font-family: var(--lp-font);
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}

.lp-post-card__title a,
.lp-post-card__title a:visited {
    color: var(--lp-ink);
    text-decoration: none;
}

.lp-post-card__title a:hover {
    color: var(--lp-gold-700);
}

/* ---------- Doctor card (template-parts/doctor-card.php) ---------- */

.lp-doc-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lp-doc-card[hidden] {
    display: none;
}

.lp-doc-card__media {
    position: relative;
    display: block;
    height: 300px;
    background: var(--lp-gold-200);
    color: var(--lp-gold-700);
    overflow: hidden;
}

.lp-doc-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.lp-doc-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-doc-card__placeholder .lp-icon {
    stroke-width: 1.2;
}

.lp-doc-card__overlay {
    position: absolute;
    inset: auto 0 0 0;
    min-height: 110px;
    padding: 16px 20px;
    box-sizing: border-box;
    background: linear-gradient(to top, var(--lp-overlay), rgba(30, 28, 24, 0));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.lp-doc-card__name {
    color: var(--lp-on-dark);
    font-size: 18px;
    line-height: 28px;
    font-weight: 600;
}

.lp-doc-card__spec {
    color: var(--lp-on-dark);
    font-size: 14px;
    line-height: 24px;
}

.lp-doc-card__body {
    flex-grow: 1;
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
}

/* "Profile" button: gold outline pill, fills on hover. */
.lp-btn.lp-doc-card__profile,
.lp-btn.lp-doc-card__profile:visited {
    border-color: var(--lp-gold-700);
    color: var(--lp-gold-700);
    background: var(--lp-gold-100);
}

.lp-btn.lp-doc-card__profile:hover {
    border-color: var(--lp-gold-700);
    background: var(--lp-gold-700);
    color: var(--lp-on-dark);
}

.lp-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: var(--lp-radius-pill);
    background: var(--lp-surface);
    color: var(--lp-gold-700);
    font-size: 13px;
    line-height: 20px;
    font-weight: 600;
}

/* Department label on the photo. */
.lp-doc-card__pill {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    z-index: 1;
}

@media (max-width: 767px) {
    .lp-doc-card__media {
        height: 280px;
    }

    .lp-doc-card__body {
        padding: 16px;
    }
}

/* ---------- Top bar ---------- */

.lp-topbar {
    background: var(--lp-ink-strong);
    color: var(--lp-on-dark-muted);
    font-size: 14px;
    line-height: 24px;
    padding-block: 10px;
}

.lp-topbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}

.lp-topbar__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
}

.lp-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lp-topbar__item .lp-icon {
    color: var(--lp-gold-400);
}

.lp-topbar a.lp-topbar__phone,
.lp-topbar a.lp-topbar__phone:visited {
    color: var(--lp-on-dark);
    text-decoration: none;
}

.lp-topbar a.lp-topbar__phone:hover {
    color: var(--lp-gold-300);
}

/* ---------- Header ---------- */

header.header {
    background: var(--lp-surface);
}

.lp-header {
    position: relative;
    background: var(--lp-surface);
    border-bottom: 1px solid var(--lp-line);
}

.lp-header__inner {
    min-height: 84px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
    padding-block: 10px;
}

.lp-brand,
.lp-brand:visited,
.lp-brand:hover {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
    color: var(--lp-ink);
}

.lp-brand__logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.lp-brand__name {
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}

.lp-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-nav__list li {
    margin: 0;
}

.lp-nav__list a,
.lp-nav__list a:visited {
    display: block;
    padding: 10px 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: var(--lp-ink);
    text-decoration: none;
}

.lp-nav__list a:hover,
.lp-nav__list a[aria-current="page"],
.lp-nav__list .current-menu-item > a {
    color: var(--lp-gold-700);
}

.lp-header__mobile-actions {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lp-menu-toggle svg[hidden] {
    display: none;
}

/* Mobile dropdown menu */
.lp-mobile-menu {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    z-index: 45;
    background: var(--lp-surface);
    border-bottom: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow-raised);
    padding: 8px 16px 20px;
    display: flex;
    flex-direction: column;
}

.lp-mobile-menu[hidden] {
    display: none;
}

.lp-mobile-menu__list {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.lp-mobile-menu__list li {
    margin: 0;
    border-bottom: 1px solid var(--lp-line);
}

.lp-mobile-menu__list li:last-child {
    border-bottom: 0;
}

.lp-mobile-menu__list a,
.lp-mobile-menu__list a:visited {
    min-height: 52px;
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--lp-ink);
    text-decoration: none;
}

.lp-mobile-menu__list a[aria-current="page"],
.lp-mobile-menu__list .current-menu-item > a {
    color: var(--lp-gold-700);
    font-weight: 700;
}

@media (max-width: 1100px) {
    .lp-nav__list {
        gap: 4px 20px;
    }
}

@media (max-width: 960px) {
    .lp-topbar {
        display: none;
    }

    /* Neve's overflow:hidden on .wrapper would disable position:sticky. */
    body > .wrapper:not(.et-fb-iframe-ancestor) {
        overflow: clip;
    }

    header.header {
        position: sticky;
        top: 0;
        z-index: 40;
    }

    .admin-bar header.header {
        top: 46px;
    }

    .lp-header__inner {
        min-height: 64px;
        flex-wrap: nowrap;
        padding-block: 0;
        gap: 12px;
    }

    .lp-brand {
        gap: 10px;
    }

    .lp-brand__logo {
        width: 40px;
        height: 40px;
    }

    .lp-brand__name {
        font-size: 16px;
        line-height: 24px;
    }

    .lp-nav,
    .lp-header__cta {
        display: none;
    }

    .lp-header__mobile-actions {
        display: flex;
    }
}

@media (max-width: 600px) {
    .admin-bar header.header {
        top: 0;
    }
}

/* ---------- Footer ---------- */

.lp-footer {
    background: var(--lp-ink-strong);
    color: var(--lp-on-dark-muted);
    padding: 64px 0 24px;
    font-size: 14px;
    line-height: 24px;
}

.lp-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.lp-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.lp-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-footer__brand p {
    margin: 0;
}

.lp-footer__brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Transparent logo sits directly on the dark footer (no disc behind it). */
.lp-footer__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.lp-footer__logo img {
    width: auto;
    height: 56px;
    max-width: 56px;
    object-fit: contain;
}

.lp-footer__name {
    color: var(--lp-on-dark);
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
}

.lp-footer__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.lp-footer__title {
    color: var(--lp-gold-300);
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 4px;
}

.lp-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-footer__list li {
    margin: 0;
}

.lp-footer a,
.lp-footer a:visited {
    color: var(--lp-on-dark-muted);
    text-decoration: none;
}

.lp-footer a.lp-footer__strong,
.lp-footer a.lp-footer__strong:visited {
    color: var(--lp-on-dark);
}

.lp-footer__wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.lp-footer__wa .lp-icon {
    color: var(--lp-whatsapp);
}

.lp-footer a:hover,
.lp-footer a.lp-footer__strong:hover {
    color: var(--lp-gold-300);
}

.lp-footer__bottom {
    border-top: 1px solid rgba(204, 189, 125, 0.3);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
}

@media (max-width: 767px) {
    .lp-footer {
        padding: 40px 0 24px;
    }

    /* Two columns per row on phones. */
    .lp-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .lp-footer__brand-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .lp-footer__name {
        font-size: 16px;
        line-height: 24px;
    }
}

/* ---------- Department filter chips (doctors and offers lists) ---------- */

.lp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
}

.lp-chip,
.lp-chip:visited {
    height: 44px;
    padding: 0 18px;
    border-radius: var(--lp-radius-pill);
    border: 1px solid var(--lp-line-strong);
    background: var(--lp-surface);
    color: var(--lp-ink);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    line-height: 24px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 200ms, color 200ms, border-color 200ms;
}

.lp-chip:hover {
    background: var(--lp-gold-100);
    color: var(--lp-ink);
}

.lp-chip__count {
    font-size: 13px;
    color: var(--lp-gold-700);
}

.lp-chip[aria-current="true"],
.lp-chip[aria-current="true"]:hover {
    background: var(--lp-ink-strong);
    border-color: var(--lp-ink-strong);
    color: var(--lp-on-dark);
}

.lp-chip[aria-current="true"] .lp-chip__count {
    color: var(--lp-gold-300);
}

@media (max-width: 639px) {
    .lp-chips {
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: calc(-1 * var(--lp-gutter));
        padding: 4px var(--lp-gutter) 0;
    }

    .lp-chips::-webkit-scrollbar {
        display: none;
    }

    .lp-chip {
        flex-shrink: 0;
        padding: 0 16px;
    }
}

/* ---------- Editor content and info box (doctor and offer pages) ---------- */

/* Editor content: bullet lists become gold check lists. */
.lp-prose {
    font-size: 18px;
    line-height: 32px;
}

.lp-prose > * + * {
    margin-top: 16px;
}

.lp-prose a,
.lp-prose a:visited {
    color: var(--lp-gold-700);
}

.lp-prose ul {
    margin-inline: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-prose ul li {
    position: relative;
    margin: 0;
    padding-inline-start: 46px;
    min-height: 32px;
}

.lp-prose ul li::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--lp-radius-pill);
    background: var(--lp-ink-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3d28f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.lp-prose ol {
    padding-inline-start: 24px;
}

.lp-info {
    flex: 1 1 340px;
    min-width: 0;
    background: var(--lp-surface-sand);
    border-radius: var(--lp-radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-page .lp-info__title {
    font-family: var(--lp-font);
    font-size: 22px;
    line-height: 34px;
    font-weight: 700;
}

.lp-info__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-info__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--lp-line);
}

.lp-info__row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.lp-info__row dt {
    flex-shrink: 0;
    color: var(--lp-ink-muted);
}

.lp-info__row dd {
    font-weight: 600;
    text-align: end;
}

.lp-info__row a,
.lp-info__row a:visited {
    color: var(--lp-ink);
    text-decoration: none;
}

.lp-info__row a:hover {
    color: var(--lp-gold-700);
}

.lp-info .lp-btn {
    margin-top: 4px;
}

@media (max-width: 767px) {
    .lp-prose {
        font-size: 16px;
        line-height: 28px;
    }

    .lp-prose ul {
        gap: 14px;
    }

    .lp-prose ul li {
        padding-inline-start: 40px;
        min-height: 28px;
    }

    .lp-prose ul li::before {
        width: 28px;
        height: 28px;
        background-size: 14px;
    }

    .lp-info {
        padding: 20px;
        gap: 10px;
        font-size: 15px;
        line-height: 26px;
    }

    .lp-page .lp-info__title {
        font-size: 20px;
        line-height: 32px;
    }

    .lp-info__list {
        gap: 10px;
    }

    .lp-info__row {
        gap: 12px;
        padding-bottom: 10px;
    }
}
