/* PenTestRaptor editorial system: charcoal, lime, readable long-form type. */
.blog-page { color-scheme: dark; }
.blog-page #navigation [aria-current="page"] { color: var(--lime); }
.blog-page .eyebrow, .homepage-blog .eyebrow { font-size: .75rem; line-height: 1.6; }
.blog-intro { padding-block: 66px 40px; }
.blog-intro-row { display: flex; align-items: flex-end; gap: 56px; justify-content: space-between; margin-top: 18px; }
.blog-intro h1 { font-size: clamp(2.4rem,4.4vw,4rem); line-height: 1.08; letter-spacing: -.045em; }
.blog-intro-row>p { max-width: 315px; font-size: 1rem; line-height: 1.75; padding-bottom: 4px; }
.featured-story { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.featured-image { overflow: hidden; min-height: 390px; }
.featured-image img { height: 100%; width: 100%; object-fit: cover; transition: transform .4s; }
.featured-image:hover img { transform: scale(1.025); }
.featured-copy { padding: 42px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.featured-copy>.eyebrow { color: var(--lime); margin-bottom: 22px; }
.featured-copy h2 { font-size: clamp(1.7rem,2.5vw,2.3rem); line-height: 1.15; margin: 16px 0; }
.featured-copy h2 a:hover { color: var(--lime); }
.featured-copy>p { font-size: 1rem; line-height: 1.7; }
.featured-link { margin-top: 25px; color: var(--lime); border-bottom: 1px solid #c4f76d55; padding-bottom: 6px; }
.card-labels { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.card-labels>span:not(.article-badge) { color: var(--muted); font-size: .875rem; }
.article-badge { display: inline-flex; border-radius: 4px; padding: 5px 9px; font-size: .8125rem; line-height: 1.35; font-weight: 700; }
.article-badge.security { color: #d0f5a0; background: #c4f76d12; border: 1px solid #c4f76d33; }
.article-badge.outage { color: #d4dce7; background: #b5c6e112; border: 1px solid #b5c6e138; }
.blog-library { padding-top: 80px; }
.library-title { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; margin-bottom: 30px; }
.library-title h2 { font-size: clamp(1.8rem,3vw,2.5rem); line-height: 1.15; margin-top: 12px; }
.library-title>p { max-width: 300px; font-size: 1rem; line-height: 1.7; }
.filter-panel { border: 1px solid var(--line); border-radius: 8px; background: #202328; padding: 20px; }
.filter-top { display: flex; align-items: stretch; gap: 14px; }
.search-label { flex: 1; position: relative; min-width: 200px; display: flex; align-items: center; }
.search-label svg { position: absolute; left: 15px; width: 20px; height: 20px; color: #aab4be; stroke-width: 1.6; pointer-events: none; }
.blog-page .search-label input { width: 100%; height: 58px; margin: 0; padding: 14px 36px 14px 46px; border: 1px solid #525b66; border-radius: 5px; background: #181a1d; color: var(--text); font-size: 1rem; }
.search-label input::-webkit-search-cancel-button { cursor: pointer; }
.filter-select { display: block; position: relative; flex: 0 0 208px; }
.filter-select>span { font-size: .75rem; position: absolute; left: 14px; top: 5px; color: #aeb6c0; pointer-events: none; }
.blog-page .filter-select select { width: 100%; height: 58px; margin: 0; padding: 22px 34px 5px 14px; font-size: .9375rem; border: 1px solid #525b66; border-radius: 5px; background-color: #181a1d; color: var(--text); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23b6c0cb' stroke-width='1.5'/%3E%3C/svg%3E"); background-position: right 12px center; background-repeat: no-repeat; }
.filter-select.sort-select { flex-basis: 170px; }
.filter-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.category-filters button { padding: 9px 15px; min-height: 42px; border: 1px solid #515861; border-radius: 5px; background: transparent; color: #c2c8cf; font-size: .875rem; line-height: 1.4; }
.category-filters button:hover { border-color: #8da76e; color: var(--text); }
.category-filters [aria-pressed="true"] { color: #1b2117; border-color: var(--lime); background: var(--lime); font-weight: 700; }
.clear-filters { flex-shrink: 0; font-size: .875rem; color: var(--lime); border: none; padding: 10px 4px; background: none; text-decoration: underline; text-underline-offset: 4px; }
.result-line { display: flex; justify-content: space-between; gap: 16px; margin: 22px 0; font-size: .875rem; color: var(--muted); }
.result-line p { color: #d6dbe0; }
.blog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.blog-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #1e2125; transition: border-color .2s, background .2s; }
.blog-card:hover { border-color: #667256; background: #24282c; }
.card-art { display: block; overflow: hidden; aspect-ratio: 1.75; background: #23272b; }
.card-art { position: relative; }
.image-company { position: absolute; left: 16px; bottom: 14px; font-size: .8125rem; font-weight: 700; line-height: 1.4; color: #edf4e5; padding: 6px 10px; background: #181c1de8; border: 1px solid #68715e88; border-radius: 4px; backdrop-filter: blur(8px); }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.blog-card:hover .card-art img { transform: scale(1.03); }
.card-copy { padding: 23px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.blog-card h3 { font-size: 1.4rem; line-height: 1.24; letter-spacing: -.025em; margin: 18px 0 13px; }
.blog-card h3 a:hover { color: var(--lime); }
.blog-card p { font-size: 1rem; line-height: 1.7; margin-bottom: 26px; }
.card-bottom { width: 100%; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .8125rem; color: #b4bdc7; }
.card-read { color: #c4f76d; font-weight: 700; }
.empty-results { padding: 62px 24px; border: 1px dashed #596270; text-align: center; border-radius: 8px; }
.empty-results h3 { font-size: 1.8rem; margin: 15px 0; }
.empty-results p { max-width: 500px; margin: 0 auto 24px; }
.blog-bottom { margin-block: 75px 85px; }
.editorial-cta { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 30px 48px; align-items: center; background: #2b3128; border: 1px solid #788e5b; border-radius: 10px; padding: 48px; overflow: hidden; }
.editorial-cta .eyebrow { color: #b9cea2; }
.editorial-cta h2 { max-width: 710px; font-size: clamp(1.9rem,3.1vw,2.75rem); line-height: 1.1; margin: 15px 0; }
.editorial-cta p { color: #c6cec2; font-size: 1rem; line-height: 1.75; max-width: 650px; }
.cta-action { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.cta-action>span { font-size: .8125rem; color: #c5cebd; }
.editorial-cta .cta-scope { grid-column: 1/-1; padding-top: 22px; border-top: 1px solid #81976855; max-width: none; font-size: .875rem; color: #bdc7b4; }
.blog-page .site-footer a:not(.brand) { font-size: .875rem; color: #b7c1cc; }
.homepage-blog { border-top: 1px solid var(--line); }
.homepage-blog .section-heading>div:last-child { max-width: 350px; }
.homepage-blog .section-heading p { font-size: 1rem; line-height: 1.75; }
.homepage-blog .section-heading .text-link { color: var(--lime); margin-top: 18px; }
/* Long-form articles */
.reading-progress { height: 3px; position: fixed; top: 89px; left: 0; right: 0; z-index: 21; pointer-events: none; }
.reading-progress>span { display: block; width: 100%; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.article-header { padding-top: 36px; padding-bottom: 34px; }
.back-to-blog { font-size: .875rem; color: #c4ccd5; display: inline-block; margin-bottom: 35px; border-bottom: 1px solid #59616a; padding-bottom: 3px; }
.back-to-blog:hover { color: var(--lime); }
.article-kickers { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 23px; }
.incident-status { font-size: .875rem; color: #c5cbd1; }
.article-header h1 { max-width: 1040px; font-size: clamp(2.45rem,5vw,4.25rem); line-height: 1.08; }
.article-dek { max-width: 850px; margin-top: 24px; font-size: 1.1875rem; line-height: 1.7; color: #bec5cc; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 25px; margin-top: 26px; font-size: .875rem; color: #c1c8d0; }
.article-meta>span:first-child { color: var(--text); font-weight: 700; }
.incident-date { margin-top: 12px; font-size: .875rem; color: #d5dadf; line-height: 1.6; }
.incident-date span { color: #acb5bf; }
.article-hero { margin-top: 0; margin-bottom: 0; }
.article-hero>img { width: 100%; height: auto; aspect-ratio: 2.65; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.article-hero figcaption { font-size: .8125rem; color: #a9b3bd; margin-top: 12px; line-height: 1.6; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0,760px); gap: 70px; align-items: start; justify-content: center; padding-top: 50px; }
.article-sidebar { position: sticky; top: 118px; min-width: 0; max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: thin; padding-right: 10px; }
.article-toc { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.article-toc summary { font-size: 1rem; font-weight: 700; cursor: pointer; line-height: 1.5; }
.article-toc ol { padding: 0; margin: 18px 0 0; list-style: none; }
.article-toc li { margin: 0; }
.article-toc a { display: block; padding: 7px 12px; border-left: 2px solid #424952; font-size: .875rem; line-height: 1.5; color: #aeb8c3; }
.article-toc a:hover, .article-toc a[aria-current="location"] { color: var(--lime); border-left-color: var(--lime); background: #c4f76d08; }
.sidebar-cta { padding-top: 26px; }
.sidebar-cta>p { color: var(--text); font-size: 1.25rem; font-weight: 700; line-height: 1.4; margin-top: 12px; }
.sidebar-cta>.button { margin-top: 20px; width: 100%; }
.sidebar-cta small { display: block; color: #adb7c2; font-size: .8125rem; margin-top: 10px; text-align: center; }
.article-body { min-width: 0; font-size: 1.125rem; line-height: 1.85; }
.article-body p, .article-body li { color: #c6ccd3; }
.article-body strong { color: #f1f3f5; }
.article-body a { color: #c4f76d; text-decoration: underline; text-decoration-color: #c4f76d66; text-underline-offset: 4px; overflow-wrap: anywhere; }
.article-body a:hover { text-decoration-color: currentColor; }
.takeaways { background: #22272a; border: 1px solid #4e5a59; border-left: 3px solid var(--lime); border-radius: 7px; padding: 28px 32px; margin-bottom: 45px; }
.article-body h2 { font-size: clamp(1.65rem,2.4vw,2rem); line-height: 1.2; letter-spacing: -.025em; margin-bottom: 22px; }
.takeaways h2 { font-size: 1.5rem; margin-top: 10px; margin-bottom: 15px; }
.takeaways ul { margin: 0; padding-left: 22px; font-size: 1rem; line-height: 1.75; }
.takeaways li+li { margin-top: 10px; }
.takeaways li::marker { color: var(--lime); }
.article-section { scroll-margin-top: 20px; margin-bottom: 48px; }
.article-section>p+p { margin-top: 22px; }
.article-section ul { padding-left: 24px; }
.article-section li { margin-block: 12px; }
.snippet { margin: 30px 0 0; background: #111518; border: 1px solid #46535c; border-radius: 8px; overflow: hidden; }
.snippet-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 11px 18px; background: #252c30; border-bottom: 1px solid #46535c; }
.snippet-bar>span { font-family: var(--mono); font-size: .75rem; color: #afbec7; line-height: 1.5; }
.snippet-bar button { background: none; border: 1px solid #626f75; padding: 6px 10px; font-size: .8125rem; color: #def5be; border-radius: 4px; flex-shrink: 0; }
.snippet pre { margin: 0; padding: 24px; overflow-x: auto; max-width: 100%; scrollbar-width: thin; tab-size: 2; font-family: var(--mono); font-size: .875rem; line-height: 1.75; color: #d3e9be; }
.snippet figcaption { padding: 15px 20px; font-size: .875rem; line-height: 1.7; border-top: 1px solid #37444b; color: #adbcc6; }
.explanation-figure { background: #22262a; border: 1px solid #48514f; border-radius: 8px; margin: 40px 0 48px; padding: 30px; }
.figure-heading h3 { font-size: 1.6rem; line-height: 1.25; margin-top: 12px; }
.explanation-steps { margin: 27px 0; padding: 0; list-style: none; }
.diagram-image { width: 100%; height: auto; margin: 12px 0; }
@media(min-width:651px) { .explanation-steps { display: none; } }
@media(max-width:650px) { .diagram-image { display: none; } }
.explanation-steps li { padding: 0 0 27px 32px; margin: 0; border-left: 1px dashed #71835d; position: relative; }
.explanation-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.explanation-steps li:before { content: ''; position: absolute; width: 13px; height: 13px; top: 7px; left: -7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 5px #c4f76d0c; }
.explanation-steps strong { display: block; font-size: 1.0625rem; line-height: 1.6; }
.explanation-steps p { margin-top: 5px; font-size: 1rem; line-height: 1.65; }
.explanation-figure figcaption { border-top: 1px solid var(--line); padding-top: 18px; font-size: .875rem; line-height: 1.7; color: #aab5bf; }
.reading-note { display: flex; gap: 22px; border-top: 1px solid #61704e; border-bottom: 1px solid #61704e; padding: 27px 0; margin: 40px 0 48px; }
.reading-note>img { flex: 0 0 34px; align-self: flex-start; }
.reading-note strong { display: block; font-size: 1.125rem; line-height: 1.5; }
.reading-note p { font-size: 1rem; line-height: 1.7; margin: 8px 0 13px; }
.reading-note .text-link { color: var(--lime); font-size: 1rem; text-decoration: underline; text-underline-offset: 4px; }
.article-sources { margin-top: 55px; padding-top: 35px; border-top: 1px solid var(--line); }
.article-sources>p, .article-sources ol { font-size: .9375rem; line-height: 1.75; }
.article-sources ol { padding-left: 24px; }
.article-sources li { padding: 7px 0; scroll-margin-top: 20px; }
.article-sources li p { margin-top: 5px; color: #aab5c0; font-size: .875rem; }
.article-topics { display: flex; flex-wrap: wrap; gap: 9px; }
.article-topics a { border: 1px solid #4d5964; border-radius: 5px; padding: 6px 12px; font-size: .875rem; text-decoration: none; color: #c6d1db; }
.article-topics a:hover { border-color: var(--lime); }
.article-sharing { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.article-sharing .text-link { color: var(--lime); font-size: .875rem; text-decoration: none; }
#copy-status { font-size: .875rem; color: #bbc8ab; }
.article-end-cta { margin-top: 70px; }
.related-reading { margin-block: 75px 85px; }
.no-js-note { margin-top: 25px; font-size: .875rem; }
@media(min-width:901px) and (max-width:1100px) {
  #navigation { gap: 18px; }
  #navigation>a { font-size: .875rem; }
  .nav-wrap { gap: 20px; }
  .brand .brand-logo { width: 220px; }
}
@media(max-width:1100px) {
  .blog-intro-row { gap: 30px; }
  .blog-intro-row>p { max-width: 270px; }
  .featured-copy { padding: 30px; }
  .blog-grid { gap: 20px; }
  .card-copy { padding: 20px; }
  .article-layout { grid-template-columns: 210px minmax(0,1fr); gap: 40px; }
  .article-sidebar { padding-right: 3px; }
  .editorial-cta { padding: 35px; gap: 26px; }
}
@media(max-width:900px) {
  .blog-intro-row { display: block; }
  .blog-intro-row>p { max-width: 530px; margin-top: 23px; }
  .featured-image { min-height: 360px; }
  .featured-copy { padding: 26px; }
  .featured-copy h2 { font-size: 1.75rem; }
  .filter-top { flex-wrap: wrap; }
  .search-label { flex-basis: 100%; }
  .filter-select, .filter-select.sort-select { flex: 1; }
  .blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .homepage-blog .blog-card:last-child, .related-reading .blog-card:last-child { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; }
  .homepage-blog .blog-card:last-child .card-art, .related-reading .blog-card:last-child .card-art { height: 100%; aspect-ratio: auto; }
  .reading-progress { top: 77px; }
  .article-layout { grid-template-columns: minmax(0,1fr); gap: 30px; padding-top: 30px; max-width: 780px; }
  .article-sidebar { position: static; max-height: none; padding: 0; }
  .article-toc { border: 1px solid #48515c; border-radius: 6px; padding: 18px 20px; background: #21252a; }
  .sidebar-cta { display: none; }
  .article-header h1 { font-size: 3rem; }
  .article-hero>img { aspect-ratio: 2; }
  .editorial-cta { grid-template-columns: 1fr; }
  .cta-action { align-items: flex-start; }
  .editorial-cta .cta-scope { grid-column: auto; }
}
@media(max-width:650px) {
  .blog-intro { padding-block: 40px 30px; }
  .blog-intro h1 { font-size: clamp(2.15rem,8.5vw,3.1rem); }
  .blog-intro-row>p { font-size: 1rem; margin-top: 19px; }
  .featured-story { grid-template-columns: 1fr; }
  .featured-image { min-height: 0; aspect-ratio: 1.7; }
  .featured-copy { padding: 26px 23px; }
  .featured-copy>.eyebrow { margin-bottom: 17px; }
  .featured-copy h2 { font-size: 1.8rem; margin-block: 15px; }
  .blog-library { padding-top: 50px; }
  .library-title { display: block; margin-bottom: 24px; }
  .library-title>p { max-width: none; margin-top: 17px; }
  .library-title>.text-link { margin-top: 17px; }
  .filter-panel { padding: 15px; }
  .filter-top { gap: 12px; }
  .search-label { min-width: 0; }
  .blog-page .search-label input { font-size: 1rem; padding-left: 39px; }
  .search-label svg { left: 12px; width: 18px; }
  .filter-select, .filter-select.sort-select { flex-basis: 100%; }
  .filter-bottom { display: block; }
  .category-filters { gap: 8px; }
  .category-filters button { padding: 9px 10px; font-size: .875rem; }
  .clear-filters { margin-top: 12px; }
  .result-line { font-size: .8125rem; flex-wrap: wrap; gap: 4px 16px; }
  .blog-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .homepage-blog .blog-card:last-child, .related-reading .blog-card:last-child { grid-column: auto; display: flex; }
  .homepage-blog .blog-card:last-child .card-art, .related-reading .blog-card:last-child .card-art { height: auto; aspect-ratio: 1.75; }
  .card-copy { padding: 23px; }
  .blog-card h3 { font-size: 1.5rem; }
  .blog-bottom { margin-block: 50px 55px; }
  .editorial-cta { padding: 28px 23px; gap: 24px; }
  .editorial-cta h2 { font-size: 2rem; }
  .editorial-cta .button { white-space: normal; text-align: center; }
  .editorial-cta .cta-scope { font-size: .875rem; }
  .homepage-blog .section-heading>div:last-child { max-width: none; margin-top: 22px; }
  .reading-progress { top: 71px; }
  .article-header { padding-top: 25px; padding-bottom: 25px; }
  .back-to-blog { margin-bottom: 25px; }
  .article-kickers { gap: 10px 12px; margin-bottom: 20px; }
  .article-header h1 { font-size: clamp(2rem,9vw,2.8rem); }
  .article-dek { font-size: 1.0625rem; margin-top: 20px; }
  .article-meta { gap: 6px 17px; font-size: .8125rem; margin-top: 22px; }
  .incident-date { font-size: .875rem; }
  .incident-date span { display: block; margin-top: 3px; }
  .article-hero>img { aspect-ratio: 1.6; border-radius: 7px; }
  .article-hero figcaption { font-size: .75rem; }
  .article-layout { padding-top: 25px; gap: 25px; }
  .article-body { font-size: 1.0625rem; line-height: 1.85; }
  .takeaways { padding: 23px; margin-bottom: 35px; }
  .article-body h2 { font-size: 1.65rem; line-height: 1.25; }
  .takeaways h2 { font-size: 1.4rem; }
  .article-section { margin-bottom: 37px; scroll-margin-top: 20px; }
  .snippet pre { padding: 18px; font-size: .875rem; }
  .snippet-bar { padding: 11px 13px; }
  .snippet-bar>span { font-size: .75rem; }
  .snippet-bar button { padding: 7px; }
  .snippet figcaption { padding: 15px; }
  .explanation-figure { padding: 23px; margin-block: 32px 38px; }
  .explanation-steps li { padding-left: 24px; }
  .figure-heading h3 { font-size: 1.4rem; }
  .reading-note { gap: 14px; }
  .reading-note>img { flex-basis: 26px; width: 26px; }
  .reading-note .text-link { text-align: left; line-height: 1.6; }
  .article-end-cta { margin-top: 45px; }
  .related-reading { margin-block: 50px; }
}
@media(prefers-reduced-motion:reduce) { .blog-card, .card-art img, .featured-image img { transition: none; transform: none!important; } }
