/* Structured pages (team bios, Media & Insights list and items): the parts printed
   by the shortcodes in inc/structured.php, carried over from the old build's
   bio.css, media-list.css, prose.css and base.css. Everything is scoped to
   .qc-structured so it cannot leak into Divi pages. */
.qc-structured {
	--ink: #0f154a;
	--navy: #171d64;
	--deep: #005f9f;
	--blue: #009ad9;
	--blue-text: #0074ad;
	--sky: #e9f6fd;
	--paper: #f4f6f9;
	--gray: #e3e6e8;
	--slate: #626f78;
	--text: #232746;
	--white: #fff;
	--display: "Helvetica Neue LT W05_43 Lt Ex", Archivo, "Helvetica Neue", Arial, sans-serif;
	--body: Montserrat, "Helvetica Neue", Arial, sans-serif;
	--r: 10px;
	--shadow: 0 12px 32px rgba(15, 21, 74, .10);
	--grad-blue: var(--qc-blue-gradient, linear-gradient(135deg, #005f9f 0%, #007cb9 100%));
	--grad-navy: linear-gradient(160deg, #0f154a 0%, #171d64 55%, #0e3f7a 100%);
	font-family: var(--body);
	color: var(--text);
	/* Unitless, as on the old site: Divi's body line height is a fixed pixel value that small text would inherit. */
	line-height: 1.65;
}
.qc-structured a { text-decoration: none; }
.qc-structured .textlink { font-weight: 600; font-size: 15px; color: var(--deep); display: inline-flex; align-items: center; gap: 8px; }
.qc-structured .textlink svg { width: 14px; height: 14px; }
.qc-structured .kicker { font-family: var(--body); font-weight: 600; font-size: 13px; letter-spacing: .06em; color: var(--blue-text); margin-bottom: 12px; }
.qc-structured .prose { max-width: 46em; }
.qc-structured .prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 40px 0 12px; }
.qc-structured .prose > h2:first-child { margin-top: 0; }
.qc-structured .prose h3 { margin: 28px 0 8px; }
.qc-structured .prose p,
.qc-structured .prose li { font-size: 16.5px; line-height: 1.7; color: var(--text); }
.qc-structured .prose ul,
.qc-structured .prose ol { padding-left: 22px; margin: 0 0 1em; }
.qc-structured .prose a { text-decoration: underline; }
.qc-structured .qc-btn-primary { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; line-height: 1; padding: 15px 24px; border-radius: 6px; background: var(--grad-blue); color: var(--white); box-shadow: 0 6px 18px rgba(0, 95, 159, .3); }
.qc-structured .qc-btn-primary svg { width: 16px; height: 16px; }
.qc-structured .btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Bio */
.qc-structured .bio-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.qc-structured .bio-side img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); background: var(--paper); }
.qc-structured .bio-side .contact { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.qc-structured .bio-side .contact a { display: inline-flex; align-items: center; gap: 12px; color: var(--deep); font-weight: 500; font-size: 14.5px; }
.qc-structured .bio-side .contact a img { width: 36px; height: 36px; padding: 10px; border-radius: 8px; background: var(--sky); object-fit: contain; flex: 0 0 36px; box-shadow: none; aspect-ratio: auto; }
.qc-structured .bio-side .contact a:hover { color: var(--navy); }
.qc-structured .bio-body .back { margin-top: 36px; }
.qc-structured .bio-media { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--gray); }
.qc-structured .bio-media h2 { font-size: 22px; color: var(--navy); margin: 0 0 14px; padding: 0; }
.qc-structured .bio-media .podcast { margin: 0 0 18px; font-size: 15.5px; color: var(--text); }
.qc-structured .bio-media .engagements { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.qc-structured .bio-media .engagements li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; font-size: 14.5px; }
.qc-structured .bio-media .when { color: var(--slate); font-variant-numeric: tabular-nums; }
.qc-structured .bio-media .when em { font-style: normal; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--deep); margin-left: 8px; }
.qc-structured .bio-media .what { display: grid; gap: 2px; }
.qc-structured .bio-media .what strong { color: var(--navy); font-weight: 600; }
.qc-structured .bio-media .what a { color: var(--navy); }
.qc-structured .bio-media .topic { color: var(--text); }
.qc-structured .bio-media .meta { color: var(--slate); }
.qc-bio-lede { color: rgba(255, 255, 255, .85); font-size: 18px; line-height: 1.6; text-align: center; margin: 14px auto 0; max-width: 36em; }
@media (max-width: 1000px) {
	.qc-structured .bio-grid { grid-template-columns: 1fr; }
	.qc-structured .bio-side { max-width: 320px; }
}
@media (max-width: 700px) {
	.qc-structured .bio-media .engagements li { grid-template-columns: 1fr; }
}

/* Media & Insights list */
/* Search and filters (2026-10-09, after wealthpoint.net/insights): a search box, then a
   row of type pills and a row of topic pills that combine; the chosen one is navy. */
