/* ==========================================================================
   Site Full – Policy Page Template CSS (100% Responsivo)
   ========================================================================== */

/* Esconder títulos duplicados e zerar margens/paddings dos containers do tema */
body.sf-policy-page .entry-header,
body.sf-policy-page .entry-title,
body.sf-policy-page h1.entry-title,
body.sf-policy-page .page-header,
body.sf-policy-page header.entry-header,
body.sf-policy-page .wp-block-post-title,
body.page-template-policy-template .entry-header,
body.page-template-policy-template .entry-title,
body.page-template-policy-template h1.entry-title,
body.page-template-policy-template .page-header,
body.page-template-policy-template header.entry-header,
body.page-template-policy-template .wp-block-post-title {
    display: none !important;
}

body.sf-policy-page #primary,
body.sf-policy-page #main,
body.sf-policy-page .site-main,
body.sf-policy-page #content,
body.sf-policy-page .content-area,
body.sf-policy-page main,
body.sf-policy-page .wp-site-blocks,
body.sf-policy-page .entry-content,
body.page-template-policy-template #primary,
body.page-template-policy-template #main,
body.page-template-policy-template .site-main,
body.page-template-policy-template #content,
body.page-template-policy-template .content-area,
body.page-template-policy-template main,
body.page-template-policy-template .wp-site-blocks,
body.page-template-policy-template .entry-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.sf-policy-page .sf-footer,
body.page-template-policy-template .sf-footer {
    margin-top: 0 !important;
}

/* Wrapper principal da página de política */
.sf-policy-wrapper {
    width: 100%;
    min-height: auto;
    padding: 20px 24px 30px;
    background-color: #ffffff;
    box-sizing: border-box;
}

/* Container central limpo */
.sf-policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 0;
    box-shadow: none;
    border: none;
    box-sizing: border-box;
}

/* Tipografia e conteúdo da política */
.sf-policy-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #334155;
    font-size: 16px;
    line-height: 1.75;
}

.sf-policy-content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 16px;
}

.sf-policy-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.sf-policy-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #334155;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.sf-policy-content p {
    margin-top: 0;
    margin-bottom: 1.35rem;
    color: #475569;
}

.sf-policy-content ul,
.sf-policy-content ol {
    margin-top: 0;
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
    color: #475569;
}

.sf-policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.sf-policy-content a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.sf-policy-content a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.sf-policy-content blockquote {
    margin: 1.5rem 0;
    padding: 16px 20px;
    background: #f1f5f9;
    border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    color: #334155;
    font-style: italic;
}

.sf-policy-content hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 2.5rem 0;
}

/* Responsividade total (100% responsivo para mobile e tablet) */
@media (max-width: 768px) {
    .sf-policy-wrapper {
        padding: 16px 16px 24px;
    }

    .sf-policy-container {
        padding: 0;
    }

    .sf-policy-content {
        font-size: 15px;
        line-height: 1.65;
    }

    .sf-policy-content h1 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
        padding-bottom: 12px;
    }

    .sf-policy-content h2 {
        font-size: 1.25rem;
        margin-top: 1.75rem;
    }

    .sf-policy-content h3 {
        font-size: 1.1rem;
    }
}
