/* WordPress integration layer. Keeps CMS markup aligned with the original MVP. */

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 48px;
}

.nav .menu,
.footer-menu .menu {
  display: contents;
  list-style: none;
}

.nav .current-menu-item > a,
.nav .current_page_item > a {
  color: var(--ink, #0b2639);
  font-weight: 700;
}

.norbu-page-content > :first-child {
  margin-top: 0;
}

.blog-hero--archive {
  grid-template-columns: 1fr;
}

.blog-card-image {
  display: block;
  min-height: 260px;
  overflow: hidden;
  background: #dce2d4;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.norbu-image-placeholder {
  display: block;
  min-height: 260px;
  background: linear-gradient(135deg, #dce2d4, #f2eee4);
}

.blog-card-body h2 {
  font-size: inherit;
}

.blog-card-body h2 a,
.blog-category a {
  color: inherit;
  text-decoration: none;
}

.catalog-search {
  display: grid;
}

.catalog-filter {
  text-decoration: none;
}

.navigation.pagination {
  margin: 48px auto 90px;
  text-align: center;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.page-numbers {
  padding: 10px 14px;
  color: inherit;
  text-decoration: none;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.page-numbers.current {
  color: #fff;
  background: #0b2639;
}

.norbu-single,
.norbu-standard-page {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 90px 0 120px;
}

.norbu-entry-header,
.norbu-page-header,
.norbu-entry-content,
.norbu-entry-footer {
  width: min(100%, 760px);
  margin-right: auto;
  margin-left: auto;
}

.norbu-entry-header h1,
.norbu-page-header h1,
.norbu-archive-header h1 {
  margin: 18px 0;
  font-size: clamp(2.7rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.norbu-entry-intro {
  font-size: 1.25rem;
  line-height: 1.6;
}

.norbu-entry-image {
  margin: 54px 0;
}

.norbu-entry-image img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: 24px;
}

.norbu-entry-content {
  font-size: 1.08rem;
  line-height: 1.8;
}

.norbu-entry-content > * + * {
  margin-top: 1.35em;
}

.norbu-entry-content h2,
.norbu-entry-content h3 {
  margin-top: 2em;
  line-height: 1.15;
}

.norbu-entry-content img {
  max-width: 100%;
  height: auto;
}

.norbu-back-link {
  color: inherit;
}

.post-navigation {
  width: min(100%, 760px);
  margin: 70px auto 0;
}

.post-navigation .nav-links {
  justify-content: space-between;
}

.post-navigation a {
  color: inherit;
}

.norbu-archive-header {
  padding: 70px 0 40px;
}

@media (max-width: 700px) {
  .norbu-single,
  .norbu-standard-page {
    width: min(100% - 28px, 1120px);
    padding-top: 56px;
  }
}
