/**
 * Author pages and the Authors grid. Same design tokens as the hubs.
 * Links are written as `.hwbt-a a.class` so the theme's link colour can't win.
 */

.hwbt-a {
	--hw-orange: #F25621;
	--hw-orange-dark: #CA3B0C;
	--hw-orange-lightest: #FEF0EC;
	--hw-blue-lightest: #E7EDFD;
	--hw-ink-darker: #121417;
	--hw-ink-dark: #31363F;
	--hw-ink: #636C7D;
	--hw-ink-light: #A9AFBB;
	--hw-ink-lighter: #DDDFE4;
	--hw-ink-lightest: #F1F2F4;
	--hw-paper: #FFFFFF;
	--hw-font-display: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--hw-font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--hw-shadow-md: 0 6px 20px rgba(29, 29, 27, 0.10);

	font-family: var(--hw-font-body);
	color: var(--hw-ink-darker);
	background: var(--hw-paper);
	line-height: 1.55;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc( 50% - 50vw );
	margin-right: calc( 50% - 50vw );
	overflow-x: hidden;
}

.hwbt-a *, .hwbt-a *::before, .hwbt-a *::after { box-sizing: border-box; }
.hwbt-a__wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.hwbt-a h1, .hwbt-a h2, .hwbt-a h3 { font-family: var(--hw-font-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--hw-ink-darker); }
.hwbt-a h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 28px; }
.hwbt-a p { margin: 0 0 14px; }
.hwbt-a ul { list-style: none; margin: 0; padding: 0; }
.hwbt-a li { margin: 0; padding: 0; }
.hwbt-a li::before, .hwbt-a li::marker { content: none; }
.hwbt-a a { color: inherit; text-decoration: none; }
.hwbt-a section { padding: 72px 0; }

