/* FOL — blog of the November 2026 design (archive.php, includes/fol26-blog.php).
   Layout after the corporate blog of gofaizen-sherle.com: the head, the rubric tabs with the count, the article cards
   three in a row, the pagination. Drawn in the FOL system: the globe hero of the inner pages (the crumbs and the H1
   on the lines of the service hero), raised cards of #F0F0F3, the tags of «Tags & Buttons» (205:9928), the
   pagination of «Components» (205:11214). */

/* ---------- hero ---------- */
/* the height of the mockup hero (Main page 4: 650px under the header, as the service hero), so the globe is whole and
   fades out by itself; 1080px and down 520px with the globe fading above the bottom; phones as the service hero:
   the globe under the text */
.b26-hero { min-height: 650px; padding-top: var(--hero-title, 180px); padding-bottom: 80px; }
@media (max-width: 1080px) {
  .b26-hero { min-height: 520px; }
  .b26-hero .h26-hero__globe { -webkit-mask-image: linear-gradient(to bottom, #000 420px, transparent 630px); mask-image: linear-gradient(to bottom, #000 420px, transparent 630px); }
}
.b26-hero__head { display: grid; justify-items: start; gap: 32px; width: 688px; max-width: 100%; }
.b26-hero .h26-hero__title .fol-accent { display: inline; font-style: normal; color: var(--brand); }
.b26-hero .h26-hero__lead { max-width: 588px; font-size: 16px; line-height: 1.5; color: var(--ink); }
/* the crumbs stand where the service crumbs stand (fol26.css: --hero-crumbs, --hero-title) */
.b26-hero .fol-crumbs { position: absolute; top: calc(var(--hero-crumbs, 32px) - var(--hero-title, 180px)); margin: 0; }
.b26-hero .fol-crumbs :is(.breadcrumbs__group, a) { font-size: 14px; line-height: 1.2; color: var(--ink-3); }
.b26-hero .fol-crumbs .breadcrumbs__group:last-child { color: var(--ink); }

/* ---------- list ---------- */
.h26-hero.b26-hero + .h26.b26-list { margin-top: 0; }
/* the list starts right under the hero: its first part (the bar, or the grid when there is no bar) has no margin */
.b26-list .fol-container > :first-child { margin-top: 0; }
.b26-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; padding-bottom: 12px; position: relative; }
/* the groove under the bar: the rule of the price cards */
.b26-bar::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--bg);
  box-shadow: -.2px -.5px 1px #fff, .5px .75px 1px rgba(174, 174, 192, .6);
}
.b26-tabs { display: flex; flex-wrap: wrap; gap: 8px 40px; margin: 0; padding: 0; list-style: none; }
.b26-tabs__link { position: relative; display: block; padding: 4px 0; font-size: 16px; line-height: 1.2; color: var(--ink-3); text-decoration: none; transition: color .2s; }
.b26-tabs__link:hover { color: var(--brand); }
.b26-tabs__link.is-active { font-weight: 600; color: var(--ink); }
.b26-tabs__link.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -15px; height: 3px; border-radius: 2px; background: var(--brand); z-index: 1; }
.b26-count { margin: 0 0 4px auto; font-size: 14px; line-height: 20px; color: var(--ink-3); }

.b26-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.b26-grid > li { display: flex; min-width: 0; }
.b26-empty { margin: 40px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink); }

