/* ============================================================
   LARRYFRANKY — INNER PAGES (About, Blog, Contact)
   ============================================================ */

:root {
    --lf-bg:       #0C0C0E;
    --lf-surface:  #141416;
    --lf-border:   rgba(255,255,255,0.08);
    --lf-gold:     #C9A84C;
    --lf-gold-dim: rgba(201,168,76,0.15);
    --lf-white:    #F5F5F5;
    --lf-muted:    #7A7A8A;
    --lf-nav-h:    68px;
    --lf-font:     'Georgia', 'Times New Roman', serif;
    --lf-sans:     -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* Override WordPress theme.json global styles which set html/body to white */
html,
body.lf-inner {
    margin: 0;
    padding: 0;
    background: var(--lf-bg) !important;
    color: var(--lf-white);
    font-family: var(--lf-sans);
}

/* ── NAV ── */
.lf-nav {
    height: var(--lf-nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    border-bottom: 1px solid var(--lf-border);
    position: sticky;
    top: 0;
    background: var(--lf-bg);
    z-index: 100;
}

body.lf-inner.admin-bar .lf-nav { top: 32px; }

.lf-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.lf-logo {
    font-family: var(--lf-font);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lf-white);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.lf-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 32px;
}

.lf-nav-links a {
    font-size: 0.875rem;
    color: var(--lf-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.lf-nav-links a:hover,
.lf-nav-links a.active { color: var(--lf-white); }

.lf-nav-cta {
    background: var(--lf-gold) !important;
    color: #0C0C0E !important;
    padding: 8px 18px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: opacity 0.2s !important;
}

.lf-nav-cta:hover { opacity: 0.85 !important; color: #0C0C0E !important; }

/* ── HAMBURGER + MOBILE MENU ── */
.lf-nav-mobile-right { display: none; }

.lf-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    flex-shrink: 0;
}
.lf-hamburger:hover { background: var(--lf-surface); }
.lf-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--lf-white);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.lf-hamburger.lf-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lf-hamburger.lf-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.lf-hamburger.lf-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lf-mobile-menu {
    display: none;
    position: fixed;
    top: var(--lf-nav-h);
    left: 0;
    right: 0;
    background: var(--lf-bg);
    border-bottom: 1px solid var(--lf-border);
    padding: 8px 24px 20px;
    z-index: 99;
    transform: translateY(-6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}
.lf-mobile-menu.lf-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.lf-mobile-menu-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lf-mobile-menu-links li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--lf-border);
    color: var(--lf-muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}
.lf-mobile-menu-links li:last-child a { border-bottom: none; }
.lf-mobile-menu-links li a:hover { color: var(--lf-white); }

/* ── PAGE WRAPPER ── */
.lf-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 80px 40px 120px;
}

.lf-page-wide {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px 120px;
}

/* ── PAGE HEADER ── */
.lf-page-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lf-gold);
    display: block;
    margin-bottom: 16px;
}

.lf-page-title {
    font-family: var(--lf-font);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--lf-white);
    margin: 0 0 20px;
    letter-spacing: -0.03em;
}

.lf-page-lead {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--lf-muted);
    margin: 0 0 60px;
    max-width: 600px;
}

hr.lf-divider {
    border: none;
    border-top: 1px solid var(--lf-border);
    margin: 48px 0;
}

/* ── ABOUT ── */
.lf-about-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.lf-about-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 16px;
}

.lf-about-photo-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--lf-surface);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--lf-muted);
}

.lf-about-photo-placeholder svg {
    width: 40px;
    height: 40px;
    stroke: var(--lf-muted);
    opacity: 0.2;
}

.lf-about-photo-placeholder p { font-size: 0.75rem; margin: 0; opacity: 0.4; }

.lf-prose p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--lf-muted);
    margin: 0 0 20px;
}

.lf-prose p:last-child { margin-bottom: 0; }

.lf-prose strong { color: var(--lf-white); font-weight: 600; }

.lf-prose a {
    color: var(--lf-gold);
    text-decoration: none;
    border-bottom: 1px solid var(--lf-gold-dim);
}

.lf-prose a:hover { border-color: var(--lf-gold); }

/* Stats row */
.lf-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin: 60px 0;
}

.lf-stat {
    background: var(--lf-surface);
    border: 1px solid var(--lf-border);
    padding: 28px 24px;
    text-align: center;
}

.lf-stat:first-child { border-radius: 10px 0 0 10px; }
.lf-stat:last-child  { border-radius: 0 10px 10px 0; }

.lf-stat-value {
    display: block;
    font-family: var(--lf-font);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--lf-gold);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.lf-stat-label {
    font-size: 0.78rem;
    color: var(--lf-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Expertise tags */
.lf-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}

.lf-tag {
    background: var(--lf-gold-dim);
    color: var(--lf-gold);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 500;
}

/* ── BLOG ── */
.lf-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lf-blog-card {
    background: var(--lf-surface);
    border: 1px solid var(--lf-border);
    border-radius: 12px;
    padding: 28px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s, background 0.2s;
}

.lf-blog-card:hover {
    border-color: rgba(201,168,76,0.3);
    background: rgba(201,168,76,0.03);
}

.lf-blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    color: var(--lf-muted);
}

