:root {
  --ps-v2-bg: #f4f8ff;
  --ps-v2-surface: #ffffff;
  --ps-v2-text: #102033;
  --ps-v2-muted: #5d6b7b;
  --ps-v2-primary: #0a84d6;
  --ps-v2-primary-dark: #0a69aa;
  --ps-v2-border: #d8e6f5;
  --ps-v2-radius: 16px;
  --ps-v2-shadow-sm: 0 6px 20px rgba(19, 42, 73, 0.08);
  --ps-v2-shadow-md: 0 14px 40px rgba(19, 42, 73, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  direction: rtl;
  text-align: right;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ps-v2-text);
  background: linear-gradient(180deg, #f8fbff 0%, #f3f8ff 35%, #f7fbff 100%);
  line-height: 1.65;
}

a {
  color: var(--ps-v2-primary-dark);
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  max-width: 100%;
  display: block;
}

.ps-v2-container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.ps-v2-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--ps-v2-border);
  font-size: 18px;
}

.ps-v2-skip-link {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 100;
  padding: 12px 18px;
  color: #fff;
  background: #102f72;
  font-size: 18px;
  font-weight: 700;
  transform: translateY(-160%);
}

.ps-v2-skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.ps-v2-header a:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.ps-v2-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ps-v2-logo img {
  height: 52px;
  width: auto;
}

.ps-v2-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ps-v2-nav a {
  color: #1b3553;
  font-weight: 600;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: all .2s ease;
}

.ps-v2-nav a:hover {
  color: var(--ps-v2-primary);
  border-bottom-color: #9fcdf0;
}

.ps-v2-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ps-v2-link {
  font-weight: 600;
  color: #2c4a6b;
}

.ps-v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--ps-v2-primary-dark);
  background: linear-gradient(180deg, #1798ef 0%, #0c79c6 100%);
  color: #fff;
  padding: 11px 18px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(10, 132, 214, 0.24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ps-v2-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(10, 132, 214, 0.32);
}

.ps-v2-main {
  padding-bottom: 40px;
}

.ps-v2-hero {
  padding: 34px 0 20px;
}

.ps-v2-hero-card {
  background: radial-gradient(circle at 80% 15%, #d9efff 0%, #eef7ff 30%, #ffffff 72%);
  border: 1px solid var(--ps-v2-border);
  border-radius: 24px;
  box-shadow: var(--ps-v2-shadow-md);
  padding: 46px 32px;
  text-align: center;
}

.ps-v2-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.15;
  color: #0f2740;
}

.ps-v2-hero p {
  margin: 0 auto 24px;
  max-width: 760px;
  font-size: clamp(18px, 2.5vw, 22px);
  color: #355376;
}

.ps-v2-search {
  margin: 0 auto 18px;
  width: min(760px, 100%);
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid #bfdaf1;
  border-radius: 14px;
  box-shadow: var(--ps-v2-shadow-sm);
  padding: 8px;
}

.ps-v2-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px;
  font-size: 18px;
  color: #153454;
}

.ps-v2-search input:focus {
  outline: none;
}

.ps-v2-search button {
  border: 0;
  border-radius: 10px;
  background: var(--ps-v2-primary);
  color: #fff;
  font-weight: 700;
  min-width: 120px;
  padding: 0 16px;
  cursor: pointer;
}

.ps-v2-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.ps-v2-chips a {
  background: #f0f7ff;
  border: 1px solid #d0e5f7;
  border-radius: 999px;
  padding: 8px 14px;
  color: #254b70;
  font-weight: 600;
}

.ps-v2-trust {
  padding: 8px 0 14px;
}

.ps-v2-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ps-v2-trust article {
  background: var(--ps-v2-surface);
  border: 1px solid var(--ps-v2-border);
  border-radius: var(--ps-v2-radius);
  box-shadow: var(--ps-v2-shadow-sm);
  padding: 14px 16px;
}

.ps-v2-trust strong {
  display: block;
  font-size: 24px;
  color: #103457;
}