.qc-structured .media-search { display: flex; align-items: center; gap: 10px; max-width: 680px; padding: 6px 6px 6px 16px; border: 1px solid #d5dbe1; border-radius: var(--r); background: var(--white); transition: border-color .15s ease, box-shadow .15s ease; }
.qc-structured .media-search:focus-within { border-color: var(--deep); box-shadow: 0 0 0 3px rgba(0, 95, 159, .15); }
.qc-structured .media-search .icon { display: flex; color: var(--slate); }
.qc-structured .media-search .icon svg { width: 18px; height: 18px; }
.qc-structured .media-search input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 0; font-family: var(--body); font-size: 15.5px; color: var(--text); }
.qc-structured .media-search input[type="search"]::placeholder { color: var(--slate); opacity: 1; }
.qc-structured .media-search input[type="search"]:focus-visible { box-shadow: none !important; }
.qc-structured .media-search button { flex: none; border: 0; border-radius: 7px; padding: 11px 20px; background: var(--grad-blue); background-origin: border-box; color: var(--white); font-family: var(--body); font-weight: 600; font-size: 14.5px; cursor: pointer; }
.qc-structured .media-search button:hover { background: var(--deep); }
.qc-structured .media-filters { display: grid; gap: 14px; margin-top: 24px; }
.qc-structured .media-filter { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qc-structured .media-filter .label { flex: 0 0 64px; font-weight: 600; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.qc-structured .media-filter .pill { display: inline-flex; align-items: center; padding: 7px 15px; border: 1px solid #d5dbe1; border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 500; font-size: 14px; line-height: 1.3; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.qc-structured .media-filter .pill:hover { border-color: var(--deep); color: var(--deep); }
.qc-structured .media-filter .pill.is-current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.qc-structured .media-filter .pill .n { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--slate); font-variant-numeric: tabular-nums; }
.qc-structured .media-filter .pill.is-current .n { color: rgba(255, 255, 255, .75); }
/* A choice that would show nothing with the other choices: visible but not clickable. */
.qc-structured .media-filter .pill.is-empty { border-style: dashed; border-color: var(--gray); color: #8a96a0; cursor: default; }
.qc-structured .media-filter .pill.is-empty .n { color: #8a96a0; }
/* "Showing n items", then what is switched on, each part with its own ✕. */
.qc-structured .media-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 22px 0 0; font-size: 14.5px; color: var(--slate); }
.qc-structured .media-active .chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 12px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 500; font-size: 13.5px; transition: background-color .15s ease; }
.qc-structured .media-active .chip:hover { background: #d4ecf9; }
.qc-structured .media-active .chip svg { width: 9px; height: 9px; flex: none; }
.qc-structured .media-active .clear { font-weight: 600; color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.qc-structured .media-empty { grid-column: 1 / -1; padding: 32px 0; border-top: 1px solid var(--gray); font-size: 16px; color: var(--text); }
.qc-structured .media-empty a { font-weight: 600; color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.qc-structured .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 700px) {
	.qc-structured .media-filter .label { flex-basis: 100%; }
	.qc-structured .media-search button { padding: 11px 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.qc-structured .media-search,
	.qc-structured .media-filter .pill,
	.qc-structured .media-active .chip { transition: none; }
}
.qc-structured .media-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin-top: 28px; }
.qc-structured .mrow { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 24px; align-items: start; padding: 32px 0; border-top: 1px solid var(--gray); }
.qc-structured .mrow .thumb { display: block; position: relative; aspect-ratio: 3/2; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.qc-structured .mrow .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
/* An award's or ranking's badge (Kind: recognition): whole, on white, with room around it. */
.qc-structured .mrow .thumb.is-badge { background: var(--white); border: 1px solid var(--gray); }
.qc-structured .mrow .thumb.is-badge img { object-fit: contain; padding: 6%; box-sizing: border-box; }
.qc-structured .mrow:hover .thumb img { transform: scale(1.03); }
.qc-structured .mrow .tile { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; background: var(--grad-navy); color: var(--white); font-family: var(--display); font-weight: 300; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.15; }
.qc-structured .mrow .tile::before { content: ""; position: absolute; inset: 0; background: url(../brand_star.svg) no-repeat 110% 120%/70% auto; opacity: .14; }
.qc-structured .mrow .tile span { position: relative; }
.qc-structured .mrow .play { position: absolute; left: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--deep); display: flex; align-items: center; justify-content: center; }
.qc-structured .mrow .play svg { width: 14px; height: 14px; margin-left: 2px; }
.qc-structured .mrow .kicker { margin-bottom: 0; }
.qc-structured .mrow .title { font-family: var(--display); font-weight: 300; font-size: 22px; line-height: 1.2; margin: 8px 0 14px; padding: 0; }
.qc-structured .mrow .title a { color: var(--navy); }
.qc-structured .mrow .title a:hover { color: var(--deep); }
.qc-structured .mrow .textlink svg { width: 13px; height: 13px; }
/* An item's Disclosure field (inc/media-disclosure.php): small print under its title in
   the list, and under the article on its own page. */
.qc-structured .mrow .disclosure { margin: -4px 0 14px; font-size: 12.5px; line-height: 1.55; color: var(--slate); }
.qc-structured .article .disclosure { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--gray); font-size: 13px; line-height: 1.6; color: var(--slate); }
.qc-structured .pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.qc-structured .pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--gray); background: var(--white); color: var(--navy); font-weight: 600; font-size: 14px; }
.qc-structured .pagination a.page-numbers:hover { border-color: var(--deep); color: var(--deep); }
.qc-structured .pagination .page-numbers.current { background: var(--grad-blue); background-origin: border-box; color: var(--white); border-color: transparent; }
.qc-structured .pagination .page-numbers.dots { border: 0; background: none; }
.qc-structured .pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 1000px) {
	.qc-structured .media-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	.qc-structured .mrow { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
	.qc-structured .mrow .thumb { aspect-ratio: 16/9; }
	.qc-structured .mrow .title { font-size: 20px; }
}

/* Media item */
.qc-structured .article { max-width: 46em; margin: 0 auto; } /* centred on the white card, like the reading column of the text pages */
.qc-structured .article .kicker { margin-bottom: 22px; }
.qc-structured .article .lead-photo img { width: 100%; border-radius: var(--r); margin: 0 0 28px; }
/* A badge on its own page: its own size, not stretched across the reading column. */
.qc-structured .article .lead-photo.is-badge img { width: auto; max-width: 100%; max-height: 300px; border: 1px solid var(--gray); }
.qc-structured .article blockquote.pull { margin: 0 0 28px; padding: 0 0 0 22px; border-left: 3px solid var(--blue); font-family: var(--display); font-weight: 300; font-size: 26px; line-height: 1.3; color: var(--navy); }
.qc-structured .article .btn-row { margin-top: 8px; }
.qc-structured .article .back { margin-top: 36px; }
.qc-structured .player { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: var(--ink); margin: 0 0 28px; }
.qc-structured .player .yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background: none; cursor: pointer; display: block; }
.qc-structured .player .yt-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qc-structured .player .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--deep); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: transform .15s ease, background-color .15s ease; }
.qc-structured .player .play svg { width: 26px; height: 26px; margin-left: 4px; }
.qc-structured .player .yt-facade:hover .play { background: var(--white); transform: scale(1.06); }
.qc-structured .player .yt-facade:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.qc-structured .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.qc-structured .player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink); display: block; }
.qc-structured .article .player + .pull { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) {
	.qc-structured .player .play { transition: none; }
	.qc-structured .player .yt-facade:hover .play { transform: none; }
}

