/*
Theme Name: SNZ Theme
Theme URI: https://plugintema.com.br
Author: Plugin Tema
Author URI: https://plugintema.com.br
Description: Tema mínimo do SiteNoZap para renderização Code-First controlada pelo SiteNoZap Visual Renderer.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: snz-theme
*/

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #111827;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

* {
  box-sizing: border-box;
}

.snz-page {
  min-height: 100vh;
}

/* SNW Blog Templates */
.snz-theme-body {
    margin: 0;
    background: #fbf7ef;
    color: #261f18;
}

.snz-blog-wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.snz-blog-header {
    border-bottom: 1px solid rgba(38, 31, 24, .12);
    background: rgba(251, 247, 239, .92);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.snz-blog-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.snz-blog-brand {
    color: #261f18;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -.03em;
}

.snz-blog-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.snz-blog-nav a {
    color: #5d5144;
    text-decoration: none;
    font-weight: 700;
}

.snz-blog-main {
    min-height: 70vh;
}

.snz-blog-footer {
    margin-top: 80px;
    padding: 32px 0;
    border-top: 1px solid rgba(38, 31, 24, .12);
    color: #6f6255;
}

.snz-archive-hero,
.snz-single-hero {
    padding: 76px 0 36px;
    max-width: 820px;
}

.snz-eyebrow,
.snz-blog-meta,
.snz-breadcrumb {
    font-size: 14px;
    color: #8a6d4f;
    font-weight: 800;
    letter-spacing: .02em;
}

.snz-breadcrumb {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 32px;
}

.snz-breadcrumb a {
    color: #8a6d4f;
    text-decoration: none;
}

.snz-archive-hero h1,
.snz-single-hero h1 {
    font-size: clamp(42px, 6vw, 78px);
    line-height: .96;
    letter-spacing: -.06em;
    margin: 12px 0 18px;
}

.snz-archive-hero p,
.snz-single-excerpt {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
    color: #5d5144;
}

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

.snz-blog-card {
    background: #fffaf1;
    border: 1px solid rgba(38, 31, 24, .12);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(38, 31, 24, .08);
}

.snz-blog-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.snz-blog-card-media {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eadfce;
}

.snz-blog-card-media img,
.snz-single-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.snz-blog-card-content {
    padding: 24px;
}

.snz-blog-card h2 {
    margin: 10px 0;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.snz-blog-card p {
    color: #65584b;
    line-height: 1.55;
}

.snz-blog-read-more {
    display: inline-flex;
    margin-top: 12px;
    font-weight: 800;
    color: #8a4f2a;
}

.snz-single {
    max-width: 920px;
}

.snz-single-media {
    margin: 0 0 40px;
    border-radius: 34px;
    overflow: hidden;
    background: #eadfce;
}

.snz-single-content {
    font-size: 19px;
    line-height: 1.8;
    color: #3d3329;
}

.snz-single-content h2,
.snz-related-posts h2,
.snz-post-cta h2 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.04;
    letter-spacing: -.05em;
    margin-top: 48px;
}

.snz-post-cta {
    margin: 56px 0;
    padding: 36px;
    border-radius: 32px;
    background: #261f18;
    color: #fff8ec;
}

.snz-post-cta p {
    color: rgba(255, 248, 236, .78);
}

.snz-post-cta a {
    display: inline-flex;
    margin-top: 12px;
    padding: 14px 20px;
    border-radius: 999px;
    background: #d9a15f;
    color: #261f18;
    text-decoration: none;
    font-weight: 900;
}

.snz-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid rgba(38, 31, 24, .12);
    border-bottom: 1px solid rgba(38, 31, 24, .12);
}

.snz-post-nav a {
    color: #8a4f2a;
    font-weight: 800;
    text-decoration: none;
}

.snz-related-posts {
    margin-top: 56px;
}

.snz-pagination {
    margin-top: 40px;
}

.search-form {
    display: flex;
    gap: 12px;
    margin: 0 0 32px;
}

.search-field {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(38, 31, 24, .18);
    border-radius: 999px;
}

.search-submit {
    padding: 14px 18px;
    border: 0;
    border-radius: 999px;
    background: #261f18;
    color: #fff8ec;
    font-weight: 900;
}

@media (max-width: 780px) {
    .snz-blog-wrap {
        width: min(100% - 28px, 1120px);
    }

    .snz-blog-header-inner,
    .snz-post-nav,
    .search-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .snz-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .snz-archive-hero,
    .snz-single-hero {
        padding: 44px 0 28px;
    }

    .snz-post-cta {
        padding: 26px;
    }
}
