Featured guide with list
One large featured guide beside a stack of smaller guides with square pictures, on a champagne band. Use it to promote one flagship piece of content while still showing a few others. Good for a guides or resources landing page.
<section class="blk-section blk-guides-band" aria-labelledby="blk-guides-title">
<div class="blk-container">
<header class="blk-head">
<div class="blk-head__main">
<h2 id="blk-guides-title">Guides</h2>
<p>Start with the featured guide, or pick a shorter read.</p>
</div>
</header>
<div class="blk-guides">
<article class="blk-guides__feat blk-dark">
<p class="blk-guides__meta">Featured guide</p>
<h3><a href="#">The complete first-month plan</a></h3>
<p class="blk-guides__lead">Everything to decide, book and pack before you leave, in the order that saves the most time.</p>
</article>
<ul class="blk-guides__list">
<li class="blk-guides__row">
<div class="blk-guides__ph blk-guides__ph--a"></div>
<div><h3><a href="#">Finding a place to stay</a></h3><p>How to compare options and avoid the common traps.</p></div>
</li>
<li class="blk-guides__row">
<div class="blk-guides__ph blk-guides__ph--b"></div>
<div><h3><a href="#">Money, cards and fees</a></h3><p>What to carry and what to set up first.</p></div>
</li>
<li class="blk-guides__row">
<div class="blk-guides__ph blk-guides__ph--c"></div>
<div><h3><a href="#">Staying connected</a></h3><p>Mobile data, wifi and the backup plan.</p></div>
</li>
</ul>
</div>
</div>
</section>.blk-guides-band { background: var(--blk-band-c); }
.blk-guides { display: grid; gap: 28px; }
.blk-guides__feat { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: clamp(24px, 3vw, 36px); border-radius: var(--blk-radius-xl); color: var(--blk-on-dark); background: radial-gradient(120% 110% at 0% 0%, var(--blk-panel-1), var(--blk-deep)); }
.blk-guides__feat > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.blk-guides__feat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,12,18,.85) 0%, rgba(8,12,18,.3) 65%, rgba(8,12,18,0) 100%); }
p.blk-guides__meta { font-family: var(--blk-font-heading); font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blk-on-dark-accent); margin-bottom: 10px; }
.blk-guides__feat h3 { font-family: var(--blk-font-serif); font-weight: 400; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.05; color: var(--blk-on-dark); }
.blk-guides__feat h3 a { color: inherit; text-decoration: none; }
.blk-guides__feat h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.blk-guides__feat h3 a:focus-visible { outline: none; }
.blk-guides__feat:focus-within { outline: 3px solid var(--blk-accent); outline-offset: 3px; }
p.blk-guides__lead { margin-top: 12px; max-width: 46ch; color: var(--blk-on-dark-muted); }
.blk-guides__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.blk-guides__row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; }
.blk-guides__ph { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: var(--blk-radius); background: radial-gradient(120% 100% at 0% 0%, var(--ph, var(--blk-panel-2)), var(--blk-dark)); }
.blk-guides__ph--a { --ph: var(--blk-panel-2); }
.blk-guides__ph--b { --ph: var(--blk-panel-3); }
.blk-guides__ph--c { --ph: var(--blk-panel-4); }
.blk-guides__ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blk-guides__row h3 { font-family: var(--blk-font-serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.blk-guides__row h3 a { color: var(--blk-heading); text-decoration: none; }
.blk-guides__row h3 a:hover { color: var(--blk-accent); }
.blk-guides__row p { margin-top: 4px; font-size: .95rem; color: var(--blk-muted); }
@media (min-width: 900px) { .blk-guides { grid-template-columns: 1.4fr 1fr; gap: 36px; } .blk-guides__feat { min-height: 520px; } }How to customise it
- Add a photo to the featured card by putting
<img src="..." alt="">as its first child, and to a row by putting an<img>inside its picture box. - The whole featured card is clickable through its title link; do not add another link in it.
- Change the band with
--blk-band-c, or switch the class to use--blk-band-aor--blk-band-binstead. - Keep to three small guides beside the feature; more makes the column taller than the card.
Tokens it reads
--blk-band-c--blk-accent--blk-heading--blk-muted--blk-dark--blk-panel-1--blk-panel-2--blk-panel-3--blk-panel-4--blk-deep--blk-on-dark--blk-on-dark-muted--blk-on-dark-accent--blk-font-serif--blk-radius-xlAdd the "Featured guide with list" block from Product Scope Blocks (https://resources.productscope.uk/blocks/blocks/featured-guides) to my page. Link https://resources.productscope.uk/blocks/blocks/kit/blocks.css once. Paste the HTML from https://resources.productscope.uk/blocks/blocks/kit/blocks/featured-guides.html and replace the placeholder text with my real content. Do not change the class names, add inline styles or add scripts. To change colours or fonts, override the --blk- variables in my own CSS. Do not invent facts, clients or numbers.