/* /renew-subscription (round 10, 2026-10-22). Loaded only by page-renew-subscription.php. */

/* Hero: both columns stretch to the same height so the panel never leaves a blank block. */
.p10-renew .p10-hero-inner { align-items: stretch; }
.p10-renew .p10r-copy { display: flex; flex-direction: column; justify-content: center; }
.p10-renew .p10-hero-media img { object-position: 60% 50%; }
.p10-renew .p10-crumbs { flex-wrap: wrap; }
.p10r-panel { display: flex; flex-direction: column; gap: 1.1rem; padding: clamp(1.35rem, 2.2vw, 2rem); border: 1px solid var(--b-line-strong); border-radius: calc(var(--b-radius) * 1.1); background: linear-gradient(180deg, rgba(20, 20, 24, 0.86), rgba(10, 10, 15, 0.92)); box-shadow: var(--b-shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.p10r-panel-kicker { margin: 0; display: flex; align-items: center; gap: 0.55rem; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--b-crimson-bright); }
.p10r-panel-kicker svg { width: 1.1rem; height: 1.1rem; }
.p10r-panel-price { display: grid; gap: 0.2rem; padding: 1rem 1.1rem; border-radius: 1rem; border: 1px solid rgba(248, 113, 113, 0.28); background: radial-gradient(120% 140% at 100% 0%, rgba(220, 38, 38, 0.22), transparent 60%), rgba(255, 255, 255, 0.02); }
.p10r-panel-price span { font-size: 0.85rem; color: var(--b-muted); font-weight: 600; }
.p10r-panel-price strong { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.04em; color: #fff; }
.p10r-panel-price small { color: var(--b-soft); font-size: 0.88rem; line-height: 1.5; }
.p10r-ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.p10r-ticks li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--b-soft); line-height: 1.45; font-size: 0.95rem; }
.p10r-ticks strong { color: #fff; }
.p10r-ticks svg { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; color: #4ade80; }
.p10r-panel-foot { margin: 0; padding-top: 1rem; border-top: 1px solid var(--b-line); display: flex; gap: 0.55rem; align-items: center; color: #e4e4e7; font-size: 0.9rem; font-weight: 600; }
.p10r-panel-foot svg { flex: none; width: 1.05rem; height: 1.05rem; color: var(--b-crimson-bright); }

/* Cards stretch to equal heights inside the fill grids. */
.p10-renew .p10-fill > .p10-card { height: 100%; }

/* Numbered steps. */
.p10r-steps { margin: 0; padding: 0; list-style: none; }
.p10r-num { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; border-radius: 999px; background: var(--b-grad-crimson); color: #fff; font-weight: 800; font-size: 1.05rem; box-shadow: 0 10px 30px -10px rgba(220, 38, 38, 0.7); }

/* Comparison table. */
.p10r-compare { min-width: 520px; }
.p10r-compare td:nth-child(2) { color: #fff; font-weight: 600; }
.p10r-compare td { color: var(--b-soft); }

/* FAQ: two columns of accordion cards; rows stretch so neighbours stay the same height. */
.p10r-faq { align-items: stretch; }
.p10r-q { border: 1px solid var(--b-line); border-radius: var(--b-radius); background: var(--b-grad-panel); padding: 0 1.25rem; }
.p10r-q[open] { border-color: rgba(248, 113, 113, 0.35); }
.p10r-q summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 2rem; gap: 1rem; align-items: center; padding: 1.15rem 0; cursor: pointer; }
.p10r-q summary::-webkit-details-marker { display: none; }
.p10r-q summary:focus-visible { outline: 2px solid var(--b-crimson-bright); outline-offset: 3px; border-radius: 0.75rem; }
.p10r-q h3 { margin: 0; font-size: 1.05rem; line-height: 1.4; color: #fff; font-weight: 700; }
.p10r-q[open] .faq5-toggle { background: var(--b-crimson); border-color: var(--b-crimson); }
.p10r-q[open] .faq5-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.p10r-q p { margin: 0 0 1.25rem; color: var(--b-soft); line-height: 1.65; }
.p10r-q p a { color: #fff; text-decoration: underline; text-decoration-color: rgba(248, 113, 113, 0.6); text-underline-offset: 3px; }

/* Related reading: full-width chip row. */
.p10r-reading { padding-bottom: 0; }
.p10r-reading .p10-head { margin-bottom: 1.25rem; }
.p10r-reading .p10-h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }

/* Pricing cards: keep the savings badge on one line where the card allows. */
.p10-renew .price-card-v3-save { display: inline-block; white-space: nowrap; max-width: 100%; }

.p10-renew .p10-cta .p10-actions { justify-content: flex-start; }

/* Hero balance (checked at 1440 and 1024): a calmer H1 and evenly spread panel content. */
.p10-renew .p10-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.7rem); max-width: 15em; }
.p10-renew .p10-crumbs + .eyebrow { margin-top: 1rem; }
.p10r-panel { justify-content: space-between; }
.p10r-panel-cta { justify-content: center; width: 100%; }
.p10r-panel-foot { margin-top: 0; }

/* Shared pricing block, scoped to this page: tighter vertical rhythm, and the "Not sure about
   the term?" tip is hidden here because it promises bonus time, which renewals do not get. */
.p10-renew .pricing-stage { padding-block: clamp(3rem, 6vw, 5rem); }
.p10-renew .pricing-v3-guidance > div:first-child { display: none; }
@media (min-width: 768px) { .p10-renew .pricing-v3-guidance { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } .p10-renew .pricing-guidance-links { flex-direction: column; grid-column: auto; } }

.p10-renew .p10-cta h2 { font-weight: 760; }

@media (max-width: 639px) {
  .p10r-compare { min-width: 0; font-size: 0.9rem; }
  .p10r-compare th, .p10r-compare td { padding: 0.8rem 0.7rem; }
  .p10r-compare tbody th { white-space: normal; }
}
@media (max-width: 479px) {
  .p10-renew .p10-actions > a { flex: 1 1 100%; justify-content: center; }
}
