:root {
    --lf-navy: #07324d;
    --lf-navy-dark: #041f33;
    --lf-blue: #0e6f9f;
    --lf-blue-soft: #e8f5fa;
    --lf-gold: #f2b84b;
    --lf-text: #202b3c;
    --lf-muted: #667085;
    --lf-border: #e4e7ec;
    --lf-bg: #f7f9fc;
    --lf-card: #ffffff;
    --lf-shadow: 0 22px 70px rgba(7, 50, 77, 0.12);
}

body.single-post {
    background: var(--lf-bg);
    color: var(--lf-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}

body.single-post a {
    color: var(--lf-blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

body.single-post a:hover {
    color: var(--lf-navy);
}

.lf-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.lf-post-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(58px, 8vw, 96px) 0 clamp(42px, 6vw, 72px);
    background:
        radial-gradient(circle at 18% 18%, rgba(242, 184, 75, 0.20), transparent 34%),
        radial-gradient(circle at 86% 24%, rgba(14, 111, 159, 0.28), transparent 34%),
        linear-gradient(135deg, var(--lf-navy-dark), var(--lf-navy));
    color: #ffffff;
}

.lf-post-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -42% -10%;
    height: 48%;
    background: rgba(255, 255, 255, 0.06);
    transform: rotate(-2deg);
}

.lf-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
    gap: clamp(34px, 5vw, 70px);
    align-items: center;
}

.lf-hero-copy {
    max-width: 760px;
}

.lf-eyebrow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.lf-eyebrow a {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
}

.lf-post-title {
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(2.35rem, 5.4vw, 4.75rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

body.single-post .lf-post-title,
body.single-post .lf-post-title a {
    color: #ffffff !important;
}

.lf-post-excerpt {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.7;
}

.lf-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 600;
}

.lf-meta-item {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.lf-author-avatar,
.lf-post-meta .avatar {
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
}

.lf-meta-separator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.42);
}

.lf-hero-media {
    margin: 0;
}

.lf-hero-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.30);
}

.lf-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 790px) 320px;
    gap: clamp(34px, 5vw, 64px);
    align-items: start;
    padding: clamp(38px, 6vw, 70px) 0 34px;
}

.lf-content-card {
    overflow: hidden;
    border: 1px solid var(--lf-border);
    border-radius: 28px;
    background: var(--lf-card);
    box-shadow: var(--lf-shadow);
}

.lf-post-content {
    padding: clamp(28px, 5vw, 62px);
    font-size: clamp(17px, 1.15vw, 19px);
    line-height: 1.78;
    color: var(--lf-text);
}

.lf-post-content > *:first-child {
    margin-top: 0;
}

.lf-post-content > *:last-child {
    margin-bottom: 0;
}

.lf-post-content p,
.lf-post-content ul,
.lf-post-content ol,
.lf-post-content blockquote,
.lf-post-content table,
.lf-post-content figure {
    margin-top: 0;
    margin-bottom: 1.35em;
}

.lf-post-content h2,
.lf-post-content h3,
.lf-post-content h4 {
    clear: both;
    color: var(--lf-navy);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.lf-post-content h2 {
    margin: 2.15em 0 0.55em;
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    line-height: 1.15;
}

.lf-post-content h3 {
    margin: 1.85em 0 0.55em;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    line-height: 1.25;
}

.lf-post-content h4 {
    margin: 1.55em 0 0.45em;
    font-size: 1.2rem;
    line-height: 1.3;
}

.lf-post-content ul,
.lf-post-content ol {
    padding-left: 1.35em;
}

.lf-post-content li {
    margin-bottom: 0.45em;
    padding-left: 0.18em;
}

.lf-post-content strong,
.lf-post-content b {
    color: #111827;
    font-weight: 800;
}

.lf-post-content blockquote {
    border-left: 5px solid var(--lf-gold);
    border-radius: 18px;
    padding: 22px 24px;
    background: #fff8ea;
    color: #344054;
    font-size: 1.06em;
}

.lf-post-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 22px;
    box-shadow: 0 16px 42px rgba(16, 24, 40, 0.12);
}

.lf-post-content figure img {
    width: 100%;
}

.lf-post-content figcaption {
    margin-top: 10px;
    color: var(--lf-muted);
    font-size: 14px;
    text-align: center;
}

.lf-post-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    border: 1px solid var(--lf-border);
    border-radius: 16px;
    background: #ffffff;
}

