/* Blog content styles — site chrome comes from parent global.css + site-nav.css */

.bs-main {
  background: #fff;
  color: #5e565a;
  min-height: 50vh;
}

.bs-shell {
  max-width: 77.5rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4.5rem;
}

.bs-shell--with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
  gap: 2.5rem;
  align-items: start;
}

.bs-page-hero {
  margin-bottom: 2.5rem;
}

.bs-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 1.4rem;
  margin: 0 0 0.75rem;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  background: #ff934f;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bs-page-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #5e565a;
}

.bs-page-hero__desc {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(94, 86, 90, 0.85);
}

.bs-posts {
  display: grid;
  gap: 1.5rem;
}

.bs-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 1.25rem;
  padding: 1rem;
  border-radius: 1.5rem;
  background: #efecca;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bs-card:hover,
.bs-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  color: inherit;
}

.bs-card__media {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  background: #e5e2c8;
  aspect-ratio: 16 / 10;
}

.bs-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.35rem 0.35rem 0.35rem 0;
}

.bs-card__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  color: #001f1f;
}

.bs-card__excerpt {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #455252;
}

.bs-card__meta,
.bs-entry-meta {
  font-size: 0.85rem;
  color: rgba(94, 86, 90, 0.75);
}

.bs-card__meta a,
.bs-entry-meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bs-article {
  max-width: 48rem;
}

.bs-article__header {
  margin-bottom: 1.75rem;
}

.bs-article__title {
  margin: 0.5rem 0 0;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #5e565a;
}

.bs-article__thumb {
  margin: 0 0 1.75rem;
  overflow: hidden;
  border-radius: 1.25rem;
}

.bs-article__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.bs-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #455252;
}

.bs-content > *:first-child {
  margin-top: 0;
}

.bs-content h2,
.bs-content h3,
.bs-content h4 {
  color: #5e565a;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.bs-content a {
  color: #ff934f;
}

.bs-content img,
.bs-content .wp-block-image img,
.bs-content .elementor-widget-image img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.bs-content .alignwide {
  max-width: 64rem;
}

.bs-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.bs-article__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(94, 86, 90, 0.14);
  font-size: 0.9rem;
}

.bs-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(94, 86, 90, 0.14);
}

.bs-related__title {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: #5e565a;
}

.bs-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.bs-related__grid .bs-card {
  grid-template-columns: 1fr;
}

.bs-sidebar .bs-widget {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: #efecca;
}

.bs-widget__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a7878;
}

.bs-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bs-widget li + li {
  margin-top: 0.5rem;
}

.bs-widget a {
  color: #5e565a;
  text-decoration: none;
}

.bs-widget a:hover,
.bs-widget a:focus-visible {
  color: #ff934f;
}

.bs-pagination {
  margin-top: 2.5rem;
}

.bs-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.bs-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(94, 86, 90, 0.2);
  border-radius: 999px;
  background: #fff;
  color: #5e565a;
  text-decoration: none;
  font-size: 0.9rem;
}

.bs-pagination .page-numbers.current,
.bs-pagination .page-numbers:hover,
.bs-pagination .page-numbers:focus-visible {
  border-color: #ff934f;
  background: #ff934f;
  color: #2b2224;
}

.bs-search-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 28rem;
}

.bs-search-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bs-search-form input[type="search"] {
  flex: 1;
  min-height: 3rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(94, 86, 90, 0.2);
  border-radius: 0.75rem;
  font-size: 1rem;
}

.bs-search-form button {
  min-height: 3rem;
  padding: 0.65rem 1.25rem;
  border: 0;
  border-radius: 0.75rem;
  background: #ff934f;
  color: #2b2224;
  font-weight: 500;
  cursor: pointer;
}

.bs-comments {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(94, 86, 90, 0.14);
}

.bs-empty {
  padding: 2rem;
  border-radius: 1.25rem;
  background: #efecca;
}

.bs-empty h1,
.bs-empty h2 {
  margin-top: 0;
  color: #5e565a;
}

@media (max-width: 991.98px) {
  .bs-shell--with-sidebar {
    grid-template-columns: 1fr;
  }

  .bs-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .bs-shell {
    padding: 2rem 1.15rem 3rem;
  }

  .bs-card {
    grid-template-columns: 1fr;
  }
}

/* Elementor content stays inside main; never under header/footer chrome */
.elementor-location-header,
.elementor-location-footer {
  display: none !important;
}
