/* ---------------------------------------------------------------------------
   News & Inspiration: the archive and the article.

   A reading design, so unlike the shop it has a measured width: 1240px
   centred, gutters from the page. Flex throughout; the card widths come from
   the gap.
   --------------------------------------------------------------------------- */

.bs-blog { max-width: 1240px; margin: 0 auto; padding: 24px var(--bs-pad) 80px; color: var(--bs-black); }
.bs-blog .bs-breadcrumb { padding-inline: 0; }

/* ---------- Head ---------- */

.bs-blog-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 48px; margin-top: 16px; }
.bs-blog-head__text { flex: 1 1 520px; max-width: 640px; }
.bs-blog-head__title { margin: 0; font-size: 40px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.bs-blog-head__sub { margin: 12px 0 0; color: var(--bs-gray); font-size: 16px; line-height: 1.6; }
.bs-blog-head__quote { flex: 0 1 260px; display: flex; flex-direction: column; gap: 14px; margin: 6px 0 0; padding-left: 20px; border-left: 1px solid var(--bs-gray-medium); color: var(--bs-black-light); font-size: 15px; font-style: italic; line-height: 1.6; }
.bs-blog-head__dash { display: block; width: 24px; height: 2px; background: var(--bs-black); }

@media only screen and (min-width: 990px) {
  .bs-blog-head__title { font-size: 52px; }
}

/* ---------- Chips ---------- */

.bs-blog-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.bs-bchip { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border: 1px solid var(--bs-gray-light); border-radius: 18px; background: var(--bs-white); color: var(--bs-black); font-size: 14px; text-decoration: none; transition: border-color var(--bs-dur) var(--bs-ease), background var(--bs-dur) var(--bs-ease), color var(--bs-dur) var(--bs-ease); }
.bs-bchip:hover { border-color: var(--bs-black); }
.bs-bchip.is-active { border-color: var(--bs-black); background: var(--bs-black); color: var(--bs-white); }
.bs-bchip--tag { height: 32px; font-size: 13px; color: var(--bs-black-light); }

.bs-blog-empty { margin-top: 40px; color: var(--bs-gray); }

/* ---------- Posts, five shapes ---------- */

.bs-post { display: flex; flex-direction: column; gap: 12px; position: relative; }
.bs-post__media { display: block; overflow: hidden; border-radius: 8px; background: var(--bs-gray-ultra-light); }
.bs-post__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--bs-ease); }
.bs-post:hover .bs-post__media img { transform: scale(1.03); }
.bs-post__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.bs-post__title { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.bs-post__title a { color: inherit; text-decoration: none; }
.bs-post__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bs-post__excerpt { margin: 0; color: var(--bs-gray); font-size: 14px; line-height: 1.65; }
.bs-post__more { display: inline-flex; align-items: center; gap: 6px; color: var(--bs-black); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.bs-post__date { color: var(--bs-gray); font-size: 12px; }

.bs-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; color: var(--bs-gray); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.bs-post-meta > * + *::before { content: "|"; margin-right: 12px; color: var(--bs-gray-medium); }
.bs-post-meta__cat { color: var(--bs-black); font-weight: 600; text-decoration: none; }

/* featured: picture left, text right */
.bs-post--featured { flex-direction: row; flex-wrap: wrap; gap: 32px 40px; margin-top: 32px; }
.bs-post--featured .bs-post__media { flex: 1 1 560px; aspect-ratio: 16 / 10; }
.bs-post--featured .bs-post__body { flex: 1 1 300px; justify-content: center; }
.bs-post--featured .bs-post__title { font-size: 30px; font-weight: 700; }
.bs-post--featured .bs-post__excerpt { font-size: 15px; }

@media only screen and (min-width: 990px) {
  .bs-post--featured .bs-post__title { font-size: 36px; }
}

/* card: the latest band */
.bs-post--card .bs-post__media { aspect-ratio: 4 / 3; }

/* guide and explore: light boxes with the picture on the right */
.bs-post--guide, .bs-post--explore { flex-direction: row; align-items: stretch; gap: 16px; padding: 22px; border-radius: 10px; background: var(--bs-gray-ultra-light); }
.bs-post--guide .bs-post__body, .bs-post--explore .bs-post__body { flex: 1 1 auto; justify-content: space-between; }
.bs-post--guide .bs-post__media, .bs-post--explore .bs-post__media { flex: 0 0 42%; aspect-ratio: 1 / 1; }
.bs-post--guide .bs-post__title, .bs-post--explore .bs-post__title { font-size: 18px; }
.bs-post__number { color: var(--bs-gray); font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.bs-post--guide .bs-post__more, .bs-post--explore .bs-post__more { font-size: 13px; text-decoration: none; padding: 0 12px; height: 32px; border: 1px solid var(--bs-gray-medium); border-radius: 16px; }
.bs-post--guide .bs-post__more:hover, .bs-post--explore .bs-post__more:hover { border-color: var(--bs-black); }

/* mini: the sidebar lists */
.bs-post--mini { flex-direction: row; align-items: center; gap: 14px; }
.bs-post--mini .bs-post__media { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 6px; }
.bs-post--mini .bs-post__body { gap: 4px; }
.bs-post--mini .bs-post__title { font-size: 14px; font-weight: 500; }

/* spot: one featured in the sidebar */
.bs-post--spot .bs-post__media { aspect-ratio: 4 / 3; }
.bs-post--spot .bs-post__title { font-size: 17px; }

/* ---------- Bands and grids ---------- */

.bs-blog-band { margin-top: 56px; }
.bs-blog-band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.bs-blog-band__title { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.bs-blog-band__all { color: var(--bs-black); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

.bs-blog-grid { display: flex; flex-wrap: wrap; gap: 32px 24px; }
.bs-blog-grid > .bs-post { flex: 1 1 100%; }

@media only screen and (min-width: 700px) {
  .bs-blog-grid > .bs-post { flex: 0 0 calc((100% - 24px) / 2); }
}

@media only screen and (min-width: 990px) {
  .bs-blog-grid > .bs-post { flex: 0 0 calc((100% - 48px) / 3); }
}

.bs-blog .navigation.pagination { margin-top: 48px; }
.bs-blog .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bs-blog .nav-links .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 20px; background: var(--bs-gray-ultra-light); color: var(--bs-black); text-decoration: none; }
.bs-blog .nav-links .page-numbers.current { background: var(--bs-black); color: var(--bs-white); }
.bs-blog .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- The article ---------- */

.bs-article-wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 64px; margin-top: 8px; }
.bs-article { flex: 1 1 560px; min-width: 0; max-width: 780px; }
.bs-article-side { flex: 0 1 320px; display: flex; flex-direction: column; gap: 36px; position: sticky; top: calc(var(--bs-header-h) + 24px); }

.bs-article__title { margin: 14px 0 0; font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.bs-article__lead { margin: 18px 0 0; color: var(--bs-black-light); font-size: 17px; line-height: 1.65; }
.bs-article__hero { display: flex; flex-direction: column; gap: 10px; margin: 28px 0 0; }
.bs-article__hero img { display: block; width: 100%; height: auto; border-radius: 10px; }
.bs-article__hero figcaption { color: var(--bs-gray); font-size: 13px; text-align: center; }

.bs-article__body { margin-top: 32px; font-size: 16px; line-height: 1.8; color: var(--bs-black-light); }
.bs-article__body > * { margin: 0 0 20px; }
.bs-article__body h2 { margin: 44px 0 16px; color: var(--bs-black); font-size: 26px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.bs-article__body h3 { margin: 32px 0 12px; color: var(--bs-black); font-size: 20px; font-weight: 600; }
.bs-article__body img { display: block; max-width: 100%; height: auto; border-radius: 10px; }
.bs-article__body figure { display: flex; flex-direction: column; gap: 8px; }
.bs-article__body figcaption { color: var(--bs-gray); font-size: 13px; text-align: center; }
.bs-article__body ul, .bs-article__body ol { padding-left: 22px; }
.bs-article__body li { margin-bottom: 8px; }
.bs-article__body blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--bs-black); color: var(--bs-black); font-size: 18px; font-style: italic; }
.bs-article__body table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bs-article__body th, .bs-article__body td { padding: 10px 12px; border: 1px solid var(--bs-gray-light); text-align: left; }
.bs-article__body a { color: var(--bs-black); text-decoration: underline; text-underline-offset: 3px; }

@media only screen and (min-width: 990px) {
  .bs-article__title { font-size: 42px; }
}

.bs-article__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--bs-gray-light); }
.bs-article__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bs-article__share { display: flex; align-items: center; gap: 12px; color: var(--bs-gray); font-size: 14px; }
.bs-article__share a, .bs-article__copy { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--bs-gray-light); border-radius: 50%; background: var(--bs-white); color: var(--bs-black); cursor: pointer; }
.bs-article__share a:hover, .bs-article__copy:hover { border-color: var(--bs-black); }
.bs-article__copy.is-done { background: var(--bs-black); color: var(--bs-white); }

