/* Membership tiers (PLAN_FORUM.md §21): the three tier cards on Predplatné and the upgrade card. */
.tier-head { max-width: 46rem; margin-bottom: 1.5rem; }
.tier-head .lead { margin-bottom: 0.75rem; }

.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; margin-bottom: 1.75rem; }
.tier-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--line); border-radius: 14px; padding: 1.25rem 1.35rem 1.35rem; }
.tier-card[data-tier="komunita"] { border-top-color: var(--orange); }
.tier-card[data-tier="podpora"] { border-top-color: var(--blue); }
.tier-card.is-current { background: #fff7e8; border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.tier-card[data-tier="podpora"].is-current { background: #eaf4fa; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
/* Body font, not Belleza: Belleza draws the caron of ľ/ď/ť as a loose mark above the letter ("Čitateľ"). */
.tier-card h2 { font: 600 1.45rem/1.35 var(--text); margin: 0 0 0.35rem; }
.tier-price { font: 400 2.1rem/1.1 var(--display); color: var(--ink); margin: 0; }
.tier-price span { font: 400 1rem/1.2 var(--text); color: var(--ink-2); }
.tier-alt { margin: 0.15rem 0 0; color: var(--ink-2); font-size: 0.95rem; }
.tier-what { margin: 0.9rem 0 0.6rem; font-weight: 600; color: var(--ink); }
.tier-points { margin: 0 0 1.1rem; padding-left: 1.2rem; color: var(--ink-2); }
.tier-points li { margin-bottom: 0.25rem; }
.tier-foot { margin: auto 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.tier-foot form { margin: 0; }
.tier-note { color: var(--ink-2); font-size: 0.92rem; }
.tier-pay { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
.tier-billing, .tier-pay .card { max-width: 46rem; }
.tier-billing, .tier-pay .card, .tier-grid ~ .card { margin-bottom: 1.5rem; }

@media (max-width: 980px) { .tier-grid { grid-template-columns: minmax(0, 1fr); } .tier-card { padding-inline: 1.1rem; } }

/* The upgrade card: where a Čitateľ would see the editor. */
.upgrade-card { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; justify-content: space-between; margin: 0 0 1.25rem; padding: 1.1rem 1.35rem; background: #fff7e8; border: 1px solid #f0cf94; border-left: 6px solid var(--orange); border-radius: 10px; }
.upgrade-body { flex: 1 1 22rem; max-width: 46rem; }
.upgrade-card h2 { font-size: 1.35rem; margin: 0 0 0.25rem; }
.upgrade-card p { margin: 0 0 0.4rem; }
.upgrade-price { color: var(--ink-2); }
.upgrade-price strong { color: var(--ink); font-size: 1.15rem; }
.upgrade-action { margin: 0; }
@media (max-width: 560px) { .upgrade-action, .upgrade-action .btn { width: 100%; text-align: center; } }

/* A topic the viewer's tier may not read: title only, with a lock. */
.lock { display: inline-block; width: 0.9em; height: 0.9em; margin-right: 0.35em; vertical-align: -0.05em; background: currentColor; -webkit-mask: url(/static/img/lock.svg) center / contain no-repeat; mask: url(/static/img/lock.svg) center / contain no-repeat; color: var(--ink-2); }
.topic-row.is-locked .topic-link { color: var(--ink-2); }
.tier-banner { margin: 0 0 1rem; }
.join-tier { font: 400 1rem/1.2 var(--text); color: var(--ink-2); }
