/* Școala Premium v0.9.0-beta3 — UI Freeze */
:root{
  --sp-primary:#0759a8;
  --sp-primary-dark:#073f79;
  --sp-accent:#f0b51b;
  --sp-radius:10px;
  --sp-border:#dfe7ef;
  --sp-shadow:0 8px 24px rgba(9,49,88,.07);
}

/* Consistent inner-page hero + breadcrumb treatment. */
.sp-page-hero,
.sp-search-hero{
  background:linear-gradient(135deg,#073f79 0%,#075aa8 55%,#0a67b8 100%);
  color:#fff;
}
.sp-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-top:18px;
  font-size:14px;
  line-height:1.4;
  color:rgba(255,255,255,.82);
}
.sp-breadcrumbs a{color:#fff;font-weight:600}
.sp-breadcrumbs a:hover{text-decoration:underline;text-underline-offset:3px}
.sp-breadcrumbs__separator{opacity:.62}
.sp-breadcrumbs__current{color:rgba(255,255,255,.78)}

/* Search results: one readable content column. */
.sp-search-grid{grid-template-columns:1fr!important;width:100%;max-width:none}

/* Pagination: fixed square hit targets with perfectly centered glyphs. */
.sp-search-pagination ul.page-numbers,
.nav-links{display:flex;align-items:center;gap:8px}
.sp-search-pagination ul.page-numbers>li{display:flex;align-items:center;margin:0;padding:0}
.sp-search-pagination a.page-numbers,
.sp-search-pagination span.page-numbers,
.nav-links .page-numbers{
  box-sizing:border-box;
  width:42px;
  min-width:42px;
  height:42px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  text-align:center;
  vertical-align:middle;
  border-radius:7px;
  font-size:15px;
  font-weight:700;
}
.sp-search-pagination .prev.page-numbers,
.sp-search-pagination .next.page-numbers,
.nav-links .prev.page-numbers,
.nav-links .next.page-numbers{font-size:18px}

/* Shared button geometry. */
.btn,
.button,
.sp-search-form .search-submit,
.sp-archive-card__link{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1.2;
}

/* Footer social glyphs stay 14px while circles keep their existing geometry. */
.sp-reference-footer .footer-social a,
.footer-social a{font-size:14px!important}

/* Consistent cards. */
.sp-archive-card,
.sp-search-card,
.sp-contact-card{
  border-radius:var(--sp-radius);
  border-color:var(--sp-border);
  box-shadow:var(--sp-shadow);
}

@media(max-width:620px){
  .sp-breadcrumbs{font-size:13px;margin-top:14px}
  .sp-search-pagination a.page-numbers,
  .sp-search-pagination span.page-numbers,
  .nav-links .page-numbers{width:40px;min-width:40px;height:40px}
}

/* v0.9.1 Theme Options integration */
html,body{font-family:var(--sp-font-body,'Inter',sans-serif);font-size:var(--sp-font-size-body,16px);color:var(--sp-text,#1f2937);background:var(--sp-bg,#fff)}
h1,h2,h3,h4,h5,h6,.sp-branding__copy strong{font-family:var(--sp-font-heading,'Bitter',Georgia,serif)}
.sp-primary-nav a{font-size:var(--sp-font-size-menu,14px)}
.sp-reference-footer,.sp-reference-footer a,.sp-reference-footer p,.sp-reference-footer li{font-size:var(--sp-font-size-footer,14px)}
.sp-topbar,.sp-page-hero,.sp-search-hero{background-color:var(--sp-primary,#064480)}
.sp-reference-footer{background:var(--sp-footer,#062f57)}
.sp-sticky-header .sp-site-header{position:sticky;top:0;z-index:999}
.admin-bar.sp-sticky-header .sp-site-header{top:32px}
@media(max-width:782px){.admin-bar.sp-sticky-header .sp-site-header{top:46px}}


/* v1.0.0-rc3 — accessibility and keyboard UX freeze. */
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus,.sp-skip-link:focus{position:fixed!important;top:12px;left:12px;z-index:100000;width:auto;height:auto;margin:0;padding:12px 16px;overflow:visible;clip:auto;white-space:normal;background:#fff;color:#073f79;border:2px solid #073f79;border-radius:6px;box-shadow:0 4px 18px rgba(0,0,0,.18);font-weight:700}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--sp-accent,#f0b51b);outline-offset:3px}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