/* ---------- Sidebar ---------- */

.bs-side-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 1px solid var(--bs-gray-light); border-radius: 22px; color: var(--bs-gray); }
.bs-side-search input { flex: 1 1 auto; min-width: 0; border: 0; padding: 0; background: none; color: var(--bs-black); font: inherit; font-size: 14px; }
.bs-side-search input:focus { outline: none; }

.bs-side-block { display: flex; flex-direction: column; gap: 16px; }
.bs-side-block__title { margin: 0; font-size: 17px; font-weight: 700; }
.bs-side-cats { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.bs-side-cats a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--bs-black-light); font-size: 14px; text-decoration: none; }
.bs-side-cats a:hover, .bs-side-cats .is-active a { background: var(--bs-gray-ultra-light); color: var(--bs-black); }
.bs-side-cats .is-active a { font-weight: 600; }
.bs-side-cats__count { color: var(--bs-gray); }
.bs-side-list { display: flex; flex-direction: column; gap: 14px; }

.bs-side-cta { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 10px; background: var(--bs-gray-ultra-light); }
.bs-side-cta__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.bs-side-cta__title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; }
.bs-side-cta__text p { margin: 0; color: var(--bs-gray); font-size: 14px; }
.bs-side-cta__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 20px; background: var(--bs-black); color: var(--bs-white); font-size: 14px; font-weight: 500; text-decoration: none; }
.bs-side-cta__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