.lf-blog-card-meta span { color: var(--lf-border); }

.lf-blog-card-title {
    font-family: var(--lf-font);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lf-white);
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.lf-blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--lf-muted);
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lf-blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--lf-border);
}

.lf-read-more {
    font-size: 0.8rem;
    color: var(--lf-gold);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.lf-blog-card:hover .lf-read-more { gap: 10px; }

.lf-no-posts-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--lf-muted);
}

.lf-no-posts-msg h3 { color: var(--lf-white); font-family: var(--lf-font); margin-bottom: 12px; }

/* ── CONTACT ── */
.lf-contact-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.lf-contact-form { display: flex; flex-direction: column; gap: 20px; }

.lf-field { display: flex; flex-direction: column; gap: 8px; }

.lf-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--lf-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.lf-field input,
.lf-field textarea {
    background: var(--lf-surface);
    border: 1px solid var(--lf-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--lf-white);
    font-size: 0.95rem;
    font-family: var(--lf-sans);
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.lf-field input:focus,
.lf-field textarea:focus { border-color: var(--lf-gold); }

.lf-field textarea { resize: vertical; min-height: 140px; }

.lf-field input::placeholder,
.lf-field textarea::placeholder { color: rgba(122,122,138,0.5); }

.lf-submit {
    background: var(--lf-gold);
    color: #0C0C0E;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: var(--lf-sans);
    transition: opacity 0.2s;
    align-self: flex-start;
}

.lf-submit:hover { opacity: 0.85; }

.lf-contact-sidebar { display: flex; flex-direction: column; gap: 16px; }

.lf-contact-info-card {
    background: var(--lf-surface);
    border: 1px solid var(--lf-border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lf-contact-info-card .label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lf-muted);
}

.lf-contact-info-card .value {
    font-size: 0.95rem;
    color: var(--lf-white);
    font-weight: 500;
    text-decoration: none;
}

.lf-contact-info-card .value:hover { color: var(--lf-gold); }

.lf-contact-socials {
    background: var(--lf-surface);
    border: 1px solid var(--lf-border);
    border-radius: 12px;
    padding: 24px;
}

.lf-contact-socials .label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lf-muted);
    display: block;
    margin-bottom: 16px;
}

.lf-contact-socials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.lf-contact-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--lf-border);
    border-radius: 8px;
    padding: 10px;
    text-decoration: none;
    color: var(--lf-muted);
    font-size: 0.72rem;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lf-contact-social-btn:hover {
    color: var(--lf-gold);
    border-color: rgba(201,168,76,0.3);
    background: var(--lf-gold-dim);
}

.lf-contact-social-btn svg { width: 14px; height: 14px; }

.lf-form-success {
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.2);
    border-radius: 8px;
    padding: 16px 20px;
    color: #4ade80;
    font-size: 0.875rem;
}

.lf-form-error {
    background: rgba(248,113,113,0.08);
    border: 1px solid rgba(248,113,113,0.2);
    border-radius: 8px;
    padding: 16px 20px;
    color: #f87171;
    font-size: 0.875rem;
}

/* ── FOOTER ── */
.lf-footer {
    border-top: 1px solid var(--lf-border);
    padding: 28px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lf-footer-copy {
    font-size: 0.78rem;
    color: var(--lf-muted);
    margin: 0;
}

.lf-footer-socials {
    display: flex;
    gap: 14px;
    align-items: center;
}

.lf-footer-social {
    color: var(--lf-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}

.lf-footer-social:hover {
    color: var(--lf-gold);
    background: var(--lf-gold-dim);
}

.lf-footer-social svg { width: 15px; height: 15px; }

/* ── MOBILE ── */
@media (max-width: 768px) {
    .lf-nav { padding: 0 20px; }
    .lf-nav-links { display: none; }
    .lf-nav-mobile-right { display: flex; align-items: center; gap: 10px; }
    .lf-mobile-menu { display: block; }
    .admin-bar .lf-mobile-menu { top: calc(var(--lf-nav-h) + 32px); }
    .lf-page, .lf-page-wide { padding: 48px 20px 80px; }
    .lf-about-grid { grid-template-columns: 1fr; }
    .lf-about-photo, .lf-about-photo-placeholder { max-width: 240px; margin: 0 auto; }
    .lf-stats { grid-template-columns: 1fr; gap: 2px; }
    .lf-stat:first-child { border-radius: 10px 10px 0 0; }
    .lf-stat:last-child  { border-radius: 0 0 10px 10px; }
    .lf-blog-grid { grid-template-columns: 1fr; }
    .lf-contact-grid { grid-template-columns: 1fr; }
    .lf-footer { flex-direction: column; gap: 16px; padding: 24px 20px; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════════
   SINGLE POST
   ══════════════════════════════════════════════════════════════════ */

.lf-single { max-width: 740px; }

.lf-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lf-muted);
    text-decoration: none;
    margin-bottom: 48px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}

.lf-back-link:hover { color: var(--lf-gold); }

/* Header */
.lf-post-header { margin-bottom: 44px; }

.lf-post-header-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 0.78rem;
    color: var(--lf-muted);
}

.lf-post-cat {
    background: var(--lf-gold-dim);
    color: var(--lf-gold);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 999px;
    padding: 4px 14px;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.lf-post-header-date::before,
.lf-post-author::before {
    content: '·';
    margin-right: 10px;
    opacity: 0.4;
}

.lf-post-title-large {
    font-family: var(--lf-font);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.18;
    color: var(--lf-white);
    margin: 0 0 24px;
    letter-spacing: -0.03em;
}

.lf-post-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--lf-muted);
    margin: 0;
    border-left: 3px solid var(--lf-gold);
    padding-left: 18px;
}