/* Hero */
.hwbt-a__hero { background: linear-gradient(180deg, var(--hw-orange-lightest) 0%, #fff 100%); padding: 72px 0 40px !important; }
.hwbt-a__hero-grid { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.hwbt-a__photo { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 6px solid #fff; box-shadow: var(--hw-shadow-md); background: var(--hw-ink-lightest); }
.hwbt-a__eyebrow { color: var(--hw-orange-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin-bottom: 8px !important; }
.hwbt-a__name { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin-bottom: 18px !important; }
.hwbt-a__bio { font-size: 18px; color: var(--hw-ink-dark); max-width: 760px; }
.hwbt-a__bio p:last-child { margin-bottom: 0; }

.hwbt-a__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0 !important; }
.hwbt-a__chips li, .hwbt-a__chips span { display: inline-block; background: #fff; border: 1px solid #fbd5c6; color: var(--hw-orange-dark); font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.hwbt-a__chips--small { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.hwbt-a__chips--small span { font-size: 12px; padding: 3px 10px; }

.hwbt-a__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px !important; color: var(--hw-ink-dark); }
.hwbt-a__facts span { color: var(--hw-ink); }

.hwbt-a__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; }
.hwbt-a a.hwbt-a__social-link, .hwbt-a__social a { display: inline-block; font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--hw-ink-darker); color: #fff; }
.hwbt-a__social a:hover { background: var(--hw-orange); }

.hwbt-a__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-top: 44px !important; }
.hwbt-a__stats li { background: #fff; border: 1px solid var(--hw-ink-lighter); border-radius: 16px; padding: 18px 20px; color: var(--hw-ink); }
.hwbt-a__stats strong { display: block; font-family: var(--hw-font-display); font-size: 34px; line-height: 1.1; color: var(--hw-ink-darker); }

/* Map */
.hwbt-a__places { background: #fff; }
.hwbt-a__map { background: #F7F9FC; border-radius: 20px; padding: 18px; }
.hwbt-a__map svg { display: block; width: 100%; height: auto; }
.hwbt-a__map path { fill: var(--hw-ink-lighter); stroke: #fff; stroke-width: 0.5; }
.hwbt-a__map path.is-on { fill: var(--hw-orange); }
.hwbt-a__continents { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px 32px; margin-top: 32px; }
.hwbt-a__continent h3 { font-size: 18px; margin-bottom: 6px; }
.hwbt-a__continent h3 span { display: inline-block; margin-left: 6px; font-size: 13px; color: var(--hw-orange-dark); background: var(--hw-orange-lightest); border-radius: 999px; padding: 1px 9px; vertical-align: 2px; }
.hwbt-a__continent p { color: var(--hw-ink-dark); }

/* In their words */
.hwbt-a__words { background: var(--hw-ink-lightest); }
.hwbt-a__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.hwbt-a__card { background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.hwbt-a__card--fav { grid-column: span 2; background: var(--hw-ink-darker); color: #fff; }
.hwbt-a__card--fav .hwbt-a__card-title, .hwbt-a__card--fav p { color: #fff; }
.hwbt-a__card-label { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--hw-orange) !important; margin-bottom: 8px !important; }
.hwbt-a__card-title { font-family: var(--hw-font-display); font-size: 22px; font-weight: 700; color: var(--hw-ink-darker); line-height: 1.25; }
.hwbt-a a.hwbt-a__card-link, .hwbt-a__card-title a { color: var(--hw-orange-dark); text-decoration: underline; }
.hwbt-a__card-quote { font-size: 17px; color: var(--hw-ink-dark); }

/* Articles */
.hwbt-a__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hwbt-a a.hwbt-a__post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hw-ink-lighter); border-radius: 18px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.hwbt-a a.hwbt-a__post:hover { box-shadow: var(--hw-shadow-md); transform: translateY(-2px); }
/* Every photo cropped to the same shape, however tall the featured image is. */
.hwbt-a__post-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hw-ink-lightest); }
.hwbt-a .hwbt-a__post-img img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; margin: 0; }
.hwbt-a__post-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.hwbt-a__post-tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--hw-orange-dark); background: var(--hw-orange-lightest); border-radius: 999px; padding: 2px 10px; }
.hwbt-a__post-title { font-family: var(--hw-font-display); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--hw-ink-darker); }
.hwbt-a__post-meta { font-size: 13px; color: var(--hw-ink); }

.hwbt-a__pages { margin-top: 36px; }
.hwbt-a__pages ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hwbt-a__pages a, .hwbt-a__pages span { display: inline-block; min-width: 40px; text-align: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hw-ink-lighter); font-weight: 600; }
.hwbt-a__pages .current { background: var(--hw-ink-darker); color: #fff; border-color: var(--hw-ink-darker); }

/* Authors grid */
.hwbt-a__hero--list { padding-bottom: 24px !important; }
.hwbt-a--list .hwbt-a__articles { padding-top: 24px; }
.hwbt-a__people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.hwbt-a a.hwbt-a__person { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--hw-ink-lighter); border-radius: 20px; padding: 28px 20px 24px; transition: box-shadow .2s, transform .2s; }
.hwbt-a a.hwbt-a__person:hover { box-shadow: var(--hw-shadow-md); transform: translateY(-2px); }
.hwbt-a__person img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; background: var(--hw-ink-lightest); }
.hwbt-a__person-name { font-family: var(--hw-font-display); font-weight: 700; font-size: 20px; }
.hwbt-a__person-role { color: var(--hw-orange-dark); font-weight: 600; font-size: 14px; margin-top: 2px; }
.hwbt-a__person-meta { color: var(--hw-ink); font-size: 13px; margin-top: 8px; }

@media (max-width: 960px) {
	.hwbt-a__grid { grid-template-columns: repeat(2, 1fr); }
	.hwbt-a__card--fav { grid-column: auto; }
}

@media (max-width: 680px) {
	.hwbt-a__wrap { padding: 0 16px; }
	.hwbt-a section { padding: 48px 0; }
	.hwbt-a__hero { padding-top: 40px !important; }
	.hwbt-a__hero-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; justify-items: center; }
	.hwbt-a__photo { width: 150px; height: 150px; }
	.hwbt-a__chips, .hwbt-a__facts, .hwbt-a__social { justify-content: center; }
	.hwbt-a__bio { font-size: 16px; }
	.hwbt-a__grid { grid-template-columns: 1fr; }
	.hwbt-a__map { padding: 8px; border-radius: 14px; }
}

/* ======================================================================
 * The Authors page (the people behind the blog)
 * ==================================================================== */
