/* Container & Layout */
.ipra-container{max-width:1100px;margin:0 auto;padding:24px 16px}
.ipra-main{min-height:60vh;background:#fff}
/* Header */
.ipra-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid #eee}
.ipra-header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ipra-logo{display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.ipra-logo-text{font-weight:900;font-size:20px;color:#111}
.ipra-r{display:inline-block;background:#111;color:#fff;border-radius:6px;padding:3px 6px;font-weight:900;line-height:1}
.ipra-primary-nav .ipra-nav{display:flex;gap:6px;list-style:none;margin:0;padding:0}
.ipra-primary-nav .ipra-nav a{display:inline-block;padding:8px 12px;border-radius:999px;color:#444;text-decoration:none}
.ipra-primary-nav .ipra-nav a:hover{background:#f1f5f9}
.ipra-cta{display:inline-flex;align-items:center;gap:8px;background:#111;color:#fff;padding:10px 14px;border-radius:999px;text-decoration:none}
/* Hero */
.ipra-hero{border-bottom:1px solid #eee;background:linear-gradient(#fff,#f8fafc)}
.ipra-news{display:inline-flex;gap:8px;align-items:center;border:1px solid #e5e7eb;background:#fff;border-radius:999px;padding:6px 10px;box-shadow:0 1px 2px rgba(0,0,0,.04);font-size:12px}
.ipra-news .badge{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0;padding:2px 6px;border-radius:999px;font-weight:700}
.ipra-news .sep{width:1px;height:12px;background:#e5e7eb}
.ipra-news .more{background:#111;color:#fff;padding:2px 6px;border-radius:999px;text-decoration:none}
.ipra-hero-grid{display:grid;gap:24px;grid-template-columns:1fr;align-items:center}
@media(min-width:1024px){.ipra-hero-grid{grid-template-columns:1fr 1fr}}
.ipra-h1{font-size:36px;line-height:1.2;font-weight:900;margin:10px 0;color:#111}
.ipra-sub{color:#374151;margin:.5rem 0 1rem;font-size:16px}
.ipra-cta-row{display:flex;gap:8px;flex-wrap:wrap}
.ipra-btn{display:inline-flex;align-items:center;gap:.5rem;border:1px solid #d1d5db;background:#fff;color:#111;padding:.6rem 1rem;border-radius:999px;text-decoration:none;font-weight:700}
.ipra-btn.primary{background:#111;color:#fff;border-color:#111}
/* Cards & Features */
.ipra-card{border:1px solid #e5e7eb;background:#fff;border-radius:16px;padding:16px;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.ipra-card-top{display:flex;justify-content:space-between;align-items:center}
.ipra-card-title{font-weight:700;color:#111}
.badge{display:inline-flex;align-items:center;font-size:12px;font-weight:700;color:#374151;background:#eef2ff;border:1px solid #c7d2fe;padding:2px 6px;border-radius:999px}
.badge.green{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.badge.soft{background:#eef2ff;border-color:#c7d2fe;color:#3730a3}
.ipra-dl{margin-top:8px;display:grid;gap:10px;grid-template-columns:repeat(3,1fr);font-size:14px}
.ipra-dl dt{color:#6b7280}
.ipra-note{margin-top:10px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;padding:8px;font-size:12px;color:#374151}
.mono{font-family:ui-monospace,Menlo,Consolas,monospace}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ipra-features{padding:24px 0}
.ipra-grid4{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.ipra-feature .t{font-weight:700;color:#111;margin:4px 0}
.ipra-feature .d{color:#374151;font-size:14px}
.ipra-cta-block{padding:0 0 40px 0}
.ipra-cta-card{border:1px solid #e5e7eb;background:#fff;border-radius:16px;padding:24px;text-align:center;box-shadow:0 1px 2px rgba(0,0,0,.03)}
/* Pages */
.ipra-page{padding:24px 0}
.ipra-grid2{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.ipra-grid3{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.ipra-steps{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin:12px 0 20px}
/* Uploader/Verify */
.ipra-uploader{border:1px dashed #cbd5e1;background:#f8fafc;border-radius:16px;padding:16px;text-align:center}
.ipra-uploader input[type=file]{margin-top:8px}
.ipra-result{margin-top:12px;border:1px solid #e5e7eb;background:#fff;border-radius:12px;padding:12px}
.ipra-row{display:flex;justify-content:space-between;align-items:center;border-top:1px dashed #eee;padding:8px 6px;font-family:ui-monospace,Menlo,Consolas,monospace}
.ipra-row:first-child{border-top:0}
.ipra-actions{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.ipra-verify label{font-size:.85rem;font-weight:700;margin-top:8px;display:block}
/* Footer */
.ipra-footer{border-top:1px solid #eee;background:#fff}
.ipra-footer-grid{display:grid;gap:16px;padding:24px 16px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.ipra-foot-title{margin-bottom:8px;font-size:14px;font-weight:800;color:#111}
.ipra-foot-blurb{margin-top:8px;max-width:380px;font-size:13px;color:#6b7280}
.ipra-foot-copy{grid-column:1/-1;color:#6b7280;font-size:12px}
/* Posts */
.ipra-post{border-bottom:1px solid #eee;padding:12px 0}


/* -------- IPRACT CUSTOM TWEAKS -------- */
.ipra-body{
  font-size:17px;
  line-height:1.7;
}

/* slightly wider layout */
.ipra-container{
  max-width:1200px;
}

/* bigger hero title on desktop */
@media(min-width:1024px){
  .ipra-h1{
    font-size:40px;
  }
}

/* nav links a bit larger */
.ipra-primary-nav .ipra-nav a{
  font-size:15px;
}

/* footer links in theme colors, not bright blue */
.ipra-footer a{
  color:#111;
  text-decoration:none;
}
.ipra-footer a:hover{
  color:#111;
  text-decoration:underline;
}

/* header shadow on scroll */
.ipra-header-scrolled{
  box-shadow:0 4px 12px rgba(15,23,42,.12);
  border-bottom-color:transparent;
}

/* Certification / Verify toggle */
.ipra-toggle{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#f9fafb;
  overflow:hidden;
  margin:0 0 16px 0;
}
.ipra-toggle a{
  padding:6px 16px;
  font-size:14px;
  text-decoration:none;
  color:#4b5563;
  white-space:nowrap;
}
.ipra-toggle a.is-active{
  background:#111;
  color:#fff;
}


/* -------- IPRACT TWEAKS v1.0.2 -------- */

/* CSS variables so you can adjust via Customizer */
:root{
  --ipra-base-font:18px;
  --ipra-container-width:1200px;
  --ipra-footer-link:#6b7280;
  --ipra-primary:#111111;
}

/* bigger base font & layout */
.ipra-body{
  font-size:var(--ipra-base-font);
  line-height:1.7;
}

.ipra-container{
  max-width:var(--ipra-container-width);
}

/* hero title bigger on desktop */
@media(min-width:1024px){
  .ipra-h1{
    font-size:44px;
  }
}

/* nav + buttons a bit larger */
.ipra-primary-nav .ipra-nav a{
  font-size:15px;
}
.ipra-btn{
  padding:.65rem 1.2rem;
}
.ipra-cta{
  background:var(--ipra-primary);
  border-radius:999px;
  padding:10px 16px;
}

/* footer links: grey, not blue */
.ipra-footer a{
  color:var(--ipra-footer-link);
  text-decoration:none;
}
.ipra-footer a:hover{
  color:#4b5563;
  text-decoration:underline;
}

/* header right area */
.ipra-header-inner{
  gap:14px;
}
.ipra-header-right{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:12px;
}

/* language toggle */
.ipra-lang-toggle{
  display:inline-flex;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#f9fafb;
  overflow:hidden;
}
.ipra-lang-toggle button{
  border:0;
  background:transparent;
  padding:4px 10px;
  font-size:13px;
  cursor:pointer;
  color:#4b5563;
}
.ipra-lang-toggle button.is-active{
  background:#111;
  color:#fff;
}

/* keep header shadow on scroll */
.ipra-header-scrolled{
  box-shadow:0 4px 12px rgba(15,23,42,.12);
  border-bottom-color:transparent;
}


/* simple bilingual text helpers */
.ipra-t-ru{display:none;}
.ipra-lang-ru .ipra-t-en{display:none;}
.ipra-lang-ru .ipra-t-ru{display:inline;}


/* -------- IPRACT TWEAKS v1.0.4 (layout, contrast, cards) -------- */

/* softer site background, main content on cards */
body.ipra-body{
  background:#f3f4f6;
}

/* main area no longer plain white strip */
.ipra-main{
  background:transparent;
}

/* hero as rounded card on homepage */
.ipra-hero{
  border-bottom:none;
  padding:24px 0 32px 0;
}
.ipra-hero > .ipra-container{
  background:radial-gradient(circle at top left,#eef2ff,#f9fafb);
  border-radius:24px;
  border:1px solid #e5e7eb;
  box-shadow:0 18px 45px rgba(15,23,42,.12);
}

/* generic page layout with cards */
.ipra-page{
  padding:32px 0 40px;
}
.ipra-page-inner{
  display:flex;
  flex-direction:column;
  gap:24px;
}
.ipra-page-card{
  border-radius:20px;
  background:#ffffff;
  border:1px solid #e5e7eb;
  box-shadow:0 18px 45px rgba(15,23,42,.10);
  padding:24px 22px;
}

/* modern sections / cards for text blocks */
.ipra-page-card + .ipra-page-card{
  margin-top:4px;
}

/* header: center nav, logo left, actions right */
.ipra-header-inner{
  gap:18px;
}
.ipra-logo{
  margin-right:12px;
}
.ipra-primary-nav{
  flex:1;
  display:flex;
  justify-content:center;
}
.ipra-primary-nav .ipra-nav{
  justify-content:center;
}

/* lighter, more modern accent color */
:root{
  --ipra-primary:#2563eb;
  --ipra-footer-link:#4b5563;
}

/* use primary color for main CTAs */
.ipra-btn.primary,
.ipra-cta,
.ipra-news .more{
  background:var(--ipra-primary);
  border-color:var(--ipra-primary);
  color:#fff;
}

/* subtle accent in headings */
.ipra-h1 strong{
  color:var(--ipra-primary);
}

/* refine footer contrast */
.ipra-footer{
  border-top:1px solid #e5e7eb;
  background:#f9fafb;
}
.ipra-foot-title{
  color:#111827;
}
.ipra-foot-copy{
  color:#9ca3af;
}

/* small "chips" look for badges */
.badge{
  border-radius:999px;
}

/* make features and lists breathe more */
.ipra-features{
  padding:32px 0;
}
.ipra-steps{
  margin-top:16px;
}


.ipra-lang-toggle button.is-active{
  background:var(--ipra-primary);
  color:#fff;
}

/* -------- IPRACT TWEAKS v1.0.5 (bilingual, layout fixes, palette) -------- */

/* add extra accents */
:root{
  --ipra-accent-2:#10b981; /* emerald */
  --ipra-accent-3:#f59e0b; /* amber */
}

/* center CTA buttons in bottom block */
.ipra-cta-row{
  justify-content:center;
}

/* turn feature items into cards */
.ipra-grid4 .ipra-feature{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:16px;
  padding:16px;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}

/* spacing & wrapping to avoid overlap */
.ipra-sub, .ipra-note, .ipra-dl, .ipra-steps, .ipra-grid4, .ipra-grid2, .ipra-grid3{
  gap:16px;
}
.ipra-dl{word-break:break-word}
.ipra-h1{word-break:break-word}

/* colorful badges for variety */
.badge.soft{background:#eef2ff;border-color:#c7d2fe;color:#3730a3}
.badge.emerald{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.badge.amber{background:#fffbeb;border-color:#fde68a;color:#92400e}

/* a few gradient chips for headings */
.ipra-card-title{
  background:linear-gradient(90deg, var(--ipra-primary), var(--ipra-accent-2), var(--ipra-accent-3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* footer columns spacing */
.ipra-footer-grid{gap:20px}


/* -------- IPRACT TWEAKS v1.0.6 -------- */

/* certification steps as columns with soft colors */
.ipra-steps{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
}
.ipra-steps li{
  list-style:none;
  margin:0;
  padding:14px 14px 12px;
  border-radius:16px;
  border:1px solid #e5e7eb;
  box-shadow:0 6px 20px rgba(15,23,42,.06);
  background:#ffffff;
}
.ipra-steps li:nth-child(1){
  background:#eff6ff; /* light blue */
}
.ipra-steps li:nth-child(2){
  background:#ecfdf5; /* light green */
}
.ipra-steps li:nth-child(3){
  background:#fffbeb; /* light yellow */
}
.ipra-steps li:nth-child(4){
  background:#f5f3ff; /* light violet */
}

/* remove multicolor text from card titles */
.ipra-card-title{
  background:none;
  -webkit-background-clip:initial;
  background-clip:initial;
  color:#111827;
}

/* badges: neutral, except main news */
.badge.soft,
.badge.emerald,
.badge.amber{
  background:#f3f4f6;
  border-color:#e5e7eb;
  color:#374151;
}

/* main top news badge in red */
.ipra-news .badge{
  background:#fee2e2;
  border-color:#fecaca;
  color:#b91c1c;
}

/* header: slimmer and stronger shadow on scroll */
.ipra-header-inner{
  padding:4px 0;
}
.ipra-primary-nav .ipra-nav a{
  padding:4px 10px;
}

.ipra-header-scrolled{
  box-shadow:0 10px 30px rgba(15,23,42,.22);
  border-bottom-color:transparent;
}

/* feature boxes pastel backgrounds instead of colored text */
.ipra-grid4 .ipra-feature{
  background:#ffffff;
}
.ipra-grid4 .ipra-feature:nth-child(1){
  background:#eff6ff;
}
.ipra-grid4 .ipra-feature:nth-child(2){
  background:#ecfdf5;
}
.ipra-grid4 .ipra-feature:nth-child(3){
  background:#fffbeb;
}
.ipra-grid4 .ipra-feature:nth-child(4){
  background:#f5f3ff;
}

/* icon chips simple neutral */
.ipra-feature .icon{
  background:#e5e7eb;
  width:28px;
  height:28px;
  border-radius:999px;
  margin-bottom:8px;
}