/* ---------- article card (the whole card is the link) ---------- */
.b26-card {
  display: flex; flex-direction: column; flex: 1; min-width: 0; overflow: hidden; border-radius: 20px;
  background: var(--bg); box-shadow: var(--shadow-md); color: var(--ink); text-decoration: none; transition: box-shadow .25s;
}
.b26-card:hover { box-shadow: -10px -10px 30px rgba(255, 255, 255, .8), 10px 10px 30px rgba(100, 67, 199, .25); }
.b26-card:focus-visible { outline: 0; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #6a2dc4, var(--shadow-md); }
.b26-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e3e1ea; }
.b26-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.b26-card:hover .b26-card__img { transform: scale(1.04); }
/* an article without a picture: the gradient of the system with the light logo */
.b26-card__media--empty { display: grid; place-items: center; background: linear-gradient(158.18deg, #0e0b3c 0%, #3a1b7e 37%, #8a38f5 100%); }
.b26-card__logo { width: 96px; height: auto; opacity: .9; }
.b26-card__body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 24px; }
.b26-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.b26-tag {
  display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 10px; background: var(--bg);
  box-shadow: inset -3px -3px 5px #fff, inset 3px 3px 5px rgba(174, 174, 192, .2);
  font-size: 14px; line-height: 20px; font-weight: 300; color: var(--brand); white-space: nowrap;
}
.b26-card__time { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; color: var(--ink-3); }
/* the clock is drawn inline in the grey of the reading time (the 0.5px icon of the mockup blurred at 16px) */
.b26-card__clock { flex: none; display: block; color: var(--ink-3); }
.b26-card__title {
  margin: 4px 0 0; font: 700 18px/1.3 var(--font-display); font-variation-settings: 'wdth' 100; color: var(--ink);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; transition: color .2s;
}
.b26-card:hover .b26-card__title { color: var(--brand); }
.b26-card__excerpt {
  font-size: 14px; line-height: 20px; font-weight: 300; color: var(--ink);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.b26-card__byline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: auto; padding-top: 8px; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.b26-card__author { font-weight: 500; color: var(--ink); }
.b26-card__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

/* ---------- pagination (Components 205:11214) ---------- */
.b26-pager { display: flex; justify-content: center; margin-top: 56px; }
.b26-pager ul {
  display: flex; align-items: center; gap: 12px; margin: 0; padding: 6px 12px 6px 16px; list-style: none; border-radius: 20px;
  background: var(--bg); box-shadow: -3px -3px 10px #fff, 3px 3px 10px rgba(174, 174, 192, .4);
}
.b26-pager .page-numbers {
  display: grid; place-items: center; min-width: 46px; height: 42px; padding: 0 8px; border-radius: 10px;
  font-size: 16px; line-height: 1; color: #88929e; text-decoration: none; transition: color .2s, box-shadow .2s;
}
.b26-pager a.page-numbers:hover { color: var(--brand); }
.b26-pager .page-numbers.current { color: #425466; box-shadow: inset -3px -3px 5px #fff, inset 3px 3px 5px rgba(174, 174, 192, .2); }
.b26-pager :is(.prev, .next).page-numbers { min-width: 24px; padding: 0; }
.b26-pager .b26-pager__chev { display: block; width: 13px; height: 8px; }
.b26-pager .prev .b26-pager__chev { transform: rotate(90deg); }
.b26-pager .next .b26-pager__chev { transform: rotate(-90deg); }

@media (max-width: 1024px) {
  .b26-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .b26-hero { min-height: 0; padding-bottom: 280px; }
  .b26-hero .h26-hero__globe {
    top: auto; bottom: -230px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 110px, #000 290px, transparent 408px);
    mask-image: linear-gradient(to bottom, transparent 0, #000 110px, #000 290px, transparent 408px);
  }
  .b26-hero .h26-hero__mist { top: -420px; }
  .b26-hero__head { gap: 24px; }
  .b26-hero .h26-hero__lead { font-size: 14px; line-height: 20px; }
  /* the crumbs are one line between the gutters, the current page cut with an ellipsis (as on the other pages) */
  .b26-hero .fol-crumbs { left: var(--h26-gutter); right: var(--h26-gutter); }
  .b26-hero .fol-crumbs ol { flex-wrap: nowrap; }
  .b26-hero .fol-crumbs li { flex: none; white-space: nowrap; }
  .b26-hero .fol-crumbs li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .b26-tabs { gap: 8px 24px; }
  .b26-count { margin-left: 0; }
  .b26-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 32px; }
  .b26-card__body { padding: 20px; }
  .b26-pager { margin-top: 40px; }
  .b26-pager ul { gap: 4px; padding: 6px 10px; }
  .b26-pager .page-numbers { min-width: 40px; }
}

/* ---------- article (templates/single/post.php): the service page layout, the article H1 of the system ---------- */
.b26-ahero__title { width: 894px; max-width: 100%; margin: 0; font: 700 40px/1.2 var(--font-display); font-variation-settings: 'wdth' 100; letter-spacing: 0; color: var(--ink); text-wrap: balance; }
/* the byline opens the column as the consultant card of the packages (.s26-consult): the author, the request
   button, and in the facts row the publication, the update and the reading time with their icons in the brand colour */
.b26-byline .s26-consult__ic { color: var(--brand); }
.b26-byline .s26-consult__ic svg { display: block; }
.b26-byline .s26-consult__facts :is(time, b) { display: block; font-size: 14px; line-height: 1.2; font-weight: 500; color: inherit; }

/* the column of an article is one text: 40px between the byline card and the text (not the 120px of the service
   sections), 60px above an h2 of the text */
.s26-main.b26-article { gap: 40px; }
.b26-article .s26-prose > * + h2 { margin-top: 60px; }

.s26-consult__photo.is-team .s26-consult__img { object-fit: contain; padding: 16px; background: linear-gradient(158.18deg, #3a1b7e 6.1%, #8a38f5 72.8%); }

/* other articles of the rubric under the article */
.b26-related__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }

@media (max-width: 640px) {
  .b26-ahero__title { font-size: 35px; }
  .b26-article .s26-prose > * + h2 { margin-top: 40px; }
  .b26-related__head .h26-btn { width: 100%; }
}