.lf-post-content th,
.lf-post-content td {
    border-bottom: 1px solid var(--lf-border);
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.lf-post-content th {
    background: #f2f7fb;
    color: var(--lf-navy);
    font-weight: 800;
}

.lf-post-content .wp-block-button__link,
.lf-post-content a.button,
.lf-post-content .button {
    border-radius: 999px;
    padding: 13px 20px;
    background: var(--lf-navy);
    color: #ffffff !important;
    font-weight: 800;
    text-decoration: none;
}

.lf-page-links {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.lf-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    border-top: 1px solid var(--lf-border);
    padding: 22px clamp(28px, 5vw, 62px);
    background: #fbfcfe;
    font-size: 14px;
    font-weight: 700;
}

.lf-post-tags a {
    display: inline-flex;
    border: 1px solid var(--lf-border);
    border-radius: 999px;
    padding: 7px 12px;
    background: #ffffff;
    color: var(--lf-navy);
    text-decoration: none;
}

.lf-sidebar {
    position: sticky;
    top: 32px;
    display: grid;
    gap: 22px;
}

.lf-toc,
.lf-cta-card,
.lf-author-card,
.lf-related-card,
.lf-post-nav > div {
    border: 1px solid var(--lf-border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 44px rgba(7, 50, 77, 0.08);
}

.lf-toc {
    padding: 24px;
}

.lf-toc h2 {
    margin: 0 0 14px;
    color: var(--lf-navy);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.lf-toc ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lf-toc a {
    display: block;
    border-left: 3px solid transparent;
    padding: 4px 0 4px 12px;
    color: #475467;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
}

.lf-toc .lf-toc-h3 a {
    padding-left: 24px;
    font-size: 13px;
}

.lf-toc a:hover {
    border-left-color: var(--lf-gold);
    color: var(--lf-navy);
}

.lf-cta-card {
    padding: 26px;
    background:
        radial-gradient(circle at 85% 15%, rgba(242, 184, 75, 0.22), transparent 34%),
        linear-gradient(150deg, var(--lf-navy-dark), var(--lf-navy));
    color: #ffffff;
}

.lf-cta-kicker,
.lf-section-heading p,
.lf-author-label {
    margin: 0 0 8px;
    color: var(--lf-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.lf-cta-card .lf-cta-kicker {
    color: var(--lf-gold);
}

.lf-cta-card h2 {
    margin: 0 0 10px;
    color: #ffffff !important;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.16;
}

.lf-cta-card p:not(.lf-cta-kicker) {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.6;
}

.lf-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 18px;
    background: #ffffff;
    color: var(--lf-navy) !important;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(7, 50, 77, 0.20);
}

.lf-author-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    margin-top: 26px;
    padding: 28px;
}

.lf-author-card .avatar {
    border-radius: 50%;
}

.lf-author-card h2 {
    margin: 0 0 8px;
    color: var(--lf-navy);
    font-size: 1.35rem;
}

.lf-author-card p:last-child {
    margin: 0;
    color: #475467;
    line-height: 1.65;
}

.lf-related-posts {
    padding: clamp(42px, 6vw, 70px) 0 18px;
}

.lf-section-heading {
    max-width: 720px;
    margin-bottom: 24px;
}

.lf-section-heading h2 {
    margin: 0;
    color: var(--lf-navy);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.lf-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.lf-related-card {
    overflow: hidden;
}

.lf-related-thumb {
    display: block;
    overflow: hidden;
    background: var(--lf-blue-soft);
    text-decoration: none;
}

.lf-related-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 220ms ease;
}

.lf-related-card:hover .lf-related-thumb img {
    transform: scale(1.04);
}

.lf-related-placeholder {
    display: grid;
    min-height: 180px;
    place-items: center;
    color: var(--lf-navy);
    font-weight: 900;
}

.lf-related-body {
    padding: 20px;
}

.lf-related-body time {
    display: block;
    margin-bottom: 9px;
    color: var(--lf-muted);
    font-size: 13px;
    font-weight: 700;
}

.lf-related-body h3 {
    margin: 0 0 9px;
    font-size: 1.15rem;
    line-height: 1.3;
}

.lf-related-body h3 a {
    color: var(--lf-navy);
    text-decoration: none;
}

.lf-related-body p {
    margin: 0;
    color: #475467;
    font-size: 14px;
    line-height: 1.6;
}

.lf-post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 10px 0 clamp(40px, 6vw, 70px);
}

.lf-post-nav > div {
    min-height: 96px;
}

.lf-post-nav a {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
    color: var(--lf-navy);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.35;
    text-decoration: none;
}

.lf-post-nav span {
    margin-bottom: 5px;
    color: var(--lf-muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lf-comments-wrap {
    padding-bottom: 60px;
}

@media (max-width: 1024px) {
    .lf-hero-grid,
    .lf-content-layout {
        grid-template-columns: 1fr;
    }

    .lf-hero-media {
        max-width: 720px;
    }

    .lf-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .lf-shell {
        width: min(100% - 28px, 1180px);
    }

    .lf-post-hero {
        padding-top: 42px;
    }

    .lf-post-title {
        letter-spacing: -0.04em;
    }

    .lf-post-meta {
        gap: 10px;
        font-size: 14px;
    }

    .lf-meta-separator {
        display: none;
    }

    .lf-content-card,
    .lf-toc,
    .lf-cta-card,
    .lf-author-card,
    .lf-related-card,
    .lf-post-nav > div {
        border-radius: 20px;
    }

    .lf-sidebar,
    .lf-related-grid,
    .lf-post-nav,
    .lf-author-card {
        grid-template-columns: 1fr;
    }

    .lf-post-content {
        padding: 26px 20px;
    }

    .lf-post-content h2 {
        margin-top: 1.75em;
    }
}

.lf-cta-note {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68) !important;
}
