/* The Features page: the magazine's dark world, photographic cards tagged
   with the issue they came from. One palette, one 24px gutter, no shadows. */

.fi-world { background: #16181d; color: #f6f4ef; }

/* Hero: the latest feature's photograph, dimmed, behind the title. */
.fi-hero { position: relative; background: #16181d; color: #fff; overflow: hidden; }
.fi-hero__bg { position: absolute; inset: 0; background: var(--fi-hero) center / cover no-repeat; opacity: .38; }
.fi-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #16181d 0%, rgba(22, 24, 29, .85) 40%, rgba(22, 24, 29, .3) 100%), linear-gradient(0deg, #16181d 0%, rgba(22, 24, 29, 0) 45%); }
.fi-hero__k { font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: #f49731; margin: 20px 0 0; }
.fi-hero__t { font-family: Rajdhani, sans-serif; font-weight: 700; text-transform: uppercase; line-height: .9; font-size: clamp(3rem, 7.5vw, 5.6rem); margin: 14px 0 0; color: #fff; }
.fi-hero__s { font-family: Lora, serif; font-size: 1.08rem; line-height: 1.6; color: #d5d8dd; max-width: 56ch; margin: 22px 0 0; }
.fi-hero__tabs { margin-top: 30px; }
/* The type filter (designs/features.html): one chip per type, each its own page. */
.fi-hero__types { margin-top: 22px; }
.fi-types { display: flex; flex-wrap: wrap; gap: 8px; }
.fi-types .f41-chip { text-decoration: none; }
.fi-hero__pick { font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #5d646e; margin: 0 0 10px; }
.fi-hero__stats { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 30px; font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8a919c; }
.fi-hero__stats b { font-size: 1.5rem; font-weight: 700; color: #fff; margin-right: 8px; letter-spacing: 0; }
.fi-hero__stats span:first-child b { color: #f49731; }

/* The lead feature. */
.fi-lead { padding: 40px 0 8px; }
.fi-ad { padding: 40px 0; }
.fi-ad:empty { display: none; }
.fi-empty { max-width: 1344px; margin: 0 auto; padding: 64px 20px; text-align: center; color: #8a919c; }

/* Cards. */
.fi-card { display: flex; flex-direction: column; min-width: 0; }
.fi-card__ph { position: relative; display: block; overflow: hidden; background: #262a32; aspect-ratio: 16 / 10; }
.fi-card__ph-link { position: absolute; inset: 0; display: block; }
.fi-card__ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.fi-card:hover .fi-card__ph img { transform: scale(1.03); }
.fi-card--text { border-top: 1px solid #32363e; padding-top: 18px; }
.fi-card__kick--inline { position: static; display: inline-block; align-self: flex-start; }
.fi-card--text .fi-card__body { padding-top: 14px; }
.fi-card--text .fi-card__t { font-size: 1.25rem; }
.fi-card__kick { position: absolute; left: 0; top: 16px; font-family: Rajdhani, sans-serif; font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; background: #f49731; color: #16181d; padding: 5px 10px 4px; }
a.fi-card__kick { text-decoration: none; transition: background .2s ease; }
a.fi-card__kick:hover, a.fi-card__kick:focus-visible { background: #fff; color: #16181d; }
.fi-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; }
.fi-card__t { font-family: Rajdhani, sans-serif; font-weight: 700; text-transform: uppercase; line-height: .95; font-size: 1.45rem; margin: 0; }
.fi-card__t a { color: #fff; text-decoration: none; }
.fi-card__t a:hover { color: #f49731; }
.fi-card__s { font-family: Lora, serif; font-size: .92rem; line-height: 1.5; color: #c6cad1; margin: 10px 0 0; }
.fi-card__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: auto; padding-top: 16px; font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #8a919c; }
.fi-card__issue { display: inline-flex; align-items: center; gap: 8px; color: #f6f4ef; text-decoration: none; }
.fi-card__issue img { width: auto; height: 34px; flex-shrink: 0; display: block; outline: 1px solid rgba(255, 255, 255, .18); }
.fi-card__issue b { color: #f49731; font-weight: 700; }
.fi-card__issue:hover span { color: #f49731; }
.fi-card__mag { color: #f6f4ef; }

/* The lead card: photograph left, words right. */
.fi-card--lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.fi-card--lead .fi-card__ph { aspect-ratio: auto; min-height: 380px; }
.fi-card--lead .fi-card__body { padding: 8px 0; justify-content: center; }
.fi-card--lead .fi-card__t { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.fi-card--lead .fi-card__s { font-size: 1.08rem; line-height: 1.6; margin-top: 18px; max-width: 52ch; }
.fi-card--lead .fi-card__meta { margin-top: 26px; padding-top: 0; justify-content: flex-start; gap: 10px 28px; }
.fi-card--lead .fi-card__kick { font-size: .78rem; padding: 7px 14px 6px; }

/* Year bands. */
.fi-band__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.fi-band__head h2 { font-family: Rajdhani, sans-serif; font-weight: 700; font-size: clamp(2.6rem, 4vw, 3.2rem); line-height: 1; color: #fff; margin: 0; }
.fi-band__n { font-family: Rajdhani, sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: #f49731; }
.fi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; margin-top: 36px; }

/* Buy band. */
.fi-buy { padding: 64px 0 80px; border-top: 1px solid #262a32; }
.fi-buy__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.fi-buy h2 { font-family: Rajdhani, sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: .95; color: #fff; margin: 10px 0 0; }
.fi-buy p:not(.fi-hero__k) { font-family: Lora, serif; color: #c6cad1; max-width: 58ch; margin: 14px 0 0; line-height: 1.55; }
.fi-buy__acts { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1099.98px) {
	.fi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 759.98px) {
	.fi-card--lead { grid-template-columns: 1fr; }
	.fi-card--lead .fi-card__ph { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 639.98px) {
	.fi-grid { grid-template-columns: 1fr; gap: 36px; }
	.fi-lead { padding-top: 24px; }
}
