.renewal-page {
    --renewal-border: #dce7ee;
    --renewal-ink: #10273c;
    --renewal-muted: #40566a;
    --renewal-accent: #065f77;
    background: linear-gradient(180deg, #edf7fb, #f8fbfd 29rem, #fff 52rem);
    color: var(--renewal-ink);
    padding-block: clamp(1.15rem, 3.2vw, 2.8rem) clamp(3rem, 7vw, 5rem);
}

.renewal-page .store-crumbs {
    margin: 0 0 clamp(1.4rem, 3.7vw, 2.5rem);
}

.renewal-page .entry-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: clamp(1.8rem, 5.6vw, 4.6rem);
}

.renewal-page .entry-content > * {
    grid-column: 1 / -1;
    min-width: 0;
}

.renewal-page h1,
.renewal-page h2,
.renewal-page h3 {
    color: var(--renewal-ink);
    text-wrap: balance;
}

.renewal-page h1 {
    margin: 0 0 .9rem;
    font-size: clamp(2.35rem, 5.3vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.renewal-page .entry-content:has(> h1:first-child + p)::before {
    content: "";
    grid-area: 1 / 2 / 3 / 3;
    min-height: clamp(17rem, 31vw, 24rem);
    border-radius: 1.2rem;
    background: #d7e7ee url("/wp-content/uploads/2026/09/certificado-digital-renovacao-facil-sem-burocracia-1789155678.webp") center / cover no-repeat;
    box-shadow: 0 15px 35px #163e551a;
}

.renewal-page .entry-content > h1:first-child {
    grid-area: 1 / 1 / 2 / 2;
    align-self: end;
}

.renewal-page .entry-content > h1:first-child + p {
    grid-area: 2 / 1 / 3 / 2;
    margin: 0;
    align-self: start;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.7;
}

.renewal-page h2 {
    margin: clamp(2.65rem, 6vw, 4.6rem) 0 .75rem;
    font-size: clamp(1.7rem, 3.5vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -.03em;
}

.renewal-page .entry-content > p {
    margin: 0 0 .8rem;
    max-width: 78ch;
    color: var(--renewal-muted);
    line-height: 1.68;
}

.renewal-page .entry-content a {
    color: var(--renewal-accent);
    text-underline-offset: .16em;
}

.renewal-page .wp-block-table {
    margin: .65rem 0 .95rem;
    overflow-x: auto;
    border: 1px solid var(--renewal-border);
    border-radius: 1rem;
    background: white;
    box-shadow: 0 8px 24px #163e550a;
}

.renewal-page .wp-block-table table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    font-variant-numeric: tabular-nums;
}

.renewal-page .wp-block-table :is(th, td) {
    padding: clamp(.65rem, 2vw, 1rem) clamp(.55rem, 2.25vw, 1.45rem);
    text-align: left;
    vertical-align: middle;
}

.renewal-page .wp-block-table th {
    color: var(--renewal-muted);
    background: #eaf4f8;
    font-size: .86rem;
}

.renewal-page .wp-block-table th:first-child { width: 35%; }
.renewal-page .wp-block-table th:nth-child(2) { width: 20%; }
.renewal-page .wp-block-table th:nth-child(3) { width: 25%; }
.renewal-page .wp-block-table tr > :last-child { text-align: right; }
.renewal-page .wp-block-table td { border-bottom: 1px solid var(--renewal-border); }
.renewal-page .wp-block-table td:first-child { color: var(--renewal-muted); }
.renewal-page .wp-block-table td strong { color: var(--renewal-ink); }
.renewal-page .wp-block-table tbody tr:nth-child(even) { background: #f8fbfd; }

.renewal-page .wp-block-table td a,
.renewal-page a.wp-element-button {
    display: inline-block;
    border-radius: .55rem;
    background: var(--renewal-accent);
    color: white;
    padding: .65rem .95rem;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.25;
}

.renewal-page .wp-block-table td a:hover,
.renewal-page a.wp-element-button:hover {
    background: #08485a;
    color: white;
}

.renewal-page .wp-block-table figcaption {
    padding: .85rem clamp(.55rem, 2.25vw, 1.45rem);
    color: var(--renewal-muted);
    font-size: .88rem;
    line-height: 1.55;
}

.renewal-page .entry-content > ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin: .25rem 0 1rem;
    padding: 0;
    list-style-position: inside;
}

.renewal-page .entry-content > ol li {
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid var(--renewal-border);
    border-radius: .85rem;
    background: #f8fbfd;
    color: var(--renewal-muted);
    line-height: 1.6;
}

.renewal-page .entry-content > ol li strong { color: var(--renewal-ink); }
.renewal-page .entry-content > ol li::marker { color: var(--renewal-accent); font-weight: 800; }

.renewal-page .entry-content > h3 {
    margin: .65rem 0 0;
    padding: .9rem 1.1rem .3rem;
    border: 1px solid var(--renewal-border);
    border-bottom: 0;
    border-radius: .75rem .75rem 0 0;
    background: #f8fbfd;
    font-size: clamp(1rem, 2vw, 1.16rem);
}

.renewal-page .entry-content > h3 + p {
    max-width: none;
    margin: 0;
    padding: 0 1.1rem .95rem;
    border: 1px solid var(--renewal-border);
    border-top: 0;
    border-radius: 0 0 .75rem .75rem;
    background: #f8fbfd;
}

.renewal-page .entry-content > p:has(> .wp-element-button) {
    max-width: none;
    margin: 1.55rem 0 0;
    padding: clamp(1.15rem, 4vw, 2rem);
    border-radius: .9rem;
    background: #eaf4f8;
    text-align: center;
}

@media (max-width: 760px) {
    .renewal-page .entry-content { grid-template-columns: minmax(0, 1fr); }
    .renewal-page .entry-content > h1:first-child { grid-area: 1 / 1 / 2 / 2; }
    .renewal-page .entry-content > h1:first-child + p { grid-area: 2 / 1 / 3 / 2; }
    .renewal-page .entry-content:has(> h1:first-child + p)::before {
        grid-area: 3 / 1 / 4 / 2;
        min-height: auto;
        aspect-ratio: 16 / 9;
        margin-top: 1.2rem;
    }
}

@media (max-width: 560px) {
    .renewal-page .entry-content > ol { grid-template-columns: minmax(0, 1fr); }
    .renewal-page .wp-block-table table { min-width: 17.25rem; font-size: .78rem; }
    .renewal-page .wp-block-table th { font-size: .76rem; }
    .renewal-page .wp-block-table :is(th, td) { padding: .68rem .35rem; }
    .renewal-page .wp-block-table th:first-child { width: 32%; }
    .renewal-page .wp-block-table th:nth-child(2) { width: 21%; }
    .renewal-page .wp-block-table th:nth-child(3) { width: 23%; }
    .renewal-page .wp-block-table td a { padding: .53rem .34rem; font-size: .75rem; }
}
