:root {
    --lpr-ink: #000817;
    --lpr-white: #ffffff;
    --lpr-soft: #ebebeb;
    --lpr-muted: #687080;
    --lpr-line: #dde1e7;
    --lpr-green: #25d366;
    --lpr-max: 1160px;
    --lpr-reading: 780px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lpr-blog-page,
body.lpr-single-post-page {
    margin: 0;
    color: var(--lpr-ink);
    background: var(--lpr-white);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.admin-bar .lpr-site-header { top: 32px; }

.lpr-shell {
    width: min(calc(100% - 48px), var(--lpr-max));
    margin: 0 auto;
}

.lpr-site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    width: 100%;
    background: var(--lpr-ink);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.lpr-header-inner {
    width: min(calc(100% - 48px), var(--lpr-max));
    height: 92px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.lpr-brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}

.lpr-brand-image {
    display: block;
    width: 220px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
    object-position: left center;
}

.lpr-primary-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.lpr-primary-nav a {
    color: rgba(255,255,255,.94);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: opacity .18s ease;
}

.lpr-primary-nav a:hover,
.lpr-primary-nav a:focus-visible { opacity: .68; }

.lpr-nav-blog {
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255,255,255,.85);
}

.lpr-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.lpr-menu-toggle span {
    display: block;
    height: 3px;
    width: 24px;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--lpr-white);
}

.lpr-blog-hero {
    padding: 94px 0 76px;
    background: var(--lpr-soft);
}

.lpr-eyebrow {
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

.lpr-blog-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(48px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 800;
}

.lpr-blog-hero p {
    max-width: 620px;
    margin: 28px 0 0;
    color: #303744;
    font-size: 20px;
    line-height: 1.45;
}

.lpr-blog-listing { padding: 72px 0 100px; }

.lpr-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.lpr-post-card {
    min-width: 0;
    overflow: hidden;
    background: var(--lpr-white);
    border: 1px solid var(--lpr-line);
    border-radius: 2px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.lpr-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0,8,23,.08);
}

.lpr-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f2f3f5;
}

.lpr-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.lpr-post-card:hover .lpr-card-image img { transform: scale(1.015); }

.lpr-card-body { padding: 28px 26px 30px; }

.lpr-card-meta {
    margin-bottom: 16px;
    color: var(--lpr-muted);
    font-size: 13px;
    font-weight: 600;
}

.lpr-post-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.14;
    letter-spacing: -.025em;
}

.lpr-post-card h2 a {
    color: inherit;
    text-decoration: none;
}

.lpr-post-card p {
    margin: 0 0 24px;
    color: #4e5664;
    font-size: 16px;
    line-height: 1.55;
}

.lpr-read-more {
    color: var(--lpr-ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.lpr-read-more span { margin-left: 5px; }

.lpr-pagination { margin-top: 52px; }
.lpr-pagination ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
}
.lpr-pagination a,
.lpr-pagination span {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lpr-line);
    color: var(--lpr-ink);
    text-decoration: none;
    font-size: 14px;
}
.lpr-pagination .current {
    color: var(--lpr-white);
    background: var(--lpr-ink);
    border-color: var(--lpr-ink);
}

.lpr-empty-state {
    max-width: 660px;
    padding: 48px;
    border: 1px solid var(--lpr-line);
}
.lpr-empty-state h2 { margin: 0 0 12px; font-size: 28px; }
.lpr-empty-state p { margin: 0; color: var(--lpr-muted); line-height: 1.6; }

.lpr-article-header {
    padding: 82px 0 52px;
    background: var(--lpr-white);
}

.lpr-article-shell {
    width: min(calc(100% - 48px), var(--lpr-reading));
    margin: 0 auto;
}

.lpr-back-blog {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--lpr-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lpr-article-header h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 66px);
    line-height: 1.02;
    letter-spacing: -.045em;
    font-weight: 800;
}