.ps-v2-trust span {
  color: var(--ps-v2-muted);
  font-size: 18px;
}

.LastCardUpdate {
  background: var(--ps-v2-surface);
  border: 1px solid var(--ps-v2-border);
  border-radius: var(--ps-v2-radius);
  box-shadow: var(--ps-v2-shadow-sm);
  padding: 14px;
}

.s116117 {
  color: #2f4a66;
}

.s116117 a {
  color: var(--ps-v2-primary-dark);
}

.ps-v2-section {
  padding: 18px 0;
}

.ps-v2-section-alt {
  background: linear-gradient(180deg, rgba(228, 242, 255, 0.45) 0%, rgba(247, 251, 255, 0.3) 100%);
}

.ps-v2-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 14px;
}

.ps-v2-section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  color: #0f2a45;
}

.ps-v2-section-head a {
  font-weight: 700;
  color: var(--ps-v2-primary-dark);
}

.ps-v2-category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.ps-v2-category-card {
  background: var(--ps-v2-surface);
  border: 1px solid var(--ps-v2-border);
  border-radius: 12px;
  box-shadow: var(--ps-v2-shadow-sm);
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  text-align: center;
  padding: 10px 8px;
  color: #173c60;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ps-v2-category-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ps-v2-shadow-md);
}

.ps-v2-category-card i {
  color: var(--ps-v2-primary);
  font-size: 24px;
}

.ps-v2-category-card span {
  font-size: 18px;
  line-height: 1.35;
}

.ps-v2-category-card:focus-visible {
  outline: 3px solid #4ba9e7;
  outline-offset: 2px;
}

.ps-v2-business-grid,
.ps-v2-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ps-v2-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ps-v2-legacy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ps-v2-legacy-grid .FloatRightOnly {
  float: none;
}

.ps-v2-legacy-grid .RecommendedLinks {
  background: var(--ps-v2-surface);
  border: 1px solid var(--ps-v2-border);
  border-radius: 12px;
  box-shadow: var(--ps-v2-shadow-sm);
  padding: 10px;
  min-height: 100%;
}

.ps-v2-legacy-grid .RecommendedLinks img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

.ps-v2-legacy-grid .RecommendedLinks a {
  color: #163b60;
  font-weight: 600;
}

.ps-v2-legacy-grid .RecommendedLinks a:focus-visible {
  outline: 3px solid #4ba9e7;
  outline-offset: 2px;
}

.external-links-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.external-links-section .FloatRightOnly {
  float: none;
}

.external-links-section .RecommendedLinks {
  background: var(--ps-v2-surface);
  border: 1px solid var(--ps-v2-border);
  border-radius: 12px;
  box-shadow: var(--ps-v2-shadow-sm);
  padding: 10px;
}

.external-links-section .RecommendedLinks a {
  color: #163b60;
  font-weight: 600;
}

.internal-links-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.internal-links-section .FloatRightOnly {
  float: none;
}

.internal-links-section .RecommendedLinks {
  background: var(--ps-v2-surface);
  border: 1px solid var(--ps-v2-border);
  border-radius: 12px;
  box-shadow: var(--ps-v2-shadow-sm);
  padding: 10px;
}

.internal-links-section .RecommendedLinks a {
  color: #163b60;
  font-weight: 600;
}

.ps-v2-iframe-card {
  background: var(--ps-v2-surface);
  border: 1px solid var(--ps-v2-border);
  border-radius: var(--ps-v2-radius);
  box-shadow: var(--ps-v2-shadow-sm);
  padding: 10px;
}

.ps-v2-iframe-card iframe {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.ps-v2-business-card,
.ps-v2-article-card {
  background: var(--ps-v2-surface);
  border: 1px solid var(--ps-v2-border);
  border-radius: var(--ps-v2-radius);
  box-shadow: var(--ps-v2-shadow-sm);
  overflow: hidden;
}

.ps-v2-product-card {
  background: var(--ps-v2-surface);
  border: 1px solid var(--ps-v2-border);
  border-radius: var(--ps-v2-radius);
  box-shadow: var(--ps-v2-shadow-sm);
  overflow: hidden;
}

.ps-v2-business-card {
  padding: 16px;
}

.ps-v2-business-card h3 {
  margin: 0 0 6px;
  font-size: 21px;
}

.ps-v2-business-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: -16px -16px 10px;
}