.hwbt-t { background: #F7F8FA; }
.hwbt-t .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hero */
.hwbt-t__hero { position: relative; overflow: hidden; color: #fff; padding: 88px 0 80px; background:
	radial-gradient(700px 420px at 85% 20%, rgba(242, 86, 33, 0.55), transparent 65%),
	radial-gradient(600px 420px at 70% 100%, rgba(0, 181, 165, 0.45), transparent 60%),
	radial-gradient(500px 300px at 0% 0%, rgba(47, 89, 231, 0.55), transparent 70%),
	#121417; }
.hwbt-t__hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hwbt-a p.hwbt-t__eyebrow { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.hwbt-a h1.hwbt-t__title { color: #fff; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.03; letter-spacing: -0.03em; margin: 0 0 18px; }
.hwbt-t__intro { font-size: 19px; line-height: 1.55; color: #DDDFE4; max-width: 56ch; }
.hwbt-t__intro p:last-child { margin-bottom: 0; }
.hwbt-a ul.hwbt-t__stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hwbt-t__stats li { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); border-radius: 14px; padding: 14px 20px; min-width: 128px; }
.hwbt-t__stats strong { display: block; font-family: var(--hw-font-display); font-size: 32px; line-height: 1; }
.hwbt-t__stats li:nth-child(1) strong { color: #FF7D52; }
.hwbt-t__stats li:nth-child(2) strong { color: #4FE0C9; }
.hwbt-t__stats li:nth-child(3) strong { color: #F6C94A; }
.hwbt-t__stats li:nth-child(4) strong { color: #F978B6; }
.hwbt-t__stats span { display: block; margin-top: 6px; font-size: 13px; color: #C9CDD4; max-width: 16ch; }

/* The collage of faces */
.hwbt-t__faces { position: relative; height: 440px; }
.hwbt-t__face { position: absolute; border-radius: 50%; overflow: hidden; border: 5px solid rgba(255, 255, 255, 0.92); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); background: #31363F; }
.hwbt-t__face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hwbt-t__face--1 { width: 200px; height: 200px; left: 26%; top: 24%; z-index: 3; }
.hwbt-t__face--2 { width: 132px; height: 132px; left: 2%; top: 4%; }
.hwbt-t__face--3 { width: 148px; height: 148px; right: 2%; top: 0; }
.hwbt-t__face--4 { width: 120px; height: 120px; left: 0; bottom: 6%; }
.hwbt-t__face--5 { width: 140px; height: 140px; right: 6%; bottom: 2%; z-index: 4; }
.hwbt-t__face--6 { width: 96px; height: 96px; left: 40%; bottom: 0; }
.hwbt-t__face--7 { width: 84px; height: 84px; right: 0; top: 42%; }
.hwbt-t__faces--1 .hwbt-t__face--1 { width: 280px; height: 280px; left: 50%; top: 50%; margin: -140px 0 0 -140px; }
.hwbt-t__faces--2 .hwbt-t__face--1, .hwbt-t__faces--3 .hwbt-t__face--1 { left: 30%; }

/* Filters */
.hwbt-t__people { padding: 56px 0 24px; }
.hwbt-t__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.hwbt-t__filters[hidden] { display: none; }
.hwbt-a button.hwbt-t__filter { appearance: none; margin: 0; padding: 9px 16px; border: 1px solid var(--hw-ink-lighter); border-radius: 999px; background: #fff; color: var(--hw-ink-darker); font: 600 14px/1.2 var(--hw-font-body); cursor: pointer; box-shadow: none; text-transform: none; letter-spacing: 0; }
.hwbt-a button.hwbt-t__filter:hover { border-color: var(--hw-ink-darker); background: #fff; color: var(--hw-ink-darker); }
.hwbt-a button.hwbt-t__filter[aria-pressed="true"] { background: var(--hw-ink-darker); border-color: var(--hw-ink-darker); color: #fff; }

/* Groups and cards */
.hwbt-t__group { margin-bottom: 56px; }
.hwbt-t__group[hidden] { display: none; }
.hwbt-a h2.hwbt-t__group-title { font-size: clamp(26px, 3vw, 34px); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.hwbt-t__group-title span { font-family: var(--hw-font-body); font-size: 14px; font-weight: 700; color: var(--hw-orange-dark); background: var(--hw-orange-lightest); border-radius: 999px; padding: 3px 11px; letter-spacing: 0; }
.hwbt-t__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.hwbt-t__card { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(18, 20, 23, 0.05); border: 1px solid var(--hw-ink-lighter); color: inherit; transition: box-shadow .2s, transform .2s; }
.hwbt-t__card[hidden] { display: none; }
.hwbt-a a.hwbt-t__card:hover { box-shadow: var(--hw-shadow-md); transform: translateY(-3px); color: inherit; }
.hwbt-t__photo { position: relative; display: block; aspect-ratio: 4 / 4.2; background: var(--hw-orange-lightest); overflow: hidden; }
.hwbt-t__photo img { position: absolute; inset: 0; display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; transition: transform .4s; }
.hwbt-a a.hwbt-t__card:hover .hwbt-t__photo img { transform: scale(1.04); }
.hwbt-t__initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--hw-font-display); font-weight: 700; font-size: 72px; letter-spacing: -0.02em; color: var(--hw-orange); }
.hwbt-t__card--c1 .hwbt-t__photo { background: #DFFAF6; } .hwbt-t__card--c1 .hwbt-t__initials { color: #00756B; }
.hwbt-t__card--c2 .hwbt-t__photo { background: #E7EDFD; } .hwbt-t__card--c2 .hwbt-t__initials { color: #1D3B9A; }
.hwbt-t__card--c3 .hwbt-t__photo { background: #FEEBF3; } .hwbt-t__card--c3 .hwbt-t__initials { color: #D1157A; }
.hwbt-t__role { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--hw-ink-darker); font-weight: 700; font-size: 13px; line-height: 1.3; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); }
.hwbt-t__body { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; padding: 18px 20px 20px; }
.hwbt-t__name { font-family: var(--hw-font-display); font-weight: 700; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; color: var(--hw-ink-darker); }
.hwbt-t__home { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--hw-orange-dark); }
.hwbt-t__bio { font-size: 15px; line-height: 1.55; color: var(--hw-ink-dark); }
.hwbt-t__skills { display: flex; flex-wrap: wrap; gap: 6px; }
.hwbt-t__skills span { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--hw-ink-lightest); color: var(--hw-ink-dark); }
.hwbt-t__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--hw-ink-lightest); font-size: 13px; color: var(--hw-ink); }
.hwbt-t__arrow { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hw-orange); color: #fff; font-weight: 700; flex: 0 0 32px; }
.hwbt-a p.hwbt-t__none { color: var(--hw-ink); }

/* Where we've been */
.hwbt-a section.hwbt-t__world { padding: 72px 0; background: #fff; }
.hwbt-t__world-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: 24px; }
.hwbt-a .hwbt-t__world-head h2 { margin: 0; }
.hwbt-t__world-head p { margin: 0; max-width: 46ch; color: var(--hw-ink-dark); font-size: 17px; }

/* Closing box */
.hwbt-a section.hwbt-t__cta-wrap { padding: 0 0 80px; background: #fff; }
.hwbt-t__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 40px 44px; border-radius: 24px; color: #fff; background:
	radial-gradient(500px 260px at 100% 0%, rgba(242, 86, 33, 0.6), transparent 70%), #121417; }
.hwbt-a .hwbt-t__cta h2 { color: #fff; margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 32px); }
.hwbt-t__cta p { margin: 0; color: #DDDFE4; max-width: 60ch; }
.hwbt-a a.hwbt-t__cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px; background: var(--hw-orange); color: #fff; font-weight: 700; }
.hwbt-a a.hwbt-t__cta-btn:hover { background: var(--hw-orange-dark); color: #fff; }

@media (max-width: 960px) {
	.hwbt-t__hero-grid { grid-template-columns: 1fr; }
	.hwbt-t__faces { height: 300px; max-width: 460px; }
	.hwbt-t__face--1 { width: 150px; height: 150px; }
	.hwbt-t__face--2, .hwbt-t__face--3, .hwbt-t__face--5 { width: 104px; height: 104px; }
	.hwbt-t__face--4, .hwbt-t__face--6, .hwbt-t__face--7 { width: 76px; height: 76px; }
	.hwbt-t__faces--1 .hwbt-t__face--1 { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
}

@media (max-width: 680px) {
	.hwbt-t__hero { padding: 48px 0 40px; }
	.hwbt-t__intro { font-size: 17px; }
	.hwbt-t__stats li { min-width: 0; flex: 1 1 40%; padding: 12px 14px; }
	.hwbt-t__stats strong { font-size: 26px; }
	/* On phones the faces become a row of overlapping photos. */
	.hwbt-t__hero-grid { gap: 24px; }
	.hwbt-t__faces { order: -1; height: auto; display: flex; padding-left: 10px; }
	.hwbt-t__faces .hwbt-t__face, .hwbt-t__faces--1 .hwbt-t__face--1 { position: static; width: 58px; height: 58px; margin: 0 0 0 -10px; border-width: 3px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
	.hwbt-t__filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 28px; padding: 0 16px 4px; }
	.hwbt-a button.hwbt-t__filter { flex: 0 0 auto; }
	.hwbt-t__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.hwbt-t__body { padding: 12px 12px 14px; gap: 6px; }
	.hwbt-t__name { font-size: 16px; }
	.hwbt-t__bio, .hwbt-t__skills { display: none; }
	.hwbt-t__role { left: 8px; bottom: 8px; font-size: 11px; padding: 4px 8px; }
	.hwbt-t__initials { font-size: 48px; }
	.hwbt-t__foot { font-size: 12px; }
	.hwbt-t__arrow { width: 26px; height: 26px; flex-basis: 26px; }
	.hwbt-t__cta { padding: 28px 22px; }
}
