:root {
  --bs-primary: #5b46f6;
  --bs-secondary: #101828;
  --bs-accent: #f4b740;
  --bs-text: #344054;
  --bs-muted: #667085;
  --bs-border: #e4e7ec;
  --bs-surface: #f7f8fc;
  --bs-white: #ffffff;
  --bs-success: #067647;
  --bs-container: 1240px;
  --bs-radius-sm: 10px;
  --bs-radius: 16px;
  --bs-radius-lg: 28px;
  --bs-shadow: 0 14px 40px rgba(16, 24, 40, 0.08);
  --bs-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bs-serif: Georgia, "Times New Roman", serif;
  --bs-heading-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bs-white);
  color: var(--bs-text);
  font-family: var(--bs-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bs-primary); text-decoration: none; }
a:hover { text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .65em;
  color: var(--bs-secondary);
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-family: var(--bs-heading-font);
}
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.25rem; }

.bs-container { width: min(calc(100% - 40px), var(--bs-container)); margin-inline: auto; }
.bs-narrow-container { max-width: 860px; }
.site-main { min-height: 55vh; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus,
.skip-link:focus {
  clip: auto !important;
  clip-path: none;
  height: auto;
  width: auto;
  top: 10px;
  left: 10px;
  z-index: 100000;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--bs-secondary);
  color: #fff;
}
:focus-visible { outline: 3px solid color-mix(in srgb, var(--bs-primary) 48%, transparent); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--bs-border);
  backdrop-filter: blur(14px);
}
.admin-bar .site-header { top: 32px; }
.bs-header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.site-branding { flex: 0 0 auto; display: flex; align-items: center; }
.site-branding .custom-logo-link, .site-footer .custom-logo-link { display: inline-flex; align-items: center; }
.site-branding .custom-logo { width: auto; max-height: 44px; }
.site-title { color: var(--bs-secondary); font-size: 1.45rem; font-weight: 800; letter-spacing: -.04em; }
.main-navigation { margin-left: auto; }
.main-navigation ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.main-navigation li { position: relative; }
.main-navigation a { display: block; padding: 11px 13px; border-radius: 9px; color: #344054; font-size: .95rem; font-weight: 600; }
.main-navigation a:hover, .main-navigation .current-menu-item > a, .main-navigation .current_page_item > a { color: var(--bs-primary); background: color-mix(in srgb, var(--bs-primary) 7%, white); }
.main-navigation .sub-menu {
  position: absolute;
  display: none;
  min-width: 210px;
  top: 100%;
  left: 0;
  padding: 8px;
  border: 1px solid var(--bs-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--bs-shadow);
}
.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { display: block; }
.main-navigation .sub-menu a { white-space: nowrap; }
.bs-header-actions { display: flex; align-items: center; gap: 5px; }
.bs-icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--bs-secondary);
  cursor: pointer;
}
.bs-icon-button:hover { background: var(--bs-surface); color: var(--bs-primary); }
.bs-icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bs-cart-count { position: absolute; min-width: 18px; height: 18px; top: 1px; right: 0; display: grid; place-items: center; padding-inline: 4px; border: 2px solid #fff; border-radius: 999px; background: var(--bs-primary); color: #fff; font-size: 10px; font-weight: 800; line-height: 1; }
.bs-menu-toggle { display: none; width: 42px; height: 42px; margin-left: auto; padding: 9px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; }
.bs-menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; border-radius: 99px; background: var(--bs-secondary); transition: transform .2s ease, opacity .2s ease; }
.bs-menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.bs-menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
.bs-menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
.bs-header-search { border-top: 1px solid var(--bs-border); background: #fff; }
.bs-header-search .bs-container { padding-block: 14px; }
.search-form { display: flex; align-items: stretch; gap: 8px; width: 100%; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--bs-border); border-radius: 10px; background: #fff; color: var(--bs-secondary); }
.search-field:focus { border-color: var(--bs-primary); outline: 3px solid color-mix(in srgb, var(--bs-primary) 12%, transparent); }
.search-submit { min-height: 46px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--bs-primary); color: #fff; font-weight: 700; cursor: pointer; }

/* Hero */
.bs-hero { position: relative; overflow: hidden; padding: 74px 0 66px; background: linear-gradient(135deg, #f8f7ff 0%, #fff 50%, #fff8e8 100%); border-bottom: 1px solid #f0f1f5; }
.bs-hero::before { content: ""; position: absolute; width: 420px; height: 420px; top: -200px; right: 10%; border-radius: 50%; background: color-mix(in srgb, var(--bs-primary) 8%, transparent); filter: blur(2px); }
.bs-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 64px; }
.bs-hero-copy { max-width: 680px; }
.bs-eyebrow { display: inline-block; margin-bottom: 16px; color: var(--bs-primary); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.bs-hero h1 { max-width: 760px; margin-bottom: 22px; font-family: var(--bs-heading-font); font-size: clamp(2.75rem, 6vw, 5.15rem); font-weight: 700; line-height: .99; letter-spacing: -.052em; }
.bs-hero-copy > p { max-width: 590px; margin-bottom: 30px; color: #475467; font-size: clamp(1.03rem, 1.5vw, 1.2rem); }
.bs-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bs-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 21px; border: 1px solid transparent; border-radius: 11px; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.bs-button:hover { transform: translateY(-1px); }
.bs-button-primary { background: var(--bs-primary); color: #fff; box-shadow: 0 10px 22px color-mix(in srgb, var(--bs-primary) 22%, transparent); }
.bs-button-primary:hover { color: #fff; box-shadow: 0 14px 28px color-mix(in srgb, var(--bs-primary) 28%, transparent); }
.bs-button-secondary { border-color: #d0d5dd; background: #fff; color: var(--bs-secondary); }
.bs-button-secondary:hover { color: var(--bs-primary); border-color: color-mix(in srgb, var(--bs-primary) 40%, #d0d5dd); }
.bs-button-light { background: #fff; color: var(--bs-secondary); }
.bs-hero-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.bs-hero-visual.has-image { overflow: hidden; border-radius: var(--bs-radius-lg); box-shadow: 0 30px 80px rgba(16,24,40,.13); }
.bs-hero-visual.has-image img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.bs-book-stack { position: relative; width: 310px; height: 390px; }
.bs-book-stack .book { position: absolute; display: block; width: 210px; height: 315px; border-radius: 7px 13px 13px 7px; box-shadow: 0 30px 55px rgba(16,24,40,.17); border-left: 7px solid rgba(0,0,0,.09); }
.bs-book-stack .book::after { content: "BOOK SPOT"; position: absolute; top: 38px; left: 26px; right: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.65); color: rgba(255,255,255,.92); font-size: .78rem; font-weight: 800; letter-spacing: .16em; }
.book-one { z-index: 3; top: 25px; left: 58px; transform: rotate(-3deg); background: linear-gradient(145deg, var(--bs-primary), #8374ff); }
.book-two { z-index: 2; top: 48px; left: 10px; transform: rotate(-14deg); background: linear-gradient(145deg, #111827, #334155); }
.book-three { z-index: 1; top: 55px; right: 3px; transform: rotate(12deg); background: linear-gradient(145deg, #e7a928, #f8cf70); }

/* Shared sections */
.bs-section { padding: 72px 0; }
.bs-section + .bs-section { border-top: 1px solid #f4f4f7; }
.bs-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.bs-section-heading h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.35rem); }
.bs-section-heading > a { color: var(--bs-primary); font-size: .93rem; font-weight: 750; }
.bs-categories-section { background: var(--bs-surface); }
.bs-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bs-category-card { min-width: 0; min-height: 108px; display: flex; align-items: center; gap: 17px; padding: 15px; border: 1px solid var(--bs-border); border-radius: 15px; background: #fff; color: var(--bs-secondary); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.bs-category-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--bs-primary) 30%, var(--bs-border)); box-shadow: 0 12px 30px rgba(16,24,40,.07); }
.bs-category-card img, .bs-category-placeholder { flex: 0 0 78px; width: 78px; height: 78px; border-radius: 11px; object-fit: cover; }
.bs-category-placeholder { display: grid; place-items: center; background: linear-gradient(145deg, color-mix(in srgb, var(--bs-primary) 13%, white), #fff4d9); color: var(--bs-primary); font-family: var(--bs-serif); font-size: 2rem; font-weight: 700; }
.bs-category-content { min-width: 0; display: grid; gap: 5px; }
.bs-category-content strong { overflow: hidden; text-overflow: ellipsis; font-size: 1rem; white-space: nowrap; }
.bs-category-content small { color: var(--bs-muted); }
.bs-promo-section { padding-top: 26px; }
.bs-promo-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(28px, 5vw, 52px); overflow: hidden; border-radius: var(--bs-radius-lg); background: linear-gradient(115deg, var(--bs-secondary), #202a44 65%, color-mix(in srgb, var(--bs-primary) 65%, #111827)); color: #d0d5dd; box-shadow: var(--bs-shadow); }
.bs-promo-card h2 { max-width: 650px; margin-bottom: 12px; color: #fff; font-size: clamp(1.85rem, 3.5vw, 3rem); }
.bs-promo-card p { max-width: 670px; margin: 0; }
.bs-promo-card .bs-eyebrow { color: #c7c1ff; }
.bs-promo-card .bs-button { flex: 0 0 auto; }

/* Blog cards */
.bs-home-blog { background: #fff; }
.bs-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bs-post-card { overflow: hidden; border: 1px solid var(--bs-border); border-radius: 16px; background: #fff; }
.bs-post-card-image { display: block; height: 220px; overflow: hidden; background: linear-gradient(135deg, #eeecff, #fff4d8); }
.bs-post-card-image img, .bs-post-card-image > span { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.bs-post-card:hover .bs-post-card-image img { transform: scale(1.025); }
.bs-post-card-content { padding: 21px; }
.bs-post-card h3 { margin: 7px 0 10px; font-size: 1.18rem; }
.bs-post-card h3 a { color: var(--bs-secondary); }
.bs-post-card h3 a:hover { color: var(--bs-primary); }
.bs-post-card p { margin: 0; color: var(--bs-muted); font-size: .94rem; }
.bs-post-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--bs-muted); font-size: .82rem; }
.bs-post-meta a { color: inherit; }

/* Newsletter */
.bs-newsletter-section { padding-top: 28px; }
.bs-newsletter-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); align-items: center; gap: 48px; padding: clamp(28px, 5vw, 50px); border: 1px solid color-mix(in srgb, var(--bs-primary) 16%, var(--bs-border)); border-radius: var(--bs-radius-lg); background: color-mix(in srgb, var(--bs-primary) 5%, white); }
.bs-newsletter-card h2 { margin-bottom: 10px; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.bs-newsletter-card p { margin: 0; color: var(--bs-muted); }
.bs-newsletter-form input[type="email"], .bs-newsletter-form input[type="text"] { min-height: 48px; padding: 10px 14px; border: 1px solid var(--bs-border); border-radius: 9px; background: #fff; }
.bs-newsletter-form input[type="submit"], .bs-newsletter-form button { min-height: 48px; padding: 10px 18px; border: 0; border-radius: 9px; background: var(--bs-primary); color: #fff; font-weight: 750; cursor: pointer; }
.bs-newsletter-admin-note { padding: 14px; border: 1px dashed #b7b4d8; border-radius: 10px; background: rgba(255,255,255,.7); font-size: .9rem; }

/* Content/blog */
.bs-content-area { padding: 54px 0 80px; }
.bs-content-with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 56px; align-items: start; }
.bs-content-column { min-width: 0; }
.bs-breadcrumbs, .woocommerce-breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 25px; color: var(--bs-muted); font-size: .83rem; }
.bs-breadcrumbs a, .woocommerce-breadcrumb a { color: var(--bs-muted); }
.bs-breadcrumbs a:hover, .woocommerce-breadcrumb a:hover { color: var(--bs-primary); }
.page-header { margin-bottom: 32px; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.archive-description { max-width: 700px; color: var(--bs-muted); }
.bs-post-list { display: grid; gap: 22px; }
.bs-list-card { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--bs-border); }
.bs-list-card-image { height: 180px; overflow: hidden; border-radius: 13px; background: var(--bs-surface); }
.bs-list-card-image img { width: 100%; height: 100%; object-fit: cover; }
.bs-list-card h2 { margin: 8px 0 8px; font-size: 1.55rem; }
.bs-list-card h2 a { color: var(--bs-secondary); }
.bs-list-card .entry-summary p { margin-bottom: 10px; color: var(--bs-muted); }
.bs-text-link { font-weight: 750; }
.bs-entry .entry-header { margin-bottom: 28px; }
.bs-entry .entry-title { font-size: clamp(2.35rem, 5vw, 4rem); }
.bs-entry .entry-featured-image { margin: 30px 0 36px; overflow: hidden; border-radius: 18px; }
.bs-entry .entry-featured-image img { width: 100%; }
.entry-content { color: #344054; font-size: 1.05rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { margin: 1.8em 0; padding: 18px 24px; border-left: 4px solid var(--bs-primary); background: var(--bs-surface); }
.entry-content pre { overflow-x: auto; padding: 18px; border-radius: 10px; background: #111827; color: #f8fafc; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px; border: 1px solid var(--bs-border); text-align: left; }
.bs-entry-categories, .bs-entry-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.bs-entry-categories a, .bs-entry-tags a { padding: 5px 9px; border-radius: 99px; background: var(--bs-surface); color: var(--bs-muted); font-size: .78rem; font-weight: 650; }
.bs-related-posts { margin-top: 55px; padding-top: 36px; border-top: 1px solid var(--bs-border); }
.bs-related-posts > h2 { margin-bottom: 22px; }
.nav-links { display: flex; justify-content: space-between; gap: 18px; margin-top: 38px; }
.post-navigation .nav-previous, .post-navigation .nav-next { width: 48%; }
.post-navigation a { display: grid; gap: 4px; padding: 15px; border: 1px solid var(--bs-border); border-radius: 11px; color: var(--bs-secondary); }
.post-navigation span { color: var(--bs-muted); font-size: .78rem; }
.pagination .nav-links { justify-content: center; align-items: center; }
.page-numbers { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 8px; border: 1px solid var(--bs-border); border-radius: 8px; color: var(--bs-secondary); }
.page-numbers.current { border-color: var(--bs-primary); background: var(--bs-primary); color: #fff; }
.widget-area { position: sticky; top: 110px; }
.widget { margin-bottom: 28px; padding: 20px; border: 1px solid var(--bs-border); border-radius: 13px; }
.widget-title { margin-bottom: 13px; font-size: 1rem; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li + li { margin-top: 9px; }
.widget a { color: var(--bs-text); }
.widget a:hover { color: var(--bs-primary); }
.comments-area { margin-top: 46px; padding-top: 32px; border-top: 1px solid var(--bs-border); }
.comment-list { padding: 0; list-style: none; }
.comment-body { margin-bottom: 18px; padding: 18px; border: 1px solid var(--bs-border); border-radius: 12px; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 650; }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--bs-border); border-radius: 9px; }
.form-submit input { padding: 11px 18px; border: 0; border-radius: 9px; background: var(--bs-primary); color: #fff; font-weight: 750; cursor: pointer; }
.bs-search-results { display: grid; gap: 0; }
.bs-search-result { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--bs-border); }
.bs-search-result:not(:has(.bs-search-thumb)) { grid-template-columns: 1fr; }
.bs-search-thumb { width: 100px; height: 100px; overflow: hidden; border-radius: 10px; background: var(--bs-surface); }
.bs-search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bs-result-type { color: var(--bs-primary); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bs-search-result h2 { margin: 4px 0 7px; font-size: 1.35rem; }
.bs-search-result h2 a { color: var(--bs-secondary); }
.bs-search-result p { margin: 0; color: var(--bs-muted); }
.bs-error-page { max-width: 760px; padding: 80px 0; text-align: center; }
.bs-error-code { display: block; margin-bottom: 8px; color: var(--bs-primary); font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; line-height: 1; letter-spacing: -.08em; }
.bs-error-page h1 { font-size: clamp(2rem, 4vw, 3rem); }
.bs-error-page > p { color: var(--bs-muted); }
.bs-error-page .search-form { max-width: 620px; margin: 30px auto 18px; }
.bs-error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Footer */
.site-footer { margin-top: 70px; background: #0f1728; color: #98a2b3; }
.bs-footer-grid { display: grid; grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(140px, 1fr)); gap: 42px; padding-top: 60px; padding-bottom: 50px; }
.bs-footer-brand { max-width: 330px; }
.bs-footer-brand .custom-logo { max-height: 42px; width: auto; filter: brightness(0) invert(1); }
.bs-footer-brand .site-title { color: #fff; }
.bs-footer-brand p { margin-top: 16px; color: #98a2b3; font-size: .94rem; }
.site-footer .widget { margin: 0; padding: 0; border: 0; }
.site-footer .widget-title { color: #fff; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 8px; }
.bs-social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.bs-social-links a { font-size: .82rem; font-weight: 650; }
.bs-footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.bs-footer-bottom .bs-container { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bs-footer-bottom p { margin: 0; font-size: .84rem; }
.bs-footer-menu { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: .84rem; }

@media (max-width: 1100px) {
  .bs-hero-grid { grid-template-columns: 1fr .72fr; gap: 35px; }
  .bs-book-stack { transform: scale(.86); }
  .bs-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-content-with-sidebar { grid-template-columns: minmax(0, 1fr) 270px; gap: 35px; }
  .bs-footer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .bs-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .bs-header-inner { min-height: 68px; gap: 10px; }
  .bs-menu-toggle { display: block; }
  .main-navigation { position: absolute; display: none; top: 100%; left: 0; width: 100%; margin: 0; padding: 10px 20px 20px; border-top: 1px solid var(--bs-border); border-bottom: 1px solid var(--bs-border); background: #fff; box-shadow: 0 18px 30px rgba(16,24,40,.08); }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { align-items: stretch; flex-direction: column; gap: 2px; }
  .main-navigation a { padding: 12px; }
  .main-navigation .sub-menu { position: static; display: block; padding: 0 0 0 14px; border: 0; box-shadow: none; }
  .bs-header-actions { order: 2; }
  .bs-hero { padding: 58px 0; }
  .bs-hero-grid { grid-template-columns: 1fr; }
  .bs-hero-copy { max-width: 720px; }
  .bs-hero-visual { min-height: 330px; }
  .bs-hero-visual.has-image img { min-height: 330px; }
  .bs-book-stack { height: 335px; transform: scale(.84); transform-origin: center top; }
  .bs-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-newsletter-card { grid-template-columns: 1fr; gap: 24px; }
  .bs-content-with-sidebar { grid-template-columns: 1fr; }
  .widget-area { position: static; }
  .bs-related-posts .bs-post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .bs-container { width: min(calc(100% - 28px), var(--bs-container)); }
  .site-branding .custom-logo { max-width: 145px; max-height: 38px; }
  .site-title { font-size: 1.25rem; }
  .bs-header-actions { gap: 0; }
  .bs-header-actions .bs-icon-button { width: 38px; height: 38px; }
  .bs-header-actions .bs-icon-button svg { width: 19px; height: 19px; }
  .bs-hero { padding: 48px 0 40px; }
  .bs-hero h1 { font-size: clamp(2.55rem, 13vw, 4.1rem); }
  .bs-hero-actions .bs-button { width: 100%; }
  .bs-hero-visual { min-height: 285px; }
  .bs-book-stack { transform: scale(.72); height: 285px; }
  .bs-section { padding: 52px 0; }
  .bs-section-heading { align-items: start; }
  .bs-section-heading h2 { font-size: 1.72rem; }
  .bs-category-grid, .bs-post-grid, .bs-related-posts .bs-post-grid { grid-template-columns: 1fr; }
  .bs-category-card { min-height: 96px; }
  .bs-category-card img, .bs-category-placeholder { flex-basis: 68px; width: 68px; height: 68px; }
  .bs-promo-card { align-items: flex-start; flex-direction: column; }
  .bs-promo-card .bs-button { width: 100%; }
  .bs-newsletter-card { padding: 26px 20px; }
  .bs-list-card { grid-template-columns: 1fr; }
  .bs-list-card-image { height: 210px; }
  .bs-entry .entry-title { font-size: clamp(2rem, 11vw, 3rem); }
  .nav-links { flex-direction: column; }
  .post-navigation .nav-previous, .post-navigation .nav-next { width: 100%; }
  .bs-search-result { grid-template-columns: 78px minmax(0,1fr); }
  .bs-search-thumb { width: 78px; height: 78px; }
  .bs-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .bs-footer-brand { grid-column: 1 / -1; }
  .bs-footer-bottom .bs-container { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}

@media (max-width: 430px) {
  .bs-header-actions .bs-search-toggle { display: none; }
  .bs-footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
