.rpcards { direction: rtl; text-align: right; font-family: inherit; }
.rpcards, .rpcards * { box-sizing: border-box; }
.rpcards .rpcards__heading { color: #2c6076; margin: 0 0 24px; }
.rpcards .rpcards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.rpcards .rpcards__card { position: relative; isolation: isolate; overflow: hidden; min-width: 0; display: flex; flex-direction: column; padding: 25px 28px 30px 25px; background: #fff; border: 1px solid #d2e6ed; border-radius: 21px; }
.rpcards .rpcards__card::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 6px; background: linear-gradient(180deg, #08a6df, #345e70); pointer-events: none; }
.rpcards .rpcards__card::after { content: ""; position: absolute; bottom: -70px; left: -70px; width: 140px; height: 140px; border-radius: 50%; background: #f4fafc; z-index: -1; pointer-events: none; }
.rpcards .rpcards__image-link { display: block; flex-shrink: 0; overflow: hidden; border-radius: 38px; margin: 0 0 20px; }
.rpcards .rpcards__image { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1.83 / 1; object-fit: cover; border-radius: inherit; margin: 0; }
.rpcards .rpcards__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.rpcards .rpcards__title { width: 100%; font-size: 24px; line-height: 1.65; font-weight: 700; margin: 0 0 20px; padding: 0; color: #2c6076; overflow-wrap: anywhere; }
.rpcards .rpcards__title a { color: inherit; text-decoration: none; }
.rpcards .rpcards__title a:hover { color: #0787bb; }
.rpcards .rpcards__excerpt { width: 100%; font-size: 18px; line-height: 1.8; font-weight: 400; color: #7a8794; margin: 0 0 28px; padding: 0; overflow-wrap: anywhere; }
.rpcards .rpcards__more { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding: 7px 17px; border: 1px solid #c5e8f8; border-radius: 10px; background: #eef9ff; color: #009bda; font-size: 18px; line-height: 1.5; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; max-width: 100%; }
.rpcards .rpcards__more:hover { background: #e0f3ff; color: #007ba9; border-color: #8bd3ef; }
.rpcards a:focus-visible { outline: 3px solid #007eae; outline-offset: 4px; }
.rpcards .rpcards__empty { padding: 24px; border: 1px solid #d2e6ed; border-radius: 16px; color: #2c6076; background: #fff; }
@media (max-width: 1024px) { .rpcards .rpcards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .rpcards .rpcards__grid { grid-template-columns: minmax(0, 1fr); } }
.rpcards-pagination { margin-top: 32px; direction: rtl; }
.rpcards-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.rpcards-pagination ul.page-numbers li { margin: 0; padding: 0; }
.rpcards-pagination a.page-numbers, .rpcards-pagination span.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid #c5e8f8; border-radius: 10px; background: #eef9ff; color: #007ba9; text-decoration: none; box-sizing: border-box; }
.rpcards-pagination .page-numbers.current, .rpcards-pagination a.page-numbers:hover { background: #007ba9; color: #fff; }
.rpcards-pagination a:focus-visible { outline: 3px solid #007ba9; outline-offset: 3px; }