/* Featured image */
.lf-post-featured {
    margin-bottom: 52px;
    border-radius: 14px;
    overflow: hidden;
}

.lf-post-featured-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Prose */
.lf-post-content { color: var(--lf-muted); font-size: 1.02rem; line-height: 1.9; }

.lf-post-content p        { margin: 0 0 26px; }
.lf-post-content p:last-child { margin-bottom: 0; }

.lf-post-content h2,
.lf-post-content h3,
.lf-post-content h4 {
    font-family: var(--lf-font);
    color: var(--lf-white);
    margin: 52px 0 18px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.lf-post-content h2 { font-size: 1.65rem; }
.lf-post-content h3 { font-size: 1.3rem; }
.lf-post-content h4 { font-size: 1.08rem; }

.lf-post-content a {
    color: var(--lf-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(201,168,76,0.3);
    transition: border-color 0.2s;
}

.lf-post-content a:hover { border-color: var(--lf-gold); }

.lf-post-content strong { color: var(--lf-white); font-weight: 600; }
.lf-post-content em     { color: rgba(245,245,245,0.8); }

.lf-post-content ul,
.lf-post-content ol { margin: 0 0 26px; padding-left: 24px; }

.lf-post-content li { margin-bottom: 10px; }

.lf-post-content blockquote {
    border-left: 3px solid var(--lf-gold);
    margin: 36px 0;
    padding: 8px 0 8px 22px;
    color: var(--lf-white);
    font-family: var(--lf-font);
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.9;
}

.lf-post-content pre,
.lf-post-content code {
    background: var(--lf-surface);
    border: 1px solid var(--lf-border);
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--lf-gold);
}

.lf-post-content code { padding: 2px 7px; }

.lf-post-content pre {
    padding: 22px;
    overflow-x: auto;
    margin: 0 0 26px;
}

.lf-post-content pre code { background: none; border: none; padding: 0; }

.lf-post-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 8px 0 26px;
}

.lf-post-content hr {
    border: none;
    border-top: 1px solid var(--lf-border);
    margin: 52px 0;
}

/* ── SHARE ── */
.lf-share {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--lf-border);
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.lf-share-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lf-muted);
    white-space: nowrap;
}

.lf-share-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lf-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--lf-sans);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--lf-border);
    background: var(--lf-surface);
    color: var(--lf-muted);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lf-share-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.lf-share-btn:hover {
    color: var(--lf-gold);
    border-color: rgba(201,168,76,0.4);
    background: var(--lf-gold-dim);
}

/* ── PREV / NEXT ── */
.lf-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.lf-post-nav-link {
    background: var(--lf-surface);
    border: 1px solid var(--lf-border);
    border-radius: 12px;
    padding: 24px 28px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.2s, background 0.2s;
}

.lf-post-nav-link:hover {
    border-color: rgba(201,168,76,0.35);
    background: rgba(201,168,76,0.03);
}

.lf-post-nav-next { text-align: right; align-items: flex-end; }

.lf-post-nav-dir {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--lf-gold);
}

.lf-post-nav-title {
    font-family: var(--lf-font);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lf-white);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* ── RELATED POSTS ── */
.lf-related {
    border-top: 1px solid var(--lf-border);
    background: var(--lf-surface);
    padding: 72px 60px 88px;
}

.lf-related-inner { max-width: 1100px; margin: 0 auto; }

.lf-related-heading {
    font-family: var(--lf-font);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--lf-white);
    margin: 0 0 40px;
    letter-spacing: -0.02em;
}

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

/* Thumbnail inside blog cards (related grid) */
.lf-blog-card-thumb {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-bottom: 4px;
}

.lf-blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.lf-blog-card:hover .lf-blog-card-img { transform: scale(1.03); }

/* Mobile — single post */
@media (max-width: 768px) {
    .lf-share       { flex-direction: column; align-items: flex-start; gap: 14px; }
    .lf-post-nav    { grid-template-columns: 1fr; }
    .lf-post-nav-next { text-align: left; align-items: flex-start; }
    .lf-related     { padding: 48px 20px 64px; }
    .lf-related-grid { grid-template-columns: 1fr; }
}
