html { overflow-x: hidden; }
body { overflow-x: hidden; }
[hidden] { display: none !important; }

.static-primary-nav {
  gap: 2px !important;
  flex-wrap: nowrap !important;
}
.static-primary-nav a {
  padding: 9px 8px !important;
  font-size: 13px;
  white-space: nowrap;
}
.static-language-shell { position: relative; flex: 0 0 auto; }
.static-language-trigger {
  min-height: 42px;
  max-width: 158px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #cfe7d4;
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
  color: #183322;
  font-weight: 800;
  cursor: pointer;
}
.static-language-trigger img { width: 22px; height: 16px; object-fit: cover; }
.static-language-trigger span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.static-language-menu {
  position: absolute;
  z-index: 900;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: min(620px, 88vw);
  max-height: min(68vh, 590px);
  overflow: auto;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid #d8ede0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(16, 41, 22, .2);
}
.static-language-menu a {
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 11px;
  color: #31513a;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.static-language-menu a:hover,
.static-language-menu a:focus-visible,
.static-language-menu a[aria-current="true"] {
  color: #117b31;
  background: #eefbf1;
  outline: none;
}
.static-language-menu img { width: 22px; height: 16px; object-fit: cover; flex: none; }
.static-language-menu span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.static-mobile-drawer {
  position: fixed;
  top: 72px;
  inset-inline: 0;
  z-index: 850;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  padding: 14px max(4vw, 14px) 18px;
  border-top: 1px solid #d8ede0;
  background: rgba(255,255,255,.99);
  box-shadow: 0 24px 44px rgba(16,41,22,.18);
}
.static-mobile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.static-mobile-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 12px;
  background: #f4fbf5;
  color: #244b2d;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  overflow-wrap: anywhere;
}
.static-mobile-links a[aria-current="page"] { color: #117b31; background: #ddf7e4; }
.static-mobile-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #d8ede0;
}
.static-mobile-actions a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}
.static-action-app { color: #117b31; background: #e9f9ed; border: 1px solid #bde8c7; }
.static-action-login { color: #31513a; background: #fff; border: 1px solid #cfe7d4; }
.static-action-register { color: #fff; background: linear-gradient(135deg,#43b65b,#1fa64a); }

.static-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 16px;
}
.static-footer-links a { color: #e7fff0; font-weight: 800; }

.static-blog-main {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 126px 0 70px;
}
.static-blog-hero {
  padding: 42px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg,#102916,#1f8240);
  box-shadow: 0 22px 55px rgba(16,41,22,.18);
}
.static-blog-hero h1 { margin: 0 0 12px; font-size: clamp(36px,6vw,64px); }
.static-blog-hero p { max-width: 820px; margin: 0; font-size: 18px; line-height: 1.75; }
.static-blog-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  margin-top: 28px;
}
.static-blog-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 25px;
  border: 1px solid #dcefe1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(16,41,22,.1);
}
.static-blog-card h2 { margin: 0 0 12px; color: #102916; font-size: 23px; line-height: 1.25; }
.static-blog-card p { color: #526b59; line-height: 1.7; }
.static-blog-card a { margin-top: auto; color: #168239; font-weight: 900; }
.static-article {
  max-width: 860px;
  margin: 0 auto;
  padding: 126px 20px 76px;
}
.static-article > header {
  margin-bottom: 34px;
  padding: 34px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg,#102916,#1f8240);
}
.static-article h1 { margin: 0 0 14px; font-size: clamp(34px,5vw,58px); line-height: 1.08; }
.static-article h2 { margin-top: 34px; color: #153d22; font-size: 28px; }
.static-article p, .static-article li { color: #3f5947; font-size: 17px; line-height: 1.85; }
.static-article table { width: 100%; border-collapse: collapse; background: #fff; }
.static-article th, .static-article td { padding: 12px; border: 1px solid #dcefe1; text-align: start; }
.static-article th { background: #edf9f0; color: #153d22; }
.static-article-back { display: inline-block; margin-bottom: 18px; color: #168239; font-weight: 900; }

[dir="rtl"] code,
[dir="rtl"] pre,
[dir="rtl"] [data-static-number],
[dir="rtl"] .price,
[dir="rtl"] .num { direction: ltr; unicode-bidi: isolate; }

@media (max-width: 1240px) {
  .static-primary-nav { display: none !important; }
  header.topbar .nav button.hamburger { display: flex !important; }
  header.topbar .nav .actions > a.btn { display: none !important; }
  .static-mobile-drawer { display: block; }
}
@media (min-width: 1241px) {
  .static-mobile-drawer { display: none !important; }
  header.topbar .nav button.hamburger { display: none !important; }
}
@media (max-width: 760px) {
  body { padding-top: 64px; }
  header.topbar .nav { min-height: 64px; gap: 7px !important; }
  header.topbar .brand { flex: 1; min-width: 0; }
  header.topbar .brand-name { display: inline !important; font-size: 15px !important; }
  header.topbar .brand img { width: 40px !important; height: 40px !important; }
  .static-language-trigger { max-width: 112px; padding-inline: 8px; }
  .static-language-trigger span { max-width: 62px; }
  .static-language-menu {
    position: fixed;
    top: 70px;
    inset-inline: 10px;
    width: auto;
    grid-template-columns: repeat(2,minmax(0,1fr));
    max-height: calc(100vh - 82px);
  }
  .static-mobile-drawer {
    top: 64px;
    max-height: calc(100vh - 64px);
  }
  .static-mobile-actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .static-action-register { grid-column: span 2; }
  .static-blog-main { padding-top: 94px; }
  .static-blog-hero { padding: 26px 22px; }
  .static-blog-grid { grid-template-columns: 1fr; }
  .static-article { padding-top: 94px; }
  .static-article > header { padding: 25px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