.lpr-article-meta {
    margin-top: 24px;
    color: var(--lpr-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.lpr-meta-separator {
    color: #a8b0bd;
}

.lpr-article-author,
.lpr-article-oab {
    white-space: nowrap;
}

.lpr-featured-shell {
    width: min(calc(100% - 48px), 1020px);
    margin: 0 auto 58px;
}

.lpr-featured-image {
    margin: 0;
    overflow: hidden;
    background: #f3f4f6;
}

.lpr-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.lpr-article-content {
    padding-bottom: 40px;
    font-family: Georgia, 'Times New Roman', serif;
    color: #17202e;
    font-size: 19px;
    line-height: 1.78;
}

.lpr-article-content > *:first-child { margin-top: 0; }

.lpr-article-content p { margin: 0 0 1.35em; }
.lpr-article-content h2,
.lpr-article-content h3,
.lpr-article-content h4 {
    color: var(--lpr-ink);
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: -.025em;
}
.lpr-article-content h2 {
    margin: 2em 0 .7em;
    font-size: 34px;
    line-height: 1.12;
}
.lpr-article-content h3 {
    margin: 1.7em 0 .65em;
    font-size: 25px;
    line-height: 1.2;
}
.lpr-article-content ul,
.lpr-article-content ol { margin: 0 0 1.45em; padding-left: 1.35em; }
.lpr-article-content li { margin-bottom: .55em; }
.lpr-article-content a { color: #123a72; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lpr-article-content blockquote {
    margin: 2em 0;
    padding: 4px 0 4px 24px;
    border-left: 3px solid var(--lpr-ink);
    color: #364052;
    font-style: italic;
}
.lpr-article-content img { max-width: 100%; height: auto; }

.lpr-article-end { padding: 14px 0 86px; }
.lpr-article-divider { height: 1px; margin-bottom: 26px; background: var(--lpr-line); }
.lpr-article-end a { color: var(--lpr-ink); text-decoration: none; font-weight: 800; }

.footer-resende {
    width: 100%;
    box-sizing: border-box;
    padding: 60px 20px 30px;
    color: #f1f5f9;
    background-color: #000817;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.footer-resende-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    display: block;
    width: auto;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.footer-resende h4 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.footer-resende p {
    margin: 0 0 10px;
    color: #94a3b8;
}

.footer-resende a {
    color: #94a3b8;
    text-decoration: none;
    transition: color .3s ease;
}

.footer-resende a:hover,
.footer-resende a:focus-visible {
    color: #1cfc84;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-bottom p { margin: 0; }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.lpr-whatsapp {
    position: fixed;
    z-index: 1200;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    color: #001a0c;
    background: var(--lpr-green);
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease;
}
.lpr-whatsapp:hover,
.lpr-whatsapp:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0,0,0,.24);
}
.lpr-whatsapp svg { width: 24px; height: 24px; fill: currentColor; }

@media (max-width: 920px) {
    .lpr-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lpr-primary-nav { gap: 20px; }
    .lpr-primary-nav a { font-size: 14px; }
}

@media (max-width: 767px) {
    body.admin-bar .lpr-site-header { top: 46px; }
    .lpr-shell,
    .lpr-header-inner,
    .lpr-footer-inner,
    .lpr-article-shell,
    .lpr-featured-shell { width: min(calc(100% - 38px), var(--lpr-max)); }

    .lpr-header-inner { height: 72px; }
    .lpr-brand-image { width: 145px; max-height: 38px; }

    .lpr-menu-toggle { display: block; }

    .lpr-primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 19px 18px;
        background: var(--lpr-ink);
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .lpr-primary-nav.is-open { display: flex; }
    .lpr-primary-nav a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
        font-size: 15px;
    }
    .lpr-primary-nav a:last-child { border-bottom: 0; }
    .lpr-nav-blog { border-bottom: 0; }

    .lpr-blog-hero { padding: 62px 0 52px; }
    .lpr-blog-hero h1 { font-size: 46px; }
    .lpr-blog-hero p { margin-top: 22px; font-size: 17px; }
    .lpr-blog-listing { padding: 44px 0 72px; }
    .lpr-post-grid { grid-template-columns: 1fr; gap: 20px; }
    .lpr-card-body { padding: 24px 22px 26px; }

    .lpr-article-header { padding: 54px 0 38px; }
    .lpr-article-header h1 { font-size: 40px; }
    .lpr-featured-shell { margin-bottom: 38px; }
    .lpr-article-content { font-size: 18px; line-height: 1.72; }
    .lpr-article-content h2 { font-size: 29px; }
    .lpr-article-content h3 { font-size: 23px; }
    .lpr-article-end { padding-bottom: 62px; }

    .footer-resende { padding: 50px 19px 28px; }
    .footer-resende-container {
        padding: 0;
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    .footer-col { min-width: 0; }
    .footer-logo { margin: 0 auto 20px; }

    .lpr-whatsapp {
        right: 16px;
        bottom: 16px;
        min-width: 54px;
        min-height: 54px;
        justify-content: center;
        padding: 0 15px;
    }
    .lpr-whatsapp span { display: none; }
}

@media (max-width: 380px) {
    .lpr-brand-image { width: 132px; }
    .lpr-article-header h1 { font-size: 36px; }
}
