/* ==========================================================================
   SSPL Textile - blog: listing, article, home-page "Textile Insights" section
   Uses the site's own colours (base.css), the inner-page hero and the surface rhythm of the product pages.
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* surfaces (same four as the Home page) */
section.pd-tone--w { background: #fff; }
section.pd-tone--b { background: var(--blush); }
section.pd-tone--g { background: var(--light-grey); }
section.pd-tone--o { background: var(--oak); }

/* ---------- search + category bar ---------- */
.blog-bar { padding-block: clamp(1.4rem, 2.6vw, 2rem); border-bottom: 1px solid rgba(19, 52, 77, .08); }
.blog-bar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.blog-search { display: flex; align-items: center; gap: .6rem; flex: 0 1 380px; min-width: 240px; height: 2.9rem; padding: 0 .35rem 0 1rem; background: var(--light-grey); border: 1px solid rgba(19, 52, 77, .14); border-radius: 999px; color: var(--navy); }
.blog-search:focus-within { background: #fff; border-color: var(--nordic-blue); }
.blog-search .icon { width: 1.1rem; height: 1.1rem; flex: none; }
.blog-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: .92rem; color: var(--ink); outline: none; }
.blog-search button { height: 2.2rem; padding: 0 1.1rem; border-radius: 999px; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.blog-search button:hover { background: var(--nordic-blue1); }
.blog-cats { display: flex; flex-wrap: wrap; gap: .45rem; flex: 1 1 320px; }
.blog-cats a { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem; border: 1px solid rgba(19, 52, 77, .2); border-radius: 999px; background: #fff; color: var(--navy); font-size: .78rem; font-weight: 700; letter-spacing: .03em; transition: background-color .25s, color .25s, border-color .25s; }
.blog-cats a small { opacity: .6; font-weight: 800; }
.blog-cats a:hover { border-color: var(--navy); }
.blog-cats a.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- cards ---------- */
.blog-list { padding-block: clamp(2rem, 4vw, 3.4rem) clamp(2.6rem, 5vw, 4.4rem); }
.blog-result { margin-bottom: 1.4rem; font-size: .95rem; color: var(--ink-soft); }
.blog-result a { color: var(--navy); font-weight: 800; border-bottom: 1.5px solid var(--nordic-blue); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.4rem); }
.blog-featured { margin-bottom: clamp(1.2rem, 2.4vw, 2rem); }
.blog-card { background: #fff; border-radius: 14px; overflow: hidden; border-top: 4px solid var(--nordic-blue); box-shadow: 0 18px 34px -28px rgba(10, 31, 48, .45); transition: transform .4s var(--ease), box-shadow .4s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 28px 40px -26px rgba(10, 31, 48, .5); }
.pd-tone--w .blog-card { border: 1px solid rgba(19, 52, 77, .12); border-top: 4px solid var(--nordic-blue); }
.blog-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.blog-card__img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--misty); overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-500)); color: rgba(231, 224, 216, .55); }
.blog-card__ph .icon { width: 3.2rem; height: 3.2rem; }
.blog-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.3rem 1.35rem; }
.blog-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; font-size: .74rem; font-weight: 700; letter-spacing: .06em; color: var(--ink-soft); text-transform: uppercase; }
.blog-card__cat { font-style: normal; color: var(--nordic-700); font-weight: 800; letter-spacing: .12em; }
.blog-card h3 { margin-top: .5rem; font-family: var(--ff-display); font-weight: 700; font-size: 1.4rem; line-height: 1.15; color: var(--navy); }
.blog-card p { margin-top: .5rem; font-size: .96rem; line-height: 1.55; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__go { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1rem; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.blog-card__go .icon { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.blog-card:hover .blog-card__go .icon { transform: translateX(4px); }
.blog-card--featured .blog-card__link { flex-direction: row; }
.blog-card--featured .blog-card__img { flex: 0 0 52%; aspect-ratio: auto; min-height: 340px; }
.blog-card--featured .blog-card__body { justify-content: center; padding: clamp(1.4rem, 3vw, 2.6rem); }
.blog-card--featured h3 { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); }
.blog-card--featured p { font-size: 1.05rem; -webkit-line-clamp: 4; }

.blog-empty { max-width: 560px; margin: clamp(1rem, 3vw, 2.5rem) auto; text-align: center; color: var(--ink-soft); }
.blog-empty .icon { width: 2.6rem; height: 2.6rem; color: var(--nordic-blue); }
.blog-empty h2 { margin-top: .8rem; font-family: var(--ff-display); font-size: 2rem; color: var(--navy); }
.blog-empty p { margin-top: .5rem; line-height: 1.6; }
.blog-empty a { color: var(--navy); font-weight: 800; border-bottom: 1.5px solid var(--nordic-blue); }

.blog-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: clamp(1.6rem, 3vw, 2.6rem); }
.blog-pager a { min-width: 2.6rem; height: 2.6rem; padding: 0 .9rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(19, 52, 77, .2); border-radius: 999px; background: #fff; color: var(--navy); font-size: .85rem; font-weight: 800; }
.blog-pager a:hover { border-color: var(--navy); }
.blog-pager a.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- article detail: header, two-column layout, prose, sidebar ---------- */
.blog-crumbs { margin-bottom: 1.1rem; color: var(--ink-soft); font-size: .88rem; }
.blog-crumbs a { color: var(--ink-soft); }
.blog-crumbs a:hover { color: var(--navy); }
.blog-crumbs [aria-current] { color: var(--navy); font-weight: 600; }

.ba-head { padding-block: clamp(1.6rem, 3vw, 2.4rem) clamp(1.4rem, 2.6vw, 2rem); }
/* hero: the featured image carries the category, title and metadata */
.ba-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(380px, 38vw, 520px); border-radius: 6px; overflow: hidden; background: var(--navy); box-shadow: 0 22px 40px -30px rgba(10, 31, 48, .55); }
.ba-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 26, 40, .08) 0%, rgba(8, 26, 40, .28) 38%, rgba(8, 26, 40, .88) 100%); }
.ba-hero__text { position: relative; z-index: 1; width: 100%; max-width: 52rem; padding: clamp(1.4rem, 3.4vw, 3rem); color: #fff; }
.ba-hero__cat { display: inline-block; padding: .28rem .7rem; border: 1px solid rgba(231, 224, 216, .75); border-radius: 3px; background: rgba(8, 26, 40, .35); color: var(--gold-200, #E7E0D8); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; transition: background-color .25s, color .25s; }
.ba-hero__cat:hover, .ba-hero__cat:focus-visible { background: #fff; border-color: #fff; color: var(--navy); }
.ba-title { margin-top: .85rem; font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.1rem); line-height: 1.08; letter-spacing: -.01em; color: #fff; text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.ba-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 0; margin-top: 1rem; font-size: .92rem; color: rgba(255, 255, 255, .88); }
.ba-meta > span { display: inline-flex; align-items: center; gap: .3em; padding-inline: 0 .9rem; }
.ba-meta > span + span { padding-left: .9rem; border-left: 1px solid rgba(255, 255, 255, .4); }
.ba-meta b { color: #fff; }
.ba-meta__read { gap: .4rem; }
.ba-meta__read .icon { width: 1rem; height: 1rem; color: var(--gold-200, #E7E0D8); }

.ba-body { padding-block: clamp(1.8rem, 3.4vw, 3rem) clamp(2.4rem, 4.5vw, 4rem); }
.ba-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: clamp(1.6rem, 4vw, 3.6rem); align-items: start; }
.ba-article { min-width: 0; }

.blog-prose { font-size: clamp(1.02rem, .98rem + .2vw, 1.12rem); line-height: 1.82; color: var(--ink); }
.blog-prose > * + * { margin-top: 1.15rem; }
.blog-prose h2 { margin-top: 2.6rem; padding-top: 1.1rem; border-top: 1px solid rgba(19, 52, 77, .14); font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.7rem, 1.25rem + 1.3vw, 2.3rem); line-height: 1.15; color: var(--navy); scroll-margin-top: calc(var(--header-h) + 14px); }
.blog-prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.blog-prose h3 { margin-top: 1.9rem; font-family: var(--ff-display); font-weight: 700; font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); line-height: 1.22; color: var(--navy); }
.blog-prose h3::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .55rem; background: var(--nordic-blue); border-radius: 1px; vertical-align: .12em; }
.blog-prose h4 { margin-top: 1.4rem; font-weight: 800; font-size: 1.05rem; color: var(--navy); }
.blog-prose a { color: var(--nordic-700); font-weight: 600; border-bottom: 1.5px solid var(--nordic-blue); }
.blog-prose a:hover, .blog-prose a:focus-visible { color: var(--navy); border-bottom-color: var(--navy); }
.blog-prose a:focus-visible { outline: 2px solid var(--nordic-blue); outline-offset: 2px; }
.blog-prose ul, .blog-prose ol { padding-left: 1.5rem; }
.blog-prose ul { list-style: disc; }
.blog-prose ol { list-style: decimal; }
.blog-prose li::marker { color: var(--nordic-700); font-weight: 700; }
.blog-prose li + li { margin-top: .45rem; }
.blog-prose blockquote { margin-block: 1.6rem; padding: 1rem 1.3rem; background: var(--light-grey); border-left: 4px solid var(--navy); border-radius: 0 4px 4px 0; font-family: var(--ff-display); font-size: 1.3rem; line-height: 1.45; font-style: italic; color: var(--navy); }
.blog-prose blockquote > * + * { margin-top: .6rem; }
.blog-prose img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: 4px; }
.blog-prose figure { margin-inline: 0; }
.blog-prose figcaption { margin-top: .4rem; font-size: .88rem; color: var(--ink-soft); text-align: center; }
.blog-prose table { width: 100%; border-collapse: collapse; font-size: .98rem; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.blog-prose th, .blog-prose td { padding: .65rem .85rem; border: 1px solid rgba(19, 52, 77, .16); text-align: left; vertical-align: top; }
.blog-prose th { background: var(--navy); color: #fff; font-weight: 700; }
.blog-prose tbody tr:nth-child(even) td { background: var(--light-grey); }
.blog-prose hr { border: 0; border-top: 1px solid rgba(19, 52, 77, .18); margin-block: 2rem; }

.ba-share { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-top: clamp(2rem, 4vw, 2.8rem); padding-block: 1.1rem; border-block: 1px solid rgba(19, 52, 77, .14); }
.ba-share__label { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.ba-share ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.ba-share a, .ba-share button { display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 .95rem; border: 1px solid rgba(19, 52, 77, .22); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.ba-share a:hover, .ba-share button:hover, .ba-share a:focus-visible, .ba-share button:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; }
.ba-share .icon { width: 1rem; height: 1rem; }

.ba-author { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.6rem; padding: 1.2rem 1.3rem; background: var(--light-grey); border-radius: 6px; }
.ba-author__mark { flex: none; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--navy); color: #fff; }
.ba-author__mark .icon { width: 1.4rem; height: 1.4rem; }
.ba-author .ba-author__name { margin-bottom: .2rem; font-family: var(--ff-display); font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.ba-author .ba-author__name small { font-family: var(--ff-body); font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.ba-author p + p { margin-top: .25rem; }
.ba-author p { font-size: .96rem; line-height: 1.6; color: var(--ink-soft); }
.ba-author a { color: var(--navy); font-weight: 700; border-bottom: 1.5px solid var(--nordic-blue); white-space: nowrap; }

.ba-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.ba-pn__item { display: block; padding: 1rem 1.2rem; border: 1px solid rgba(19, 52, 77, .16); border-radius: 6px; transition: border-color .25s, box-shadow .25s, transform .3s var(--ease); }
.ba-pn__item:hover, .ba-pn__item:focus-visible { border-color: var(--navy); box-shadow: 0 16px 26px -22px rgba(10, 31, 48, .5); transform: translateY(-2px); }
.ba-pn__item small { display: flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--nordic-700); }
.ba-pn__item small .icon { width: .95rem; height: .95rem; }
.ba-pn__item span { display: block; margin-top: .4rem; font-family: var(--ff-display); font-size: 1.15rem; font-weight: 700; line-height: 1.25; color: var(--navy); }
.ba-pn__item--next { text-align: right; }
.ba-pn__item--next small { justify-content: flex-end; }

/* sidebar */
.ba-side { display: grid; gap: 1.2rem; align-content: start; }
.bs-box { padding: 1.2rem 1.25rem; background: #fff; border: 1px solid rgba(19, 52, 77, .14); border-radius: 6px; box-shadow: 0 14px 28px -26px rgba(10, 31, 48, .5); }
.bs-title { margin-bottom: .9rem; padding-bottom: .7rem; border-bottom: 2px solid var(--navy); font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700; line-height: 1.2; color: var(--navy); }
.bs-search { display: flex; height: 2.9rem; border: 1px solid rgba(19, 52, 77, .25); border-radius: 4px; overflow: hidden; background: #fff; }
.bs-search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(103, 134, 154, .25); }
.bs-search input { flex: 1; min-width: 0; padding: 0 .85rem; border: 0; background: transparent; font: inherit; font-size: .95rem; color: var(--ink); outline: none; }
.bs-search button { flex: none; width: 3rem; display: grid; place-items: center; background: var(--navy); color: #fff; cursor: pointer; transition: background-color .25s; }
.bs-search button:hover { background: var(--nordic-700); }
.bs-search .icon { width: 1.15rem; height: 1.15rem; }

.bs-cats li + li { border-top: 1px solid rgba(19, 52, 77, .1); }
.bs-cats a { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .62rem .1rem; color: var(--navy); font-weight: 600; font-size: .96rem; transition: padding-left .25s var(--ease), color .25s; }
.bs-cats a:hover, .bs-cats a:focus-visible { padding-left: .45rem; color: var(--nordic-700); }
.bs-cats a.is-on { font-weight: 800; }
.bs-cats small { min-width: 1.7rem; padding: .1rem .45rem; border-radius: 999px; background: var(--light-grey); color: var(--ink-soft); font-size: .75rem; font-weight: 800; text-align: center; }
.bs-cats a.is-on small { background: var(--navy); color: #fff; }

.bs-list { display: grid; gap: .95rem; }
.bs-mini a { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: .85rem; align-items: start; color: inherit; }
.bs-mini__img { display: block; width: 78px; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--misty); }
.bs-mini__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bs-mini__img > span { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), var(--navy-500)); color: rgba(231, 224, 216, .6); }
.bs-mini__img .icon { width: 1.5rem; height: 1.5rem; }
.bs-mini a:hover .bs-mini__img img { transform: scale(1.08); }
.bs-mini__body { display: grid; gap: .15rem; min-width: 0; }
.bs-mini em { font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--nordic-700); }
.bs-mini strong { font-family: var(--ff-display); font-size: 1.08rem; font-weight: 700; line-height: 1.22; color: var(--navy); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bs-mini a:hover strong, .bs-mini a:focus-visible strong { color: var(--nordic-700); }
.bs-mini time { font-size: .78rem; color: var(--ink-soft); }

.bs-cta { background: var(--navy); border-color: var(--navy); color: #fff; }
.bs-cta .bs-title { color: #fff; border-bottom-color: rgba(255, 255, 255, .35); }
.bs-cta p { font-size: .96rem; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.bs-cta__btns { display: grid; gap: .6rem; margin-top: 1.1rem; }
.bs-btn { display: flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0 1rem; border: 1.5px solid #fff; border-radius: 4px; color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: background-color .25s, color .25s; }
.bs-btn:hover, .bs-btn:focus-visible { background: #fff; color: var(--navy); }
.bs-btn--solid { background: #fff; color: var(--navy); }
.bs-btn--solid:hover, .bs-btn--solid:focus-visible { background: var(--misty); color: var(--navy); }
@media (min-width: 1001px) {
  .bs-cta { position: sticky; top: calc(var(--header-h) + 14px); }   /* follows the reader down the article, stays inside the sidebar column */
}

.blog-fabrics { padding-block: clamp(2rem, 3.6vw, 3rem); }
.blog-fabrics .h-display { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.5rem); margin-block: .5rem 1.2rem; }
.ba-more .h-display { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.5rem); margin-block: .5rem 1.4rem; }
.ba-more .blog-card { border-radius: 6px; }
.ba-more .blog-card__body { min-height: 13.5rem; }

/* ---------- home page section: intro on the left, three compact article rows on the right (fits one screen) ---------- */
.blog-home { background: var(--blush); padding-block: clamp(2.2rem, 5vh, 3.8rem); }
.blog-home__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.8rem, 4vw, 4rem); align-items: center; }
.blog-home__intro .h-display { font-size: clamp(2rem, 1.1rem + 2.4vw, 3.2rem); margin: .6rem 0 1rem; }
.blog-home__intro .lead-text { margin-bottom: 1.6rem; max-width: 46ch; }
.blog-home__list { display: grid; gap: clamp(.7rem, 1.4vh, 1rem); }
.blog-card--row .blog-card__link { flex-direction: row; align-items: stretch; }
.blog-card--row .blog-card__img { flex: 0 0 34%; aspect-ratio: auto; min-height: clamp(112px, 17vh, 150px); }
.blog-card--row .blog-card__body { justify-content: center; padding: .85rem 1.2rem; }
.blog-card--row h3 { margin-top: .3rem; font-size: clamp(1.15rem, 1rem + .35vw, 1.4rem); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card--row p { margin-top: .3rem; font-size: .9rem; -webkit-line-clamp: 2; }
.blog-card--row .blog-card__go { padding-top: .5rem; }
.blog-card--row:hover { transform: translateX(4px); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .ba-layout { grid-template-columns: 1fr; }
  .ba-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .ba-side .bs-cta { grid-column: 1 / -1; }
  .blog-home__grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-card--featured .blog-card__link { flex-direction: column; }
  .blog-card--featured .blog-card__img { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 640px) {
  .ba-side { grid-template-columns: 1fr; }
  .ba-pn { grid-template-columns: 1fr; }
  .ba-pn__item--next { text-align: left; }
  .ba-pn__item--next small { justify-content: flex-start; }
  .ba-share a, .ba-share button { height: 2.7rem; }
  .bs-search { height: 3.1rem; }
  .blog-card--row .blog-card__link { flex-direction: column; }
  .blog-card--row .blog-card__img { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-search { flex-basis: 100%; }
  .blog-prose { font-size: 1.04rem; line-height: 1.75; }
}

/* home rows: the picture fills the left block without setting its height, so the three rows stay compact */
.blog-card--row .blog-card__img { position: relative; min-height: clamp(104px, 14vh, 140px); }
.blog-card--row .blog-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-card--row .blog-card__body { padding: .7rem 1.2rem; }
.blog-card--row p { -webkit-line-clamp: 2; }
.blog-card--row .blog-card__go { padding-top: .35rem; }
@media (min-width: 1001px) and (max-height: 760px) {
  .blog-home { padding-block: 1.6rem; }
  .blog-card--row p { display: none; }
  .blog-card--row .blog-card__img { min-height: 96px; }
}
@media (max-width: 1000px) { .blog-card--row .blog-card__img { min-height: 118px; } }

/* ===== home section: three cards in a row, compact enough for the whole section to sit on one screen ===== */
.blog-home { padding-block: clamp(1.8rem, 4.5vh, 3rem); }
.blog-home__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1rem, 2.4vh, 1.6rem); }
.blog-home__head .h-display { font-size: clamp(1.9rem, 1rem + 2.2vw, 2.8rem); margin: .4rem 0 .5rem; }
.blog-home__head .lead-text { max-width: 62ch; font-size: 1rem; }
.blog-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.4rem); }
.blog-grid--home .blog-card { border: 0; border-top: 4px solid var(--nordic-blue); }
.blog-grid--home .blog-card__img { aspect-ratio: auto; height: clamp(120px, 21vh, 210px); }
.blog-grid--home .blog-card__body { padding: .9rem 1.2rem 1.05rem; }
.blog-grid--home .blog-card h3 { margin-top: .35rem; font-size: clamp(1.15rem, 1rem + .35vw, 1.35rem); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-grid--home .blog-card p { margin-top: .35rem; font-size: .92rem; -webkit-line-clamp: 2; }
.blog-grid--home .blog-card__go { padding-top: .6rem; }
@media (min-width: 1001px) and (max-height: 760px) {
  .blog-home { padding-block: 1.4rem; }
  .blog-grid--home .blog-card__img { height: clamp(90px, 17vh, 130px); }
  .blog-grid--home .blog-card p { display: none; }
}
@media (max-width: 1000px) { .blog-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); } .blog-grid--home .blog-card:nth-child(3) { display: none; } .blog-grid--home .blog-card__img { height: clamp(130px, 22vw, 190px); } }
@media (max-width: 640px) { .blog-grid--home { grid-template-columns: 1fr; } .blog-grid--home .blog-card:nth-child(3) { display: block; } .blog-grid--home .blog-card__img { height: 170px; } }

/* the Textile Insights section fills one screen (like the Overview section): scrolled to, it takes the whole viewport, content centred */
.blog-home { min-height: calc(100svh - var(--header-h)); display: grid; align-content: center; }
.blog-grid--home .blog-card__img { height: clamp(120px, 22vh, 230px); }
@media (max-width: 1000px) { .blog-home { min-height: 0; display: block; } }
/* header: heading + text on the left, button aligned to the bottom right, kept clear of the floating side buttons */
.blog-home__head { padding-right: clamp(0px, 2vw, 1.5rem); }
.blog-home__head > div:last-child { flex: none; }

/* home cards: pictures 20% taller */
.blog-grid--home .blog-card__img { height: clamp(144px, 26.4vh, 276px); }
@media (min-width: 1001px) and (max-height: 760px) { .blog-grid--home .blog-card__img { height: clamp(108px, 20.4vh, 156px); } }
@media (max-width: 1000px) { .blog-grid--home .blog-card__img { height: clamp(156px, 26vw, 228px); } }
@media (max-width: 640px) { .blog-grid--home .blog-card__img { height: 204px; } }

/* home cards: pictures a further 30% taller */
.blog-grid--home .blog-card__img { height: clamp(187px, 34.3vh, 359px); }
@media (min-width: 1001px) and (max-height: 760px) { .blog-grid--home .blog-card__img { height: clamp(140px, 26.5vh, 203px); } }
@media (max-width: 1000px) { .blog-grid--home .blog-card__img { height: clamp(203px, 33.8vw, 296px); } }
@media (max-width: 640px) { .blog-grid--home .blog-card__img { height: 265px; } }

/* home cards: pictures another 20% taller */
.blog-grid--home .blog-card__img { height: clamp(224px, 41.2vh, 431px); }
@media (min-width: 1001px) and (max-height: 760px) { .blog-grid--home .blog-card__img { height: clamp(168px, 31.8vh, 244px); } }
@media (max-width: 1000px) { .blog-grid--home .blog-card__img { height: clamp(244px, 40.6vw, 355px); } }
@media (max-width: 640px) { .blog-grid--home .blog-card__img { height: 318px; } }
/* tighter spacing around the taller pictures */
@media (min-width: 1001px) {
  .blog-home { padding-block: clamp(.9rem, 2vh, 1.6rem); }
  .blog-home__head { margin-bottom: clamp(.7rem, 1.6vh, 1.1rem); }
  .blog-home__head .h-display { margin: .3rem 0 .35rem; }
  .blog-grid--home .blog-card__body { padding: .75rem 1.2rem .85rem; }
}

/* home cards: pictures another 20% taller */
.blog-grid--home .blog-card__img { height: clamp(269px, 49.4vh, 517px); }
@media (min-width: 1001px) and (max-height: 760px) { .blog-grid--home .blog-card__img { height: clamp(202px, 38vh, 293px); } }
@media (max-width: 1000px) { .blog-grid--home .blog-card__img { height: clamp(293px, 48.7vw, 426px); } }
@media (max-width: 640px) { .blog-grid--home .blog-card__img { height: 382px; } }

/* more room below the cards */
.blog-home { padding-bottom: clamp(2.6rem, 7vh, 4.6rem); }
@media (min-width: 1001px) { .blog-home { padding-bottom: clamp(2.6rem, 7vh, 4.6rem); } }

/* desktop: the logo plate hangs 125px+ below the header - start the article header beneath it */
@media (min-width: 1061px) { .ba-head { padding-top: 6.4rem; } }
@media (max-width: 900px) { .ba-hero { min-height: clamp(340px, 52vw, 420px); } }
@media (max-width: 640px) { .ba-hero { min-height: 380px; } .ba-title { font-size: clamp(1.6rem, 6.6vw, 2rem); } .ba-meta { font-size: .85rem; } .ba-meta > span { padding-inline: 0 .65rem; } .ba-meta > span + span { padding-left: .65rem; } }



/* the fixed quick-contact buttons sit on the right edge: keep the article, sidebar and article sections clear of them (desktop/tablet; on phones the buttons move to a bottom row) */
@media (min-width: 721px) {
  .ba-head .container, .ba-body .container, .blog-fabrics .container, .ba-more .container { width: min(var(--container), 100% - 2 * max(var(--gutter), 72px)); }
}

/* Home page, Textile Insights header: on phones the heading column and the (non-shrinking) button used to sit in one
   non-wrapping row and ran ~30px past the screen. Let the header wrap and stack instead. Scoped to .blog-home__head. */
.blog-home__head { flex-wrap: wrap; }
.blog-home__head > div:first-child { flex: 1 1 18rem; min-width: 0; }
@media (max-width: 640px) {
  .blog-home__head { align-items: flex-start; padding-right: 0; }
  .blog-home__head > div:last-child { flex: 0 0 auto; }
}
