/* Download card of a product from the portal (1.26.0): two columns, one on phones */
.rw-block-app { position: relative; padding: 0 0 48px; }
.rw-block-hero + .rw-block-app { margin-top: -24px; }
.rw-app-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; overflow: hidden; border: 1px solid var(--rw-line); border-radius: var(--rw-radius); background: #fff; box-shadow: var(--rw-shadow); }
.rw-app-main { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px; }
.rw-app-head { display: flex; align-items: center; gap: 16px; }
.rw-app-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 56px; height: 56px; overflow: hidden; border-radius: 14px; background: var(--rw-gold-soft); color: var(--rw-gold-dark); font-size: 28px; }
.rw-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.rw-app-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.rw-app-title h2 { margin: 0; font-size: 1.45rem; line-height: 1.2; }
.rw-app-badge { padding: 4px 12px; border-radius: 999px; background: var(--rw-soft); color: var(--rw-ink); font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.rw-app-badge.is-free { background: var(--rw-gold-dark); color: #fff; }
.rw-app-download { min-height: 56px; padding: 14px 34px; font-size: 1.06rem; }
/* Details in one line; the dot goes after an item, so a wrapped line never starts with it */
.rw-app-meta { display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0; color: var(--rw-muted); font-size: .92rem; line-height: 1.5; }
.rw-app-meta span { white-space: nowrap; }
.rw-app-meta span:not(:last-child)::after { content: "·"; padding: 0 8px; }
.rw-app-history { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 650; color: var(--rw-gold-dark); }
.rw-app-history .rw-i, .rw-app-history svg { width: 16px; height: 16px; }
.rw-app-news { padding: 24px 28px; border-top: 1px solid var(--rw-line); background: var(--rw-gold-tint); }
.rw-app-news h3 { margin: 0 0 10px; font-size: 1.02rem; }
.rw-app-news ul { margin: 0; padding-left: 1.2em; }
.rw-app-news li { margin: 6px 0; line-height: 1.5; }

/* Bar at the bottom of the screen on phones, after the card is scrolled past (site.js) */
.rw-app-sticky { display: none; }

@media (max-width: 767px) {
    .rw-block-app { padding: 0 0 32px; }
    .rw-block-hero + .rw-block-app { margin-top: -12px; }
    .rw-app-main { align-items: stretch; padding: 20px; }
    .rw-app-title h2 { font-size: 1.25rem; }
    .rw-app-download { width: 100%; }
    .rw-app-news { padding: 18px 20px; }
    .rw-app-sticky:not([hidden]) { position: fixed; right: 0; bottom: 0; left: 0; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rw-line); background: #fff; box-shadow: 0 -8px 24px rgba(10, 16, 22, .1); animation: rw-app-sticky-in .2s ease-out; }
    .rw-app-sticky-name { flex: 1; min-width: 0; overflow: hidden; font-size: .95rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
    .rw-app-sticky .rw-btn { flex: none; min-height: 44px; padding: 10px 18px; }
    body.rw-app-sticky-on { padding-bottom: 72px; }
    body.rw-app-sticky-on .rw-totop { bottom: 84px; }
}

@media (min-width: 768px) {
    .rw-app-card { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
    .rw-app-card-single { grid-template-columns: minmax(0, 1fr); }
    .rw-app-news { border-top: 0; border-left: 1px solid var(--rw-line); padding: 28px; }
}

@keyframes rw-app-sticky-in { from { transform: translateY(100%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .rw-app-sticky:not([hidden]) { animation: none; }
}
