/* PEAK-138: scoped result navigation and editorial layout. Existing brand/assets. */
.post-type-archive-insight .insight-hero-sec-wrapper::after { right:0 !important; max-width:100vw; }
.post-type-archive-insight .blog-sub-text > .wp-block-group { margin-block:0 !important; }
.post-type-archive-insight .blog-sub-text h2 { text-wrap:balance; }

.peakt-insights-controls,
.peakt-insights-featured,
.peakt-insights-grid { box-sizing:border-box; width:100%; max-width:1240px; margin-inline:auto !important; padding-inline:20px !important; font-family:Inter,sans-serif; color:#171717; }
.peakt-insights-controls { margin-top:40px; margin-bottom:24px; scroll-margin-top:100px; }
.peakt-insights-controls:focus { outline:none; }
.peakt-insights-controls:focus-visible { outline:3px solid #171717; outline-offset:4px; }
.peakt-insights-filters { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:10px; margin:0; padding:0; }
.peakt-insights-filters a { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; box-sizing:border-box; padding:10px 16px; border:1px solid #171717; border-radius:8px; color:#171717; background:#fff; font-size:16px; font-weight:500; line-height:1.4; text-decoration:none; transition:background-color 120ms ease,color 120ms ease,border-color 120ms ease; }
.peakt-insights-filters a[hidden] { display:none !important; }
.peakt-insights-filters a:hover { background:#fff2d5; }
.peakt-insights-filters a[aria-current="page"] { background:#171717; color:#fff; }
.peakt-insights-filters a[data-peakt-pending] { color:#171717; background:#ffbf3f; border-color:#171717; }
.peakt-filter-count { display:inline-flex; align-items:center; justify-content:center; min-width:22px; min-height:22px; padding:0 4px; box-sizing:border-box; border-radius:5px; background:rgba(23,23,23,.08); font-size:14px; font-weight:700; font-variant-numeric:tabular-nums; }
.peakt-insights-filters a[aria-current="page"] .peakt-filter-count { background:rgba(255,255,255,.16); }
.peakt-insights-filters a[data-peakt-pending] .peakt-filter-count { background:rgba(23,23,23,.08); }
.peakt-insights-status { display:flex; align-items:center; flex-wrap:wrap; gap:6px; min-height:24px; margin:14px 0 0; font-size:14px; line-height:1.6; font-variant-numeric:tabular-nums; }
.peakt-insights-status a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.peakt-insights-controls[data-peakt-loading] .peakt-insights-status::before { content:""; width:12px; height:12px; border:2px solid #a87818; border-top-color:#171717; border-radius:50%; animation:peakt-filter-loading .7s linear infinite; }
@keyframes peakt-filter-loading { to { transform:rotate(360deg); } }
.peakt-insights-featured[hidden] { display:none !important; }
.peakt-insights-featured[aria-busy="true"],
.peakt-insights-grid[aria-busy="true"] { opacity:.72; }
.peakt-insights-filters a:focus-visible,
.peakt-insights-featured a:focus-visible,
.peakt-insights-grid a:focus-visible,
.peakt-insights-status a:focus-visible { outline:3px solid #171717 !important; outline-offset:4px !important; }

/* A compact spotlight on All. Clear every inherited portrait/text-column inset. */
.peakt-insights-featured { padding-top:0 !important; padding-bottom:0 !important; margin-top:0 !important; margin-bottom:32px !important; }
.peakt-insights-featured > .wp-block-query { width:100%; max-width:none !important; margin:0 !important; }
.peakt-insights-featured ul.featured-post-template { display:block !important; width:100%; max-width:none !important; margin:0 !important; padding:0 !important; border:0; }
.peakt-insights-featured ul.featured-post-template > li { display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1.7fr); align-items:center; gap:32px; width:100%; margin:0 !important; padding:0 0 28px !important; border-bottom:1px solid #b8b8b8; }
.post-type-archive-insight .peakt-insights-featured ul.featured-post-template li.wp-block-post figure.insight-feature-img { width:100% !important; max-width:none !important; height:auto !important; margin:0 !important; padding:0 !important; }
.post-type-archive-insight .peakt-insights-featured ul.featured-post-template li.wp-block-post figure.insight-feature-img a { display:block; height:auto !important; margin:0 !important; padding:0 !important; }
.post-type-archive-insight .peakt-insights-featured ul.featured-post-template li.wp-block-post figure.insight-feature-img img { display:block; width:100% !important; height:auto !important; aspect-ratio:16/10; min-height:0 !important; max-height:280px !important; object-fit:cover; border-radius:20px; transform:none !important; }
.peakt-insights-featured .insight-author-row { text-align:left !important; display:block !important; min-width:0; width:100%; max-width:none !important; padding:0 !important; margin:0 !important; border:0 !important; }
.peakt-insights-featured .insight-author-row > .wp-block-group { text-align:left !important; width:100%; max-width:none !important; margin:0 !important; padding:0 !important; }
.peakt-insights-featured .insight-author-row > .wp-block-group > * { max-width:none !important; margin-left:0 !important; margin-right:0 !important; }
.peakt-insights-featured .wp-block-post-title { text-align:left !important; margin:0 !important; padding:0 !important; font-size:26px !important; font-weight:700 !important; line-height:1.25 !important; letter-spacing:-.5px !important; text-transform:none !important; }
.peakt-insights-featured .wp-block-post-title::before { content:"Featured"; display:block; margin-bottom:10px; font-size:14px; font-weight:700; letter-spacing:1px; text-transform:uppercase; line-height:1.5; }
.peakt-insights-featured .author-innfo { display:block !important; margin:12px 0 !important; padding:0 !important; }
.peakt-insights-featured .wp-block-post-excerpt { text-align:left !important; margin:0 !important; padding:0 !important; }
.peakt-insights-featured .wp-block-post-excerpt__excerpt { display:block; -webkit-line-clamp:unset; overflow:visible; margin:0 !important; padding:0 !important; font-size:16px; line-height:1.65; }

.peakt-insight-meta { display:flex; flex-wrap:wrap; align-items:center; gap:4px 14px; margin:0 !important; padding:0 !important; color:#595959; font-family:Inter,sans-serif; font-size:14px !important; font-weight:400; line-height:1.6; }
.peakt-insight-meta span, .peakt-insight-meta time { font-size:inherit !important; }
.peakt-insight-category, .peakt-insight-author { font-weight:400; }

/* Consistent card edges, short previews, and visible authors before the excerpt. */
.peakt-insights-grid { padding-top:0 !important; padding-bottom:48px !important; margin-top:0 !important; margin-bottom:0 !important; }
.peakt-insights-grid > .wp-block-query { max-width:none !important; margin:0 !important; }
.peakt-insights-grid ul.featured-post-template { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px 28px; width:100%; margin:0 !important; padding:0 !important; border:0 !important; }
.peakt-insights-grid ul.featured-post-template > li { display:flex; flex-direction:column; align-items:stretch; width:100%; min-width:0; margin:0 !important; padding:0 !important; }
.peakt-insights-grid ul.featured-post-template > li > * { max-width:none !important; margin-inline:0 !important; }
.peakt-insights-grid .wp-block-post-featured-image { order:1; width:100%; margin:0 !important; padding:0 !important; }
.peakt-insights-grid .wp-block-post-featured-image a { display:block; height:auto !important; }
.post-type-archive-insight .peakt-insights-grid ul.featured-post-template li.wp-block-post .wp-block-post-featured-image img { display:block; width:100% !important; height:auto !important; min-height:0 !important; max-height:none !important; aspect-ratio:16/10; object-fit:cover; border-radius:20px; transform:none !important; }
.peakt-insights-grid .wp-block-post-title { order:2; margin:18px 0 10px !important; padding:0 !important; font-size:22px !important; font-weight:700 !important; line-height:1.3 !important; letter-spacing:-.3px !important; }
.peakt-insights-grid .peakt-insight-meta { order:3; margin:0 0 12px !important; }
.peakt-insights-grid .wp-block-post-excerpt { order:4; flex:1; margin:0 0 18px !important; padding:0 !important; }
.peakt-insights-grid .wp-block-post-excerpt__excerpt { display:block; -webkit-line-clamp:unset; overflow:visible; margin:0 !important; padding:0 !important; font-size:16px; line-height:1.65; }
.peakt-insights-featured .insight-author-row .wp-block-read-more,
.peakt-insights-grid .wp-block-read-more { display:inline-flex; align-items:center; justify-content:center; align-self:flex-start; min-height:44px; width:fit-content; box-sizing:border-box; margin:18px 0 0 !important; padding:10px 20px !important; color:#171717; background:#ffbf3f; border-radius:8px; font-family:Inter,sans-serif; font-size:16px !important; line-height:1.5; font-weight:600 !important; text-decoration:none; transition:background-color 120ms ease,color 120ms ease; }
.peakt-insights-grid .wp-block-read-more { order:5; margin:0 !important; }
.peakt-insights-featured .insight-author-row .wp-block-read-more:hover,
.peakt-insights-grid .wp-block-read-more:hover { color:#fff; background:#171717; }
.peakt-insights-grid .wp-block-query-pagination { margin:36px 0 0; padding:20px 0 0; gap:12px; flex-wrap:wrap; border-top:1px solid #b8b8b8; }
.peakt-insights-grid .wp-block-query-pagination a,
.peakt-insights-grid .wp-block-query-pagination .current { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; padding:4px 10px; color:#171717; }
.peakt-insights-grid .wp-block-query-pagination .current { border-radius:8px; background:#171717; color:#fff; }
.peakt-insights-grid .wp-block-query-no-results { margin:0; padding:32px 0; font-family:Inter,sans-serif; font-size:18px; line-height:1.6; }

@media(max-width:999px) {
 .peakt-insights-featured ul.featured-post-template > li { grid-template-columns:minmax(0,1fr) minmax(0,1.5fr); gap:24px; }
 .peakt-insights-featured .wp-block-post-title { font-size:23px !important; }
 .peakt-insights-grid ul.featured-post-template { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 24px; }
}
@media(max-width:600px) {
 .peakt-insights-controls { margin-top:28px; margin-bottom:20px; scroll-margin-top:86px; }
 .peakt-insights-filters { gap:8px; }
 .peakt-insights-filters a { padding:9px 11px; gap:6px; font-size:16px; }
 .peakt-insights-status { margin-top:12px; font-size:14px; }
 .peakt-insights-featured { margin-bottom:24px !important; }
 .peakt-insights-featured ul.featured-post-template > li { grid-template-columns:96px minmax(0,1fr); align-items:start; gap:16px; padding-bottom:24px !important; }
 .post-type-archive-insight .peakt-insights-featured ul.featured-post-template li.wp-block-post figure.insight-feature-img img { aspect-ratio:1; max-height:none !important; }
 .peakt-insights-featured .wp-block-post-title { font-size:18px !important; line-height:1.35 !important; letter-spacing:-.2px !important; }
 .peakt-insights-featured .wp-block-post-title::before { font-size:14px; letter-spacing:.5px; margin-bottom:6px; }
 .peakt-insights-featured .author-innfo { margin:10px 0 0 !important; }
 .peakt-insights-featured .wp-block-post-excerpt { display:none; }
 .peakt-insight-meta { gap:3px 10px; font-size:14px !important; }
 .peakt-insights-featured .insight-author-row .wp-block-read-more { margin-top:12px !important; }
 .peakt-insights-grid ul.featured-post-template { grid-template-columns:minmax(0,1fr); gap:24px; }
 .peakt-insights-grid ul.featured-post-template > li { display:grid !important; grid-template-columns:96px minmax(0,1fr); align-items:start; gap:10px 16px; padding-bottom:24px !important; border-bottom:1px solid #c7c7c7; }
 .peakt-insights-grid .wp-block-post-featured-image { grid-column:1; grid-row:1 / span 3; }
 .post-type-archive-insight .peakt-insights-grid ul.featured-post-template li.wp-block-post .wp-block-post-featured-image img { aspect-ratio:1; }
 .peakt-insights-grid .wp-block-post-title { grid-column:2; grid-row:1; margin:0 !important; font-size:18px !important; line-height:1.35 !important; letter-spacing:-.2px !important; }
 .peakt-insights-grid .peakt-insight-meta { grid-column:2; grid-row:2; margin:0 !important; }
 .peakt-insights-grid .wp-block-post-excerpt { display:none; }
 .peakt-insights-grid .wp-block-read-more { grid-column:2; grid-row:3; margin:0 !important; padding-inline:14px !important; }
}
@media(max-width:350px) {
 .peakt-insights-featured ul.featured-post-template > li,
 .peakt-insights-grid ul.featured-post-template > li { grid-template-columns:76px minmax(0,1fr); gap:10px 12px; }
 .peakt-insights-filters a { padding-inline:9px; font-size:16px; }
}
@media(prefers-reduced-motion:reduce) {
 .peakt-insights-filters a, .peakt-insights-featured .insight-author-row .wp-block-read-more, .peakt-insights-grid .wp-block-read-more { transition:none; }
 .peakt-insights-controls[data-peakt-loading] .peakt-insights-status::before { animation:none; }
}

/* The reference byline is limited to the single, verified Joe article. */
.wp-block-peakt-post-author-meta.peakt-joe-byline { align-items:center; justify-content:space-between; column-gap:24px; row-gap:12px; padding-bottom:10px; }
.single-post-meta-col > .peakt-joe-byline + .wp-block-post-title { border-top-color:#d8d8d8 !important; }
.peakt-joe-byline-identity { display:flex; align-items:center; gap:10px; min-width:0; }
.peakt-joe-byline img.peakt-joe-byline-avatar { display:block; flex:0 0 50px; width:50px; height:50px; border-radius:50%; object-fit:cover; }
.peakt-joe-byline-name { color:#171717; font-family:Inter,sans-serif; font-size:16px; font-weight:500; line-height:24px; letter-spacing:-.4px; }
.wp-block-peakt-post-author-meta.peakt-joe-byline .peakt-author-meta { width:auto; min-width:0; margin:0 0 0 auto; flex:0 1 auto; }
.peakt-joe-byline .peakt-author-subtext { justify-content:flex-end; }
.wp-block-peakt-post-author-meta.peakt-joe-byline .peakt-author-meta-item { color:#666; white-space:nowrap; }
@media(max-width:600px) {
 .wp-block-peakt-post-author-meta.peakt-joe-byline .peakt-author-meta { flex-basis:100%; width:100%; margin-left:0; }
 .peakt-joe-byline .peakt-author-subtext { justify-content:flex-start; }
.wp-block-peakt-post-author-meta.peakt-joe-byline .peakt-author-meta-item { text-align:left; }
}

/* Warren's September 18 feature reference: retain its composition and brand.
 * Prevent the existing fluid type from shrinking the article below a readable
 * mobile size. More generous body leading is a responsive reading adaptation.
 * The smaller-article design remains separate; only the verified Joe piece opts in.
 */
.peakt-joe-article .single-post-meta-col > .wp-block-post-title {
 font-size:24px !important; line-height:1.15 !important;
 letter-spacing:-.04em !important; overflow-wrap:break-word;
}
.peakt-joe-article .wp-block-post-content p.has-inter-font-family {
 font-size:18px !important; line-height:1.6 !important;
 letter-spacing:-.02em !important; overflow-wrap:break-word;
}
/* Legacy section titles and bold lead-ins share visual emphasis. */
.peakt-joe-article .wp-block-post-content p.has-inter-font-family[style*="font-weight:700"] {
 font-size:24px !important; line-height:1.3 !important;
 letter-spacing:-.035em !important;
}
.peakt-joe-article .wp-block-post-content a:focus-visible,
.peakt-joe-article .wp-block-peakt-author-about-meta a:focus-visible,
.peakt-joe-article .single-insight-next-prev-wrap a:focus-visible {
 outline:3px solid #171717 !important; outline-offset:4px !important;
}
.peakt-joe-article .wp-block-peakt-author-about-meta a,
.peakt-joe-article .single-insight-next-prev-wrap a {
 display:inline-flex; align-items:center; min-height:44px; box-sizing:border-box;
}
@media(max-width:600px) {
 .peakt-joe-article .single-post-meta-col > .wp-block-post-title {
  font-size:20px !important; line-height:1.2 !important; padding-top:32px !important;
 }
 .peakt-joe-article .wp-block-post-content p.has-inter-font-family {
  font-size:16px !important;
 }
 .peakt-joe-article .wp-block-post-content p.has-inter-font-family[style*="font-weight:700"] {
  font-size:20px !important;
 }
}

/* Keep the mobile footer's decorative layers inside its own section.
 * The original 120% mountain layer otherwise paints over Joe's bio and links.
 */
@media (max-width:600px) {
 .peakt-joe-article footer.footer-sec { overflow:clip; }
}

/* PEAK-138: readability and keyboard maintenance on four reviewed articles.
 * Existing content, media order, authors and template compositions remain.
 * The approved buyer guide keeps its existing body typography.
 */
.peakt-legacy-article h1.wp-block-post-title {
 font-size:24px !important; line-height:1.3 !important;
}
.peakt-legacy-article .wp-block-post-content p.has-inter-font-family,
.peakt-legacy-article .wp-block-post-content li {
 font-size:18px !important; line-height:1.6 !important;
 overflow-wrap:break-word;
}
.peakt-legacy-article .wp-block-post-content p.has-inter-font-family[style*="font-weight:700"] {
 font-size:24px !important; line-height:1.4 !important;
}
.peakt-article-maintenance .wp-block-post-content a:focus-visible,
.peakt-article-maintenance .single-insight-next-prev-wrap a:focus-visible {
 outline:3px solid #171717 !important; outline-offset:4px !important;
}
.peakt-article-maintenance .single-insight-next-prev-wrap a {
 display:inline-flex; align-items:center; min-height:44px; box-sizing:border-box;
}
@media(max-width:600px) {
 .peakt-legacy-article h1.wp-block-post-title { font-size:20px !important; }
 .peakt-legacy-article .wp-block-post-content p.has-inter-font-family,
 .peakt-legacy-article .wp-block-post-content li { font-size:16px !important; }
 .peakt-legacy-article .wp-block-post-content p.has-inter-font-family[style*="font-weight:700"] { font-size:20px !important; }
 /* This short footer gap exposes the same decorative overlap as Joe's page. */
 .peakt-guide-article footer.footer-sec { overflow:clip; }
}

/* PEAK-138: readable article-top information on the five reviewed stories.
 * Preserve existing authors, dates, categories, copy, fonts and title sizing.
 */
.peakt-article-maintenance .single-post-top-col .author-name-col,
.peakt-article-maintenance .single-post-top-col .author-name-col a {
 font-size:16px !important; line-height:1.5 !important; letter-spacing:0 !important;
}
.peakt-joe-article .peakt-joe-byline .peakt-author-meta-item {
 font-size:16px !important; line-height:1.5 !important; letter-spacing:.04em !important;
}
.peakt-legacy-article .single-post-top-col .wp-block-post-excerpt__excerpt,
.peakt-legacy-article .single-post-top-col p.has-inter-font-family:not(.author-name-col) {
 font-size:18px !important; line-height:1.6 !important;
}
.peakt-article-maintenance .single-post-top-col .work-taxonomy .wp-block-post-terms a {
 display:inline-flex; align-items:center; justify-content:center;
 box-sizing:border-box; min-height:44px; max-width:100%;
 padding:9px 14px; font-size:16px !important; line-height:1.5 !important;
 letter-spacing:0 !important; white-space:normal; text-align:center;
}
.peakt-article-maintenance .single-post-top-col .work-taxonomy .wp-block-post-terms a:focus-visible {
 outline:3px solid #171717 !important; outline-offset:4px !important;
}
@media(max-width:600px) {
 .peakt-legacy-article .single-post-top-col .wp-block-post-excerpt__excerpt,
 .peakt-legacy-article .single-post-top-col p.has-inter-font-family:not(.author-name-col) {
  font-size:16px !important;
 }
}

/* PEAK-138: Future of LED opens with its title, attribution and category.
 * The archive retains its excerpt; the article already develops this context
 * beneath its hero. Omit the redundant excerpt and series boilerplate here.
 */
.peakt-future-led-article.peakt-legacy-article .single-post-top-col .wp-block-post-excerpt,
.peakt-future-led-article.peakt-legacy-article .single-post-top-col p.has-inter-font-family:not(.author-name-col) {
 display:none;
}

/* Reflow controls at enlarged text rather than shrinking essential labels. */
.peakt-insights-filters a { max-width:100%; overflow-wrap:anywhere; }
.peakt-insights-filters a > span:first-child { min-width:0; }
.peakt-filter-count { flex-shrink:0; }

/* The editorial card metadata already supplies the guide company byline. */
.peakt-insights-grid .peak175-card-byline,
.peakt-insights-featured .peak175-card-byline { display:none; }
