/* Page Politicas - AGROSOIL */
/* Extracted from inc/page-politicas.php */

/* ===== FUENTE GLOBAL POLITICAS ===== */
.policy-hero,
.policy-hero *,
.policy-page-wrapper,
.policy-page-wrapper * {
    font-family: 'Poppins', sans-serif !important;
}

/* ===== FONDO PAGINA ===== */
body.is-policy-page {
    background: #f6f7f0 !important;
}

/* ===== OCULTAR FEATURED TITLE Y RESETEAR WRAPPERS ===== */
body.is-policy-page #featured-title {
    display: none !important;
}
body.is-policy-page #main-content,
body.is-policy-page #content-wrap,
body.is-policy-page #site-content,
body.is-policy-page #inner-content,
body.is-policy-page article.page-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    overflow: visible !important;
}

/* ===== HERO AGROSOIL ===== */
.policy-hero {
    background: linear-gradient(135deg, #4a7c10 0%, #80bc00 50%, #6aa300 100%);
    padding: 140px 30px 80px;
    margin: 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.policy-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.policy-hero::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #fff, #39a6de, #fff);
}
.policy-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.policy-hero .policy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.policy-hero h1 {
    color: #fff !important;
    font-size: clamp(36px, 8vw, 48px);
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    text-shadow: none !important;
}
.policy-hero h1 .highlight {
    color: #fff !important;
    display: block;
    text-shadow: none !important;
}
.policy-hero .policy-badge {
    color: #fff !important;
    text-shadow: none !important;
}
.policy-hero p {
    color: #fff !important;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin: 20px 0 0;
    max-width: 750px;
    line-height: 1.7;
    text-shadow: none;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.policy-page-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 30px 80px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
}
.policy-content {
    align-self: start;
}

/* ===== SIDEBAR ===== */
.policy-sidebar {
    position: sticky;
    top: 120px;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    border: 1px solid rgba(128, 188, 0, 0.1);
}
.policy-sidebar h3 {
    color: #242e33;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #80bc00;
}
.policy-sidebar ul { list-style: none; padding: 0; margin: 0; }
.policy-sidebar li { margin-bottom: 4px; }
.policy-sidebar a {
    display: block;
    padding: 14px 18px;
    color: #555;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.25s ease;
    border-left: 4px solid transparent;
    line-height: 1.5;
}
.policy-sidebar a:hover,
.policy-sidebar a.active {
    background: rgba(128, 188, 0, 0.08);
    color: #80bc00;
    border-left-color: #80bc00;
    font-weight: 600;
}

/* ===== CONTENIDO ===== */
.policy-content {
    background: #fff;
    border-radius: 16px;
    padding: 55px 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.policy-content > h1:first-child {
    display: none;
}
.policy-content h2 {
    color: #242e33;
    font-size: 28px;
    font-weight: 800;
    margin: 50px 0 24px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
    line-height: 1.3;
}
.policy-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}
.policy-content h3 {
    color: #242e33;
    font-size: 22px;
    font-weight: 700;
    margin: 35px 0 18px;
    line-height: 1.3;
}
.policy-content h4 {
    color: #333;
    font-size: 19px;
    font-weight: 600;
    margin: 28px 0 14px;
}
.policy-content p {
    color: #444;
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 20px;
}
.policy-content ul,
.policy-content ol {
    color: #444;
    font-size: 18px;
    line-height: 1.9;
    padding-left: 30px;
    margin: 20px 0;
}
.policy-content li {
    margin-bottom: 14px;
}
.policy-content strong {
    color: #242e33;
    font-weight: 700;
}
.policy-content a {
    color: #80bc00;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(128, 188, 0, 0.3);
    transition: all 0.2s ease;
}
.policy-content a:hover {
    color: #6aa300;
    border-bottom-color: #80bc00;
}
.policy-content hr {
    border: none;
    border-top: 3px solid #80bc00;
    margin: 50px 0;
    width: 80px;
}

/* ===== RESPONSIVE TABLET ===== */
@media (max-width: 1024px) {
    .policy-page-wrapper {
        grid-template-columns: 1fr;
        padding: 30px 20px 60px;
        gap: 30px;
    }
    .policy-sidebar {
        position: relative;
        top: 0;
        order: -1;
        max-height: none;
    }
    .policy-content {
        padding: 40px 30px;
    }
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 600px) {
    .policy-hero {
        padding: 120px 20px 50px;
    }
    .policy-hero p {
        font-size: 16px;
    }
    .policy-content {
        padding: 30px 22px;
    }
    .policy-content h2 {
        font-size: 24px;
    }
    .policy-content h3 {
        font-size: 20px;
    }
    .policy-content p,
    .policy-content ul,
    .policy-content ol {
        font-size: 16px;
    }
    .policy-sidebar a {
        font-size: 15px;
        padding: 12px 14px;
    }
}

.policy-content h2[id] { scroll-margin-top: 120px; }