/* Team grid ([questar_team_grid] on the Team page), from the old team.css. */
.qc-structured .people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.qc-structured .person { background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--gray); transition: box-shadow .15s ease; }
.qc-structured .person:hover { box-shadow: var(--shadow); }
.qc-structured .person img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--paper); display: block; }
.qc-structured .person .photo { display: block; }
.qc-structured .person .body { padding: 18px 18px 16px; }
.qc-structured .person .name { font-weight: 600; font-size: 16px; color: var(--navy); }
.qc-structured .person .name a { color: inherit; }
.qc-structured .person .name a:hover { color: var(--deep); }
.qc-structured .person .creds { font-size: 12.5px; color: var(--slate); margin-top: 2px; }
.qc-structured .person .role { font-size: 13.5px; color: var(--text); margin-top: 8px; line-height: 1.45; min-height: 40px; }
.qc-structured .person .contact { display: flex; gap: 10px; margin-top: 12px; }
.qc-structured .person .contact a { width: 36px; height: 36px; border-radius: 8px; background: var(--sky); display: inline-flex; align-items: center; justify-content: center; }
.qc-structured .person .contact a:hover { background: var(--deep); }
.qc-structured .person .contact img { width: 16px; height: 16px; aspect-ratio: auto; object-fit: contain; background: none; }
@media (max-width: 1000px) { .qc-structured .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .qc-structured .people { grid-template-columns: 1fr 1fr; gap: 14px; } }

/* On archive pages (the Media & Insights list) Divi adds "#et-boc .et-l a" link colours
   that outrank the rules above, so the pills' and the results links' colours are
   repeated with that prefix. */
.et-db #et-boc .et-l .qc-structured .media-filter .pill { color: var(--navy); }
.et-db #et-boc .et-l .qc-structured .media-filter .pill:hover { color: var(--deep); }
.et-db #et-boc .et-l .qc-structured .media-filter .pill.is-current { color: var(--white); }
.et-db #et-boc .et-l .qc-structured .media-filter .pill.is-empty { color: #8a96a0; }
.et-db #et-boc .et-l .qc-structured .media-active .chip { color: var(--navy); }
.et-db #et-boc .et-l .qc-structured .media-active .clear,
.et-db #et-boc .et-l .qc-structured .media-empty a { color: var(--deep); }
