/* Blog index (/blog/), home.php. Layout reference: wp-content/mockups/blog-v2.html.
   Colours come from the Kadence palette, never typed hex for grey (palette 5). */
.eq-blog { --eq-line: var(--global-palette12, #e4edf1); background: #fff; }
.eq-blog .eq-wrap { max-width: var(--global-content-width, 1440px); margin: 0 auto; padding: 0 var(--global-content-edge-padding, 4rem); box-sizing: border-box; }
.eq-bhead { background: linear-gradient(180deg, #F0F6F8 0%, #FFFFFF 100%); }
.eq-bhead .eq-wrap { padding-top: 64px; padding-bottom: 48px; }
.eq-bh1 { font-family: var(--global-heading-font-family); font-size: 44px; font-weight: 300; line-height: 1.15; color: var(--global-palette1); margin: 0; }
.eq-bh1 b { font-weight: 700; }
.eq-blead { margin: 18px 0 0; max-width: 700px; font-size: 18px; line-height: 1.62; color: var(--global-palette4); }

/* Search and category filter: one control set; a dropdown because 51+ categories would be a
   wall of chips (design-direction.md, Blog index). Fields match the button height. */
.eq-bfilter { display: grid; grid-template-columns: minmax(0, 1fr) 300px auto; gap: 12px; align-items: end; margin-top: 36px; max-width: 1000px; }
.eq-bfield label { display: block; font-size: 13px; font-weight: 600; color: var(--global-palette1); margin-bottom: 6px; }
.eq-blog .eq-bfield input, .eq-blog .eq-bfield select { width: 100%; height: 50px; box-sizing: border-box; border: 1px solid #CFDCE2; border-radius: 3px; background-color: #fff; padding: 0 14px; font-family: inherit; font-size: 15px; color: var(--global-palette4); margin: 0; }
.eq-blog .eq-bfield select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23003B53' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.eq-blog .eq-bfield input:focus, .eq-blog .eq-bfield select:focus { outline: 2px solid var(--global-palette2); outline-offset: 1px; border-color: var(--global-palette2); }
.eq-bactions { display: flex; align-items: center; gap: 16px; }
.eq-bbtn { height: 50px; padding: 0 26px; border: 0; border-radius: 3px; background: var(--global-palette1); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.eq-bbtn:hover, .eq-bbtn:focus { background: var(--global-palette2); color: #fff; }
.eq-breset { font-size: 14px; color: var(--global-palette2); white-space: nowrap; text-decoration: none; }
.eq-breset:hover { text-decoration: underline; }

.eq-blog .eq-bbody { padding-top: 8px; padding-bottom: 104px; }
.eq-bresults { transition: opacity .15s ease; }
.eq-bresults.is-loading { opacity: .45; pointer-events: none; }
.eq-bcount { margin: 0 0 32px; font-size: 14px; color: var(--global-palette5); }
.eq-bempty { padding: 48px 0 24px; }
.eq-bempty-h { font-size: 22px; font-weight: 600; color: var(--global-palette1); margin: 0 0 8px; }

.eq-pimg { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 3px; background: var(--eq-line); }
.eq-pimg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.eq-pimg:hover img { transform: scale(1.03); }
.eq-pcat { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--global-palette2); text-decoration: none; }
.eq-pcat:hover { text-decoration: underline; }
.eq-blog .eq-ptitle { font-family: var(--global-heading-font-family); font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--global-palette1); margin: 8px 0 0; }
.eq-ptitle a { color: inherit; text-decoration: none; }
.eq-ptitle a:hover { color: var(--global-palette2); }
.eq-pex { font-size: 15.5px; line-height: 1.6; color: var(--global-palette4); margin: 10px 0 0; }
.eq-pmeta { margin: 14px 0 0; font-size: 13.5px; color: var(--global-palette5); }
.eq-pmeta a { color: var(--global-palette1); font-weight: 600; text-decoration: none; }
.eq-pmeta a:hover { text-decoration: underline; }

.eq-pfeat { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--eq-line); }
.eq-pflag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--global-palette5); margin: 0; }
.eq-pfeat .eq-pcat { margin-top: 10px; }
.eq-blog .eq-pfeat .eq-ptitle { font-size: 30px; line-height: 1.22; }
.eq-pfeat .eq-pex { font-size: 17px; }
.eq-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; }

.eq-pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 72px; font-size: 15px; }
.eq-pager .page-numbers { min-width: 42px; height: 42px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #DCE7EC; border-radius: 3px; color: var(--global-palette1); padding: 0 12px; text-decoration: none; }
.eq-pager a.page-numbers:hover { border-color: var(--global-palette1); }
.eq-pager .current { background: var(--global-palette1); border-color: var(--global-palette1); color: #fff; font-weight: 600; }
.eq-pager .dots { border: 0; min-width: auto; padding: 0 2px; color: var(--global-palette6); }

@media (max-width: 1100px) {
	.eq-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eq-bfilter { grid-template-columns: minmax(0, 1fr) 240px auto; }
}
@media (max-width: 800px) {
	.eq-pfeat { grid-template-columns: 1fr; gap: 0; }
	.eq-pfeat .eq-ptxt { padding-top: 20px; }
	.eq-bfilter { grid-template-columns: 1fr; }
	.eq-bh1 { font-size: 34px; }
	.eq-blog .eq-pfeat .eq-ptitle { font-size: 24px; }
}
@media (max-width: 600px) {
	.eq-pgrid { grid-template-columns: 1fr; gap: 44px; }
	.eq-bhead .eq-wrap { padding-top: 44px; }
}

/* Author archive (author.php): initials circle beside the name, as in the post's author box
   (no photos: design-direction allows team photos in one or two places only). */
.eq-ahead { display: flex; gap: 28px; align-items: flex-start; }
.eq-ainit { width: 96px; height: 96px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--global-palette12, #e4edf1); color: var(--global-palette1); font-size: 32px; font-weight: 600; letter-spacing: .02em; }
.eq-atxt { min-width: 0; }
.eq-ainit.eq-has-photo { overflow: hidden; }
.eq-ainit.eq-has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.eq-aflag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--global-palette5); margin: 4px 0 8px; }
.eq-author .eq-bh1 { margin: 0; }
.eq-arole { margin: 8px 0 0; font-size: 16px; font-weight: 600; color: var(--global-palette2); }
.eq-author .eq-blead { margin-top: 14px; }
.eq-abio { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--global-palette2); text-decoration: none; }
.eq-abio:hover { text-decoration: underline; }
.eq-blog .eq-afilter { grid-template-columns: minmax(0, 1fr) auto; max-width: 720px; margin-left: 124px; }
.eq-aback { display: inline-block; margin-top: 56px; font-size: 15px; font-weight: 600; color: var(--global-palette2); text-decoration: none; }
.eq-aback:hover { text-decoration: underline; }
@media (max-width: 800px) {
	.eq-blog .eq-afilter { grid-template-columns: 1fr; margin-left: 0; }
}
@media (max-width: 600px) {
	.eq-ahead { flex-direction: column; gap: 18px; }
	.eq-ainit { width: 72px; height: 72px; font-size: 24px; }
}

/* Category and tag archives (category.php): search only, under the term's name. */
.eq-term .eq-bh1 { margin: 0; }
.eq-blog .eq-tfilter { grid-template-columns: minmax(0, 1fr) auto; max-width: 720px; }
@media (max-width: 800px) {
	.eq-blog .eq-tfilter { grid-template-columns: 1fr; }
}

/* Search results (search.php): pages and bios share the post card; a bio's headshot keeps the face in frame. */
.eq-stype { margin-top: 18px; }
.eq-scard-noimg .eq-stype { margin-top: 0; }
.eq-pimg-head img { object-position: center 20%; }
