/*
 * /obnovit/<slug>/ renewal landing pages. Layout only — colour/type defer to
 * the active theme's palette tokens (--pb-*) with neutral fallbacks, matching
 * assets/lapsed-renewal.css.
 */

/* --- Hero ---------------------------------------------------------------- */
.pb-renewal-hero {
    margin: 0 0 2rem;
}

.pb-renewal-hero .pb-glyph {
    margin-bottom: 1rem;
}

.pb-renewal-hero__versions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 0.75rem;
    font-family: var(--pb-font-mono, ui-monospace, "JetBrains Mono", monospace);
}

.pb-renewal-chip {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.9em;
    font-weight: 600;
    border: 1px solid var(--pb-line, #e0d9c8);
}

.pb-renewal-chip--old {
    color: var(--pb-ink-mute, #6b7785);
    background: var(--pb-panel, #faf6ee);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

/* Accent-tinted (not solid-filled) so the standalone "Aktuálna verzia" badge
   doesn't compete with the solid-accent CTA button sitting right below it —
   the button stays the only strong-accent element in the hero. */
.pb-renewal-chip--new {
    color: var(--pb-accent, #b6541e);
    background: var(--pb-accent-soft, #f4e4d8);
    border-color: var(--pb-accent, #b6541e);
}

.pb-renewal-hero__arrow {
    color: var(--pb-ink-mute, #6b7785);
}

.pb-renewal-hero__behind {
    color: var(--pb-accent, #b6541e);
    font-weight: 600;
    font-size: 0.9em;
}

.pb-renewal-hero__secnote {
    margin: 0 0 1rem;
    font-weight: 600;
    font-size: 0.95em;
    color: var(--pb-danger, #c0392b);
}

.pb-renewal-hero__cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.25rem 0 0;
}

/* Primary renewal CTA. Self-contained button: the redesigned theme only
   defines a `.button` box inside WooCommerce contexts (ul.products li.product,
   .woocommerce forms), so a plain `<a class="button">` in normal page content
   inherited fill+colour from us but NO shape — rendering as a sharp, padless
   accent strip. We now mirror the theme's button atom (.wp-element-button):
   inline-block, accent fill, sans, 4px radius, comfortable padding. */
.pb-renewal-cta {
    display: inline-block;
    padding: 12px 22px;
    background: var(--pb-accent, #b6541e);
    color: var(--pb-accent-ink, #fff);
    border: 1px solid var(--pb-accent, #b6541e);
    border-radius: var(--pb-radius-sm, 4px);
    font-family: var(--pb-sans, sans-serif);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-decoration: none;
    transition: filter 120ms ease;
}
.pb-renewal-cta:hover,
.pb-renewal-cta:focus {
    filter: brightness(0.92);
    color: var(--pb-accent-ink, #fff);
}

.pb-renewal-hero__cta-note {
    color: var(--pb-ink-mute, #6b7785);
    font-size: 0.9em;
}

/* --- Buckets -------------------------------------------------------------- */
.pb-renewal-buckets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1.75rem 0 2rem;
}

/* Match the site's canonical card (surface + hairline + soft shadow, see
   .pb-plugin-card / .pb-benefits in the theme) but keep a thin left edge as an
   urgency cue. */
.pb-renewal-bucket {
    padding: 1.25rem 1.5rem 1.35rem;
    border: 1px solid var(--pb-line, #e0d9c8);
    border-left: 3px solid var(--pb-line, #e0d9c8);
    border-radius: var(--pb-radius-md, 8px);
    background: var(--pb-surface, #ffffff);
    box-shadow: 0 1px 2px rgb(15 29 46 / 0.05);
}

/* Security leads the urgency hierarchy — give it the accent edge. */
.pb-renewal-bucket--security {
    border-left-color: var(--pb-danger, #c0392b);
}

.pb-renewal-bucket--compat {
    border-left-color: var(--pb-accent, #b6541e);
}

.pb-renewal-bucket--features {
    border-left-color: var(--pb-line, #e0d9c8);
}

.pb-renewal-bucket__head {
    margin: 0 0 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--pb-line-soft, #ebe4d2);
    font-family: var(--pb-sans, sans-serif);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--pb-ink, #0f1d2e);
}

.pb-renewal-bucket ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--pb-ink-soft, #3a4858);
    font-size: 0.95em;
}

.pb-renewal-bucket li {
    margin: 0.4rem 0;
    line-height: 1.5;
}
