/* WordPress shell compatibility. The approved static component CSS remains in styles.css. */

.bluh2-inner-page .site-header {
  background: rgba(5, 16, 29, 0.98);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
}

.admin-bar .site-header,
.admin-bar .flow-announcement {
  top: 32px;
}

.admin-bar.flow-product-page .site-header {
  top: calc(var(--flow-announcement-height) + 32px);
}

.site-main--standard,
.site-main--commerce {
  min-height: 60vh;
  padding-block: clamp(150px, 15vw, 210px) var(--section-space);
  background: var(--paper);
}

.wp-content-shell {
  max-width: 1040px;
}

.wp-entry-header {
  padding-bottom: 34px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.wp-entry-header h1,
.error-404 h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.wp-entry-content {
  color: #33445a;
}

.wp-entry-content > * {
  max-width: 780px;
}

.wp-entry-content > .alignwide {
  max-width: 1040px;
}

.wp-entry-content > .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
}

.wp-entry-content > .woocommerce,
.wp-entry-content > .wp-block-woocommerce-cart,
.wp-entry-content > .wp-block-woocommerce-checkout {
  max-width: 1040px;
}

.wp-entry-content h2,
.wp-entry-content h3 {
  margin-top: 1.35em;
}

.wp-entry-content h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.wp-entry-content a:not(.button) {
  color: var(--ocean);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wp-entry-content img {
  height: auto;
  border-radius: var(--radius-sm);
}

.wp-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.wp-post-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.wp-post-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.wp-post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-post-card > div {
  padding: 30px;
}

.wp-post-card h2 {
  margin-bottom: 16px;
  font-size: 1.8rem;
}

.navigation.pagination {
  margin-top: 48px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links .page-numbers {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-links .current {
  color: var(--white);
  background: var(--ocean);
  border-color: var(--ocean);
}

.error-404 {
  padding-block: clamp(40px, 8vw, 100px);
}

.error-404 > p:not(.eyebrow) {
  max-width: 600px;
  margin: 28px 0;
  color: var(--text-muted);
}

.button-on-light {
  color: var(--ink);
  border-color: #a9bac5;
}

.button-on-light:hover {
  color: var(--white);
  background: var(--ocean);
  border-color: var(--ocean);
}

.post-password-form input[type="password"] {
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.post-password-form input[type="submit"] {
  min-height: 52px;
  padding: 10px 20px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  border-radius: 7px;
}

@media (max-width: 782px) {
  .admin-bar .site-header,
  .admin-bar .flow-announcement {
    top: 46px;
  }

  .admin-bar.flow-product-page .site-header {
    top: calc(var(--flow-announcement-height) + 46px);
  }
}

@media (max-width: 720px) {
  .site-main--standard,
  .site-main--commerce {
    padding-block: 122px 76px;
  }

  .wp-post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  body {
    min-width: 0;
  }
}
