/* Page block styles transferred from maket/2026.07.29 archive/o-nas.html. */
.page .about-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 26px 0 30px;
  padding: 22px 24px;
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.page .about-stat {
  min-width: 0;
  text-align: center;
}

.page .about-stat-number {
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.page .about-stat-label {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.35;
}

/* Reuse the home partners grid without adding a second inner page padding. */
/* In the source, partners continue the laboratory section without a divider. */
main.page > #o-laboratorii:has(+ .lpm-inline-partners) {
  margin-bottom: 0;
}

main.page > .lpm-inline-partners {
  margin: 36px 0 64px;
}

main.page > .lpm-inline-partners .home-partners {
  padding: 0;
}

/* Exact typography from maket/.../o-nas.html; scoped to reusable page banners. */
.page-banner .banner-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.page-banner .banner-title {
  max-width: 760px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.page-banner .banner-rule {
  width: 64px;
  height: 3px;
  margin-top: 22px;
}

/* Internal-page header and intro metrics from maket/.../o-nas.html. */
body.page:not(.home) .topbar-row1 {
  gap: 24px;
  padding: 14px 28px;
}

/* Source nav has direct links; WP has a UL, so fix its otherwise 0.8px taller flex row. */
@media (min-width: 851px) {
  body.page:not(.home) .topbar-row2 {
    height: 45.4px;
  }
}

body.page:not(.home) .topbar .brand {
  gap: 14px;
}

body.page:not(.home) .topbar .search input {
  padding: 9px 12px 9px 34px;
}

body.page:not(.home) .topbar nav.main-nav .main-nav-list a {
  padding: 14px 0;
}

body.page:not(.home) .topbar .top-btn {
  padding: 9px 14px;
}

body.page:not(.home) main.page {
  padding: 48px 56px 56px;
}

body.page:not(.home) .crumbs {
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

body.page:not(.home) main.page .section {
  margin-bottom: 64px;
}

body.page:not(.home) main.page .section-head {
  margin-bottom: 24px;
}

body.page:not(.home) main.page .section-title {
  line-height: 1.2;
  letter-spacing: -0.3px;
}

body.page:not(.home) main.page .section-rule {
  width: 54px;
  height: 3px;
  margin: 12px 0 0;
}

/* Expanded news cards from maket/.../o-nas.html. */
main.page .lpm-news-expanded {
  margin-bottom: 64px;
}

.lpm-news-expanded .news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.lpm-news-expanded .news-card {
  display: flex;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 200ms, transform 200ms, border-color 200ms;
}

.lpm-news-expanded .news-card:hover {
  border-color: rgba(244, 185, 66, 0.6);
  box-shadow: 0 14px 32px rgba(15, 42, 74, 0.12);
  transform: translateY(-2px);
}

.lpm-news-expanded .news-thumb {
  flex: 0 0 200px;
  width: 200px;
  height: 160px;
  overflow: hidden;
  border-radius: 6px;
  background: #eee;
}

.lpm-news-expanded .news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lpm-news-expanded .news-body { flex: 1; min-width: 0; }
.lpm-news-expanded .news-date { margin-bottom: 6px; color: var(--text-muted); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; }
.lpm-news-expanded .news-title { margin: 0 0 8px; color: var(--navy); font-size: 16px; font-weight: 700; line-height: 1.35; }
.lpm-news-expanded .news-lead { margin: 0 0 10px; color: #444; font-size: 13.5px; line-height: 1.55; }
.lpm-news-expanded .news-more { color: var(--accent-hover); font-size: 13px; font-weight: 600; }

@media (max-width: 900px) {
  .page .about-stats {
    grid-template-columns: repeat(3, 1fr);
    padding: 16px 14px;
  }

  .page .about-stat-number {
    font-size: 20px;
  }

  .page .about-stat-label {
    font-size: 11px;
  }

  .lpm-news-expanded .news-grid { grid-template-columns: 1fr; }
}