.ps-v2-business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-v2-business-card h3 a {
  color: #12385d;
}

.ps-v2-meta {
  margin: 0 0 8px;
  color: #516980;
  font-weight: 600;
}

.ps-v2-business-card p {
  margin: 0 0 10px;
  color: #2f4a66;
}

.ps-v2-readmore {
  font-weight: 700;
  color: var(--ps-v2-primary-dark);
}

.ps-v2-article-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ps-v2-product-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ps-v2-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-v2-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-v2-article-body {
  padding: 14px;
}

.ps-v2-product-body {
  padding: 12px;
}

.ps-v2-product-body h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.ps-v2-product-body h3 a {
  color: #153959;
}

.ps-v2-product-price {
  margin: 0 0 6px;
  font-weight: 700;
  color: #0f5a92;
}

.ps-v2-product-body p {
  margin: 0;
  color: #36506a;
}

.ps-v2-date {
  margin: 0 0 6px;
  color: #67809a;
  font-size: 18px;
}

.ps-v2-article-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.ps-v2-article-body h3 a {
  color: #153959;
}

.ps-v2-article-body p {
  margin: 0;
  color: #36506a;
}

.ps-v2-cta {
  padding: 22px 0 28px;
}

.ps-v2-cta-inner {
  background: linear-gradient(135deg, #0a7fce 0%, #0c6cb0 60%, #14518a 100%);
  border-radius: 22px;
  padding: 36px 24px;
  text-align: center;
  color: #fff;
  box-shadow: var(--ps-v2-shadow-md);
}

.ps-v2-cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(25px, 4vw, 40px);
  color: #fff;
}

.ps-v2-cta-inner p {
  margin: 0 0 18px;
  color: #d8ecff;
  font-size: 18px;
}

.ps-v2-btn-light {
  background: #fff;
  border-color: #fff;
  color: #0e4f84;
  box-shadow: none;
}

.ps-v2-footer {
  background: #0d1e31;
  color: #d6e3ef;
  padding: 28px 0;
  font-size: 18px;
}

.ps-v2-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.ps-v2-footer p {
  margin: 8px 0 0;
  color: #c3d3e2;
}

.ps-v2-footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.ps-v2-footer nav a {
  color: #e0ecf6;
}

.ps-v2-footer a:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.ps-v2-footer-legal {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(224, 236, 246, 0.22);
}

.ps-v2-footer-legal p {
  margin: 0 0 6px;
  color: #c3d3e2;
  font-size: 18px;
}

.ps-v2-footer-legal a {
  color: #e0ecf6;
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .ps-v2-category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .ps-v2-business-grid,
  .ps-v2-article-grid,
  .ps-v2-products-grid,
  .ps-v2-legacy-grid,
  .external-links-section,
  .internal-links-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ps-v2-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .ps-v2-header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .ps-v2-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    border-top: 1px solid var(--ps-v2-border);
    padding-top: 8px;
  }

  .ps-v2-hero-card {
    padding: 28px 16px;
  }

  .ps-v2-search {
    flex-direction: column;
  }

  .ps-v2-search button {
    min-height: 44px;
  }

  .ps-v2-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ps-v2-footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .ps-v2-container {
    width: calc(100% - 18px);
  }

  .ps-v2-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .ps-v2-btn {
    padding: 10px 14px;
  }

  .ps-v2-business-grid,
  .ps-v2-article-grid,
  .ps-v2-products-grid,
  .ps-v2-legacy-grid,
  .external-links-section,
  .internal-links-section,
  .ps-v2-trust-grid {
    grid-template-columns: 1fr;
  }

  .ps-v2-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}
