/* the online-exam band (exams-band.html): home page and /konkur */
.reb { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; margin: 8px 0 36px; padding: 32px;
  border-radius: 26px; background: linear-gradient(135deg, #fff7ec 0%, #fdeee6 45%, #eef1fb 100%); border: 1px solid #f1e3d3; }
.reb-intro { position: relative; display: flex; flex-direction: column; min-width: 0; }
.reb-kicker { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: #fff;
  color: var(--rm-coral-text, #b8361f); font-size: .8rem; font-weight: 700; box-shadow: 0 2px 8px rgba(184, 54, 31, .12); }
.reb-kicker i { width: 8px; height: 8px; border-radius: 50%; background: #e5583f; animation: reb-pulse 1.8s ease-in-out infinite; }
@keyframes reb-pulse { 50% { box-shadow: 0 0 0 6px rgba(229, 88, 63, .18); } }
.reb h2 { margin: 12px 0 8px; color: var(--rm-ink, #16205b); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.45; }
.reb-intro > p { margin: 0; color: var(--rm-text, #2f3445); line-height: 2; }
.reb-points { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.reb-points li { position: relative; padding-inline-start: 26px; color: var(--rm-ink, #16205b); font-size: .92rem; font-weight: 700; }
.reb-points li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: #1f9e6a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.reb-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 22px 0 0; }
.reb-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 14px; background: var(--rm-ink, #16205b); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 24px rgba(22, 32, 91, .25); transition: transform .15s; }
.reb-btn:hover { color: #fff; text-decoration: none; transform: translateY(-2px); }
.reb-link { color: var(--rm-link, #005eb9); font-size: .9rem; font-weight: 700; }
.reb-art { width: 150px; margin-top: auto; padding-top: 18px; fill: none; stroke: #16205b; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.reb-art rect, .reb-art > circle { fill: #fff; }
.reb-art .reb-tick { stroke: #1f9e6a; stroke-width: 3; }
.reb-art .reb-arc { stroke: #e5583f; stroke-width: 5; }
.reb-art text { fill: #16205b; stroke: none; font: 700 18px Vazirmatn, Tahoma, sans-serif; }
.reb-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.reb-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: 18px; background: #fff; color: var(--rm-text, #2f3445);
  box-shadow: 0 1px 2px rgba(22, 32, 91, .06), 0 10px 26px rgba(22, 32, 91, .08); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.reb-card:hover { color: var(--rm-text, #2f3445); text-decoration: none; transform: translateY(-3px); box-shadow: 0 2px 4px rgba(22, 32, 91, .06), 0 18px 36px rgba(22, 32, 91, .14); }
.reb-tag { align-self: flex-start; padding: 1px 10px; border-radius: 999px; background: #eef1fb; color: #2f3f9e; font-size: .75rem; font-weight: 700; }
.reb-card strong { color: var(--rm-ink, #16205b); font-size: 1.02rem; line-height: 1.6; }
.reb-card p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--rm-muted, #5d6475); font-size: .84rem; line-height: 1.8; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.reb-facts { display: flex; gap: 12px; margin-top: auto; padding-top: 6px; color: var(--rm-muted, #5d6475); font-size: .8rem; }
.reb-facts em { font-style: normal; }
.reb-price { position: absolute; top: 16px; inset-inline-end: 16px; padding: 1px 10px; border-radius: 999px; background: #fff3d6; color: #8a5a00; font-size: .78rem; font-weight: 700; }
.reb-price.reb-free { background: #e3f3e8; color: #1d6b3a; }
@media (max-width: 900px) {
  .reb { grid-template-columns: 1fr; padding: 24px 18px; border-radius: 20px; }
  .reb-art { display: none; }
}
@media (max-width: 560px) {
  /* phones: the cards scroll sideways */
  .reb-cards { display: flex; gap: 12px; margin-inline: -18px; padding: 4px 18px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .reb-card { flex: 0 0 78%; scroll-snap-align: start; }
  .reb-btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .reb-kicker i { animation: none; } .reb-card, .reb-btn { transition: none; } }
