/* ===== Article (post detail) — Beautyversity editorial style ===== */

.lr-article-page {
    --art-navy: #16204a;
    --art-ink: #2b3252;
    --art-muted: #6b7088;
    --art-rose: #e8a594;
    --art-rust: #b0664c;
    --art-pearl: #f6f1ee;
    background: var(--art-pearl);
}

/* ----- Hero ----- */
.lr-art-hero {
    position: relative;
    overflow: hidden;
    background: #051734;
    padding: clamp(120px, 11vw, 168px) 5vw clamp(150px, 15vw, 230px);
}

.lr-art-hero .bv-decor {
    opacity: .75;
}

.lr-art-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.lr-art-crumbs {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.lr-art-crumbs a {
    color: var(--art-rose);
    text-decoration: none;
}

.lr-art-crumbs a:hover {
    color: #fff;
}

.lr-art-crumbs span {
    color: rgba(255, 255, 255, .35);
}

.lr-art-title {
    margin: 0 0 30px;
    font-family: var(--font-display);
    font-size-adjust: var(--display-adjust);
    font-weight: 600;
    font-size: clamp(36px, 4.6vw, 64px);
    line-height: 1.06;
    letter-spacing: 0;
    color: #fff;
    text-wrap: balance;
}

.lr-art-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.lr-art-avatar {
    width: 44px;
    height: 44px;
    padding: 4px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
}

.lr-art-meta strong {
    display: block;
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.lr-art-meta span {
    font-family: 'Nexa', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, .68);
}

/* ----- Article column ----- */
.lr-art {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: calc(-1 * clamp(110px, 11vw, 180px)) auto 0;
    padding: 0 20px;
}

.lr-art-cover {
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 30px 60px -30px rgba(5, 23, 52, .55);
}

.lr-art-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.lr-art-body {
    max-width: 720px;
    margin: clamp(40px, 5vw, 64px) auto 0;
    font-family: 'Nexa', sans-serif;
    font-size: 17px;
    line-height: 1.85;
    color: var(--art-ink);
}

.lr-art-body > *:first-child {
    margin-top: 0;
}

.lr-art-body p,
.lr-art-body span {
    font-size: inherit;
    line-height: inherit;
}

.lr-art-body p,
.lr-art-body p[style] {
    margin: 0 0 1.2em;
}

.lr-art-body > p:first-of-type {
    font-size: 1.14em;
    line-height: 1.7;
    color: var(--art-navy);
}

.lr-art-body h1,
.lr-art-body h2,
.lr-art-body h3,
.lr-art-body h4 {
    margin: 2em 0 .7em;
    font-family: var(--font-display);
    font-size-adjust: var(--display-adjust);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--art-navy);
}

.lr-art-body h1,
.lr-art-body h2 {
    font-size: clamp(24px, 2.4vw, 30px);
}

.lr-art-body h3 {
    font-size: clamp(21px, 2vw, 25px);
}

.lr-art-body h4 {
    font-size: 20px;
}

.lr-art-body a {
    color: var(--art-rust);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.lr-art-body a:hover {
    color: var(--art-navy);
}

.lr-art-body strong,
.lr-art-body b {
    font-weight: 700;
    color: var(--art-navy);
}

.lr-art-body ul,
.lr-art-body ol {
    margin: 0 0 1.35em;
    padding-left: 1.3em;
}

.lr-art-body ul {
    list-style: disc;
}

.lr-art-body ol {
    list-style: decimal;
}

.lr-art-body li {
    margin-bottom: .45em;
    padding-left: .2em;
}

.lr-art-body li::marker {
    color: var(--art-rust);
}

.lr-art-body blockquote {
    margin: 1.8em 0;
    padding: .2em 0 .2em 1.3em;
    border-left: 3px solid var(--art-rose);
    font-family: var(--font-display);
    font-size-adjust: var(--display-adjust);
    font-style: italic;
    font-size: 1.35em;
    line-height: 1.5;
    color: var(--art-navy);
}

.lr-art-body blockquote p {
    margin: 0;
}

.lr-art-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.8em auto;
    border-radius: 16px;
}

.lr-art-body figure {
    margin: 1.8em 0;
}

.lr-art-body figure img {
    margin: 0;
}

.lr-art-body figcaption {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
    color: var(--art-muted);
}

.lr-art-body hr {
    width: 60px;
    margin: 2.4em auto;
    border: 0;
    border-top: 2px solid var(--art-rose);
    opacity: 1;
}

.lr-art-body table {
    width: 100%;
    margin: 1.6em 0;
    border-collapse: collapse;
    font-size: 15px;
    display: block;
    overflow-x: auto;
}

.lr-art-body th,
.lr-art-body td {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(22, 32, 74, .12);
    text-align: left;
    font-weight: 400;
}

.lr-art-body th {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--art-navy);
    background: rgba(22, 32, 74, .05);
}

.lr-art-body pre,
.lr-art-body code {
    font-family: ui-monospace, Consolas, monospace;
    font-size: .88em;
    background: rgba(22, 32, 74, .06);
    border-radius: 6px;
}

.lr-art-body code {
    padding: .1em .35em;
}

.lr-art-body pre {
    padding: 16px 18px;
    overflow-x: auto;
}

