.bs-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--theme-primary-color); font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.bs-eyebrow::before { content: ''; width: 30px; height: 2px; background: currentColor; }

/* Hero (brand image: the logo sits on the right, so the text stays left) */
.bs-hero { position: relative; padding: 70px 0 120px; background: #12171f url(../../images/background/bg-home1.webp) center right / cover no-repeat; color: #fff; }
.bs-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 14, 18, .9) 0%, rgba(12, 14, 18, .6) 55%, rgba(12, 14, 18, .15) 100%); }
.bs-hero .container { position: relative; z-index: 1; }
.bs-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 46px; padding: 0; list-style: none; font-size: 14px; }
.bs-crumbs li { color: rgba(255, 255, 255, .6); }
.bs-crumbs li + li::before { content: '/'; margin-right: 8px; color: rgba(255, 255, 255, .35); }
.bs-crumbs a { color: rgba(255, 255, 255, .8); }
.bs-crumbs a:hover, .bs-crumbs li:last-child { color: #d4b07a; }
.bs-hero .bs-eyebrow { color: #d4b07a; }
.bs-hero h1 { max-width: 640px; margin: 0 0 16px; color: #fff; font-size: 48px; line-height: 1.15; }
.bs-lead { max-width: 560px; margin: 0 0 32px; color: rgba(255, 255, 255, .8); font-size: 17px; line-height: 1.75; }
.bs-search { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; max-width: 640px; }
.bs-search .qe-field { flex: 1 1 340px; margin: 0; }
.bs-search .qe-input { height: 56px; border-color: transparent; background: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.bs-count { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 600; }
.bs-count i { color: #d4b07a; }

/* Post list (pulled up over the hero) */
.bs-list { padding: 0 0 90px; background: #f6f3ee; }
.bs-list .container { position: relative; z-index: 2; top: -70px; margin-bottom: -70px; }
.bs-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; color: #8a8f94; font-size: 13px; font-weight: 500; }
.bs-meta i { margin-right: 4px; color: var(--theme-primary-color); }

/* Featured: newest post, image left / text right */
/* blog images have text baked in, so the media keeps their 3:2 shape instead of cropping */
.bs-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; margin-bottom: 40px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(18, 23, 31, .12); }
.bs-featured-media { position: relative; display: block; align-self: stretch; min-height: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #e9e4dc; }
.bs-featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bs-featured:hover .bs-featured-media img { transform: scale(1.04); }
.bs-badge { position: absolute; bottom: 20px; left: 20px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 30px; background: var(--theme-primary-color); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.bs-featured-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 48px 48px 48px 44px; }
.bs-featured h2 { margin: 0 0 16px; font-size: 32px; line-height: 1.25; }
.bs-featured h2 a { color: var(--theme-dark-color); }
.bs-featured h2 a:hover { color: var(--theme-primary-color); }
.bs-featured p { margin: 0 0 28px; font-size: 16px; line-height: 1.8; }

/* Buttons */
.bs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 10px; background: var(--theme-primary-color); color: #fff; font-weight: 600; transition: background-color .2s, transform .2s, box-shadow .2s; }
.bs-btn:hover { background: #95703f; color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(170, 132, 83, .35); }
.bs-btn i { font-size: 14px; }
.bs-btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .35); }
.bs-btn-ghost:hover { background: #25d366; border-color: #25d366; box-shadow: none; }

/* Grid cards */
.bs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.bs-card { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(18, 23, 31, .06); transition: box-shadow .3s, transform .3s; }
.bs-card:hover { box-shadow: 0 22px 44px rgba(18, 23, 31, .12); transform: translateY(-6px); }
.bs-card[hidden], .bs-featured[hidden] { display: none; }
.bs-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #e9e4dc; }
.bs-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bs-card:hover .bs-media img { transform: scale(1.05); }
.bs-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px 26px 28px; }
.bs-title { margin: 0 0 12px; font-size: 20px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bs-title a { color: var(--theme-dark-color); }
.bs-title a:hover { color: var(--theme-primary-color); }
.bs-excerpt { margin: 0 0 22px; font-size: 15px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bs-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--theme-dark-color); font-weight: 600; }
.bs-more i { color: var(--theme-primary-color); font-size: 13px; transition: transform .2s; }
.bs-more:hover { color: var(--theme-primary-color); }
.bs-more:hover i { transform: translateX(4px); }

.bs-none { margin: 10px 0 0; padding: 40px 20px; border-radius: 18px; background: #fff; text-align: center; font-size: 16px; }
.bs-empty { padding: 60px 24px; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 24px 60px rgba(18, 23, 31, .1); }
.bs-empty > i { margin-bottom: 18px; color: var(--theme-primary-color); font-size: 42px; }
.bs-empty h2 { margin: 0 0 10px; font-size: 28px; }
.bs-empty p { max-width: 520px; margin: 0 auto; }

/* Bottom call to action */
.bs-cta { padding: 0 0 100px; background: #f6f3ee; }
.bs-cta-box { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; padding: 48px 52px; border-radius: 20px; background: #12171f; color: #fff; }
.bs-cta .bs-eyebrow { color: #d4b07a; }
.bs-cta h2 { margin: 0 0 8px; color: #fff; font-size: 30px; line-height: 1.3; }
.bs-cta p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 16px; }
.bs-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media screen and (max-width: 991.98px) {
    .bs-hero { padding: 50px 0 110px; }
    .bs-hero h1 { font-size: 38px; }
    .bs-featured { grid-template-columns: 1fr; }
    .bs-featured-media { min-height: 0; }
    .bs-featured-body { padding: 32px 30px 34px; }
    .bs-featured h2 { font-size: 26px; }
    .bs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .bs-list { padding-bottom: 70px; }
    .bs-cta { padding-bottom: 70px; }
    .bs-cta-box { padding: 38px 32px; }
    .bs-cta h2 { font-size: 26px; }
}
@media screen and (max-width: 575.98px) {
    .bs-hero::before { background: rgba(12, 14, 18, .78); }
    .bs-crumbs { margin-bottom: 30px; }
    .bs-hero h1 { font-size: 32px; }
    .bs-lead { font-size: 16px; }
    .bs-featured-body { padding: 26px 20px 28px; }
    .bs-featured h2 { font-size: 23px; }
    .bs-grid { grid-template-columns: 1fr; }
    .bs-body { padding: 22px 20px 24px; }
    .bs-cta-box { padding: 32px 22px; }
    .bs-cta-actions, .bs-cta-actions .bs-btn { width: 100%; }
}
