/* Blog Memora - estilos da area publica (usa os tokens de public-site.css) */

.blog-hero {
    padding: 130px 0 40px;
    text-align: center;
}

.blog-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    margin-bottom: 12px;
}

.blog-hero p {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 24px 0 60px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(35, 58, 87, 0.10);
}

.blog-card-img {
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    display: block;
    background: var(--navy);
}

.blog-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.blog-card-tags span {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--copper);
    background: rgba(183, 122, 74, 0.10);
    border-radius: 999px;
    padding: 3px 10px;
}

.blog-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--navy);
}

.blog-card-excerpt {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.blog-card-meta {
    margin-top: auto;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}

/* ── Artigo ─────────────────────────────────────────────── */

.blog-article {
    max-width: 760px;
    margin: 0 auto;
    padding: 130px 0 40px;
}

.blog-article-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    line-height: 1.2;
    color: var(--navy);
    margin: 10px 0 14px;
}

.blog-article-meta {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 22px;
}

.blog-article-capa {
    width: 100%;
    border-radius: 18px;
    margin-bottom: 30px;
    display: block;
    background: var(--navy);
}

.blog-body {
    color: #33445c;
    font-size: 1.05rem;
    line-height: 1.75;
}

.blog-body p {
    margin-bottom: 1.2em;
}

.blog-body p.blog-lead {
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 500;
}

.blog-body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.55rem;
    color: var(--navy);
    margin: 1.6em 0 0.6em;
}

.blog-body h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--navy);
    margin: 1.2em 0 0.4em;
}

.blog-body ul {
    list-style: disc;
    padding-left: 1.4em;
    margin-bottom: 1.2em;
}

.blog-body li {
    margin-bottom: 0.4em;
}

.blog-body a {
    color: var(--copper-strong);
    text-decoration: underline;
}

/* ── CTA ────────────────────────────────────────────────── */

.blog-cta {
    margin: 40px 0;
    padding: 28px;
    border-radius: 18px;
    background: var(--navy);
    text-align: center;
}

.blog-cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 8px;
}

.blog-cta-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.blog-cta-btn {
    display: inline-block;
    background: var(--copper);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.blog-cta-btn:hover {
    background: var(--copper-strong);
}

/* ── Relacionados ───────────────────────────────────────── */

.blog-related {
    max-width: 980px;
    margin: 0 auto;
    padding: 10px 0 60px;
}

.blog-related h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 18px;
}

.blog-related .blog-grid {
    padding: 0;
}

/* ── Ads ────────────────────────────────────────────────── */

.blog-ad {
    margin: 24px 0;
    text-align: center;
}

/* ── Aprovação (página do dono) ─────────────────────────── */

.blog-aprovacao {
    max-width: 760px;
    margin: 0 auto;
    padding: 120px 0 60px;
}

.blog-aprovacao-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 26px;
}

.blog-aprovacao-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-btn-aprovar,
.blog-btn-rejeitar {
    flex: 1;
    min-width: 180px;
    border: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 24px;
    border-radius: 999px;
    transition: filter 0.15s ease;
}

.blog-btn-aprovar {
    background: #1f7a4d;
    color: #fff;
}

.blog-btn-rejeitar {
    background: #fff;
    color: #b3261e;
    border: 1px solid #e3b6b3;
}

.blog-btn-aprovar:hover,
.blog-btn-rejeitar:hover {
    filter: brightness(0.95);
}

/* ── Paginação ──────────────────────────────────────────── */

.blog-paginacao {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-bottom: 60px;
}

.blog-paginacao a,
.blog-paginacao span {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
    text-decoration: none;
    background: #fff;
}

.blog-paginacao span.atual {
    background: var(--copper);
    border-color: var(--copper);
    color: #fff;
}

@media (max-width: 640px) {
    .blog-article {
        padding-top: 110px;
    }

    .blog-hero {
        padding-top: 110px;
    }
}
