/* ============================================================
   pagina.css
   Página de artigos / páginas estáticas - padrão OLX Max
   Arquivo usado por page.php / paginas.php
   ============================================================ */

body#page1,
body.olx-page-body {
    background: #f5f5f5;
}

.olx-page-main {
    background:
        radial-gradient(circle at top right, rgba(138, 0, 230, .07), transparent 32%),
        linear-gradient(180deg, #fff 0%, #f5f5f5 56%);
    padding: 34px 20px 58px;
    min-height: 640px;
}

.olx-page-wrap {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.olx-page-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #667085;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.olx-page-breadcrumb a {
    color: #0087e0 !important;
    text-decoration: none;
}

.olx-page-breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.olx-page-breadcrumb span {
    color: #98a2b3;
}

.olx-page-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    align-items: start;
}

.olx-page-article {
    background: #fff;
    border: 1px solid #e1e5ee;
    border-radius: 24px;
    box-shadow: 0 14px 42px rgba(15, 23, 42, .06);
    overflow: hidden;
}

.olx-page-hero {
    position: relative;
    padding: 42px 42px 34px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 8%, rgba(255, 153, 0, .85), transparent 24%),
        linear-gradient(135deg, #4a0086 0%, #8a00e6 58%, #5d00a8 100%);
}

.olx-page-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 16px;
}

.olx-page-hero h1 {
    margin: 0;
    max-width: 860px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -1.2px;
}

.olx-page-cover {
    margin: 0;
    background: #fff;
}

.olx-page-cover img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

.olx-page-content {
    padding: 38px 42px 44px;
    color: #2d3340;
    font-size: 17px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.olx-page-content h1,
.olx-page-content h2,
.olx-page-content h3,
.olx-page-content h4 {
    color: #111827;
    line-height: 1.2;
    font-weight: 900;
    margin: 28px 0 12px;
}

.olx-page-content h1 {
    font-size: 34px;
}

.olx-page-content h2 {
    font-size: 28px;
}

.olx-page-content h3 {
    font-size: 22px;
}

.olx-page-content p {
    margin: 0 0 18px;
}

.olx-page-content a {
    color: #0087e0 !important;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.olx-page-content ul,
.olx-page-content ol {
    margin: 0 0 20px 24px;
    padding: 0;
}

.olx-page-content li {
    margin-bottom: 8px;
}

.olx-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.olx-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0;
    overflow: hidden;
    border-radius: 14px;
}

.olx-page-content table td,
.olx-page-content table th {
    border: 1px solid #e5e7eb;
    padding: 10px;
}

.olx-page-content blockquote {
    margin: 24px 0;
    padding: 18px 20px;
    border-left: 5px solid #8a00e6;
    background: #faf5ff;
    border-radius: 14px;
    color: #42364f;
    font-weight: 700;
}

.olx-page-side {
    display: grid;
    gap: 16px;
}

.olx-page-side-card {
    background: #fff;
    border: 1px solid #e1e5ee;
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
    padding: 22px;
}

.olx-page-side-card strong {
    display: block;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 8px;
}

.olx-page-side-card p {
    margin: 0 0 16px;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.olx-page-side-btn {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(135deg, #ff7a00, #ff9900);
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 12px 26px rgba(255, 122, 0, .22);
}

.olx-page-side-link {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    color: #7b00d9 !important;
    background: #f5eaff;
    border: 1px solid #ead7ff;
    font-weight: 900;
    text-decoration: none !important;
}

@media (max-width: 980px) {
    .olx-page-shell {
        grid-template-columns: 1fr;
    }

    .olx-page-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .olx-page-main {
        padding: 22px 12px 40px;
    }

    .olx-page-hero {
        padding: 30px 24px;
    }

    .olx-page-content {
        padding: 28px 24px 34px;
        font-size: 16px;
    }

    .olx-page-side {
        grid-template-columns: 1fr;
    }
}