/* ----- Footer: tags, share, author ----- */
.lr-art-footer {
    max-width: 720px;
    margin: clamp(40px, 5vw, 56px) auto 0;
    padding-top: 32px;
    border-top: 1px solid rgba(22, 32, 74, .12);
}

.lr-art-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

.lr-art-tags a {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgba(22, 32, 74, .22);
    border-radius: 999px;
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--art-navy);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.lr-art-tags a:hover {
    background: var(--art-navy);
    border-color: var(--art-navy);
    color: #fff;
}

.lr-art-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.lr-art-share > span {
    margin-right: 6px;
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--art-muted);
}

.lr-art-share a,
.lr-art-copy {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(22, 32, 74, .22);
    border-radius: 50%;
    background: transparent;
    color: var(--art-navy);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.lr-art-share svg {
    width: 17px;
    height: 17px;
}

.lr-art-share a:hover,
.lr-art-copy:hover {
    background: var(--art-navy);
    border-color: var(--art-navy);
    color: #fff;
}

.lr-art-copy em {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translate(-50%, 4px);
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--art-navy);
    font-family: 'Nexa', sans-serif;
    font-style: normal;
    font-size: 11.5px;
    white-space: nowrap;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.lr-art-copy.is-copied em {
    opacity: 1;
    transform: translate(-50%, 0);
}

.lr-art-author {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 32px;
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 40px -30px rgba(22, 32, 74, .45);
}

.lr-art-author img {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    padding: 8px;
    border-radius: 50%;
    object-fit: contain;
    background: var(--art-pearl);
}

.lr-art-author span {
    display: block;
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--art-rust);
}

.lr-art-author strong {
    display: block;
    margin: 2px 0 6px;
    font-family: var(--font-display);
    font-size-adjust: var(--display-adjust);
    font-weight: 600;
    font-size: 24px;
    color: var(--art-navy);
}

.lr-art-author p {
    margin: 0;
    font-family: 'Nexa', sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--art-ink);
}

/* ----- Continue reading ----- */
.lr-art-more {
    margin-top: clamp(72px, 8vw, 120px);
}

.lr-art-more-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.lr-art-more-head .hero-heading {
    margin-bottom: 0;
}

.lr-art-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    font-family: 'Nexa', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    transition: background .2s ease, color .2s ease;
}

.lr-art-all:hover {
    background: #fff;
    color: #051734;
}

.lr-art-empty {
    margin: 0;
    max-width: 560px;
    font-family: 'Nexa', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .72);
}

@media (max-width: 768px) {
    .lr-art-hero {
        padding: 110px 20px 120px;
    }

    .lr-art-crumbs {
        font-size: 11px;
        letter-spacing: .18em;
    }

    .lr-art {
        margin-top: -90px;
        padding: 0 16px;
    }

    .lr-art-cover {
        border-radius: 16px;
    }

    .lr-art-body {
        font-size: 16.5px;
        line-height: 1.8;
    }

    .lr-art-author {
        padding: 20px;
    }

    .lr-art-author img {
        width: 52px;
        height: 52px;
    }
}

/* Editor content brings its own inline colours/fonts (PT Sans, black, 14px); keep the Lunaray type system. */
.lr-art-body :where(p, span, li, td, th, div, strong, b, em, i, a, h1, h2, h3, h4, h5, h6, blockquote, font)[style] {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    background: transparent !important;
    letter-spacing: inherit !important;
}

.lr-art-body :where(h1, h2, h3, h4, h5, h6)[style] {
    font-family: var(--font-display) !important;
    font-size: clamp(24px, 2.4vw, 30px) !important;
    line-height: 1.2 !important;
    color: var(--art-navy) !important;
}

.lr-art-body :where(strong, b)[style] {
    color: var(--art-navy) !important;
}

.lr-art-body :where(a)[style] {
    color: var(--art-rust) !important;
}

/* No cover photo: don't pull the text up into the hero. */
.lr-art--flat {
    margin-top: 0;
    padding-top: clamp(40px, 5vw, 64px);
}

.lr-art--flat .lr-art-body {
    margin-top: 0;
}

.lr-article-page:has(.lr-art--flat) .lr-art-hero {
    padding-bottom: clamp(70px, 8vw, 110px);
}

/* Continue reading grid (shared listing styles only exist on the Beautyversity page). */
.lr-art-more .bv-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.lr-art-more .bv-card,
.lr-art-more .bv-card-featured {
    grid-column: auto;
    grid-row: auto;
    width: auto;
    min-width: 0;
}

.lr-art-more .bv-card-media {
    aspect-ratio: 398 / 340;
}

@media (max-width: 992px) {
    .lr-art-more .bv-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .lr-art-more .bv-cards {
        grid-template-columns: 1fr;
    }
}

.lr-art-body :where(h1, h2, h3, h4, h5, h6) {
    margin: 2em 0 .75em !important;
}

.lr-art-body > :where(h1, h2, h3, h4, h5, h6):first-child {
    margin-top: 0 !important;
}

.lr-art-body :where(h1, h2, h3, h4, h5, h6) + :where(p, ul, ol, blockquote) {
    margin-top: 0;
}
