.ed-band { padding-block: 82px; }
.ed-band[id] { scroll-margin-top: 96px; }
.ed-dark { color: #fff; background: #102737; }
.ed-label { color: #176047; font-weight: 800; font-size: .76rem; text-transform: uppercase; margin-bottom: 14px; }
.ed-label::before { content: ""; display: inline-block; width: 26px; height: 2px; margin: 0 9px 3px 0; background: #d6a039; }
.ed-dark .ed-label { color: #f3c568; }
.ed-band h2, .ed-library-feature h2 { color: var(--navy); margin: 0 0 18px; font-size: 2.9rem; line-height: 1.06; font-weight: 820; letter-spacing: 0; text-wrap: balance; }
.ed-dark h2 { color: #fff; }
.ed-band p, .ed-library-feature p { line-height: 1.62; }
.ed-copy > p, .ed-intro > p { max-width: 55ch; color: #465a66; }
.ed-dark :is(.ed-copy > p, .ed-intro > p, .ed-contact-details p) { color: #e0e9ed; }
.ed-split, .ed-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 58px; align-items: center; }
.ed-intro { margin-bottom: 34px; align-items: end; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
.ed-intro p { margin: 0 0 20px; }
.ed-intro > .btn { justify-self: end; margin-bottom: 18px; }
.ed-photo { position: relative; margin: 0; background: #112c3d; overflow: hidden; }
.ed-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ed-photo-slant { clip-path: polygon(0 0, 100% 0, 100% 79%, 87% 100%, 0 100%); }
.ed-photo-cut { clip-path: polygon(0 0, 92% 0, 100% 12%, 100% 100%, 12% 100%, 0 83%); }
.ed-photo::after { content: ""; position: absolute; inset: 12px; border-top: 1px solid #ffcf76b0; border-left: 1px solid #ffcf7660; pointer-events: none; }
.ed-compare { background: #faf9f6; }
.ed-compare .ed-split { align-items: start; }
.ed-compare .ed-photo { height: 265px; margin-top: 25px; }
.ed-index { min-width: 0; padding: 0; margin: 0; list-style: none; }
.ed-index li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid #17374737; }
.ed-index li:last-child { border-bottom: 1px solid #17374737; }
.ed-index li > span { color: #8c5b06; font-size: 1.43rem; line-height: 1; font-weight: 820; }
.ed-index h3 { margin: 0; color: inherit; font-size: 1.2rem; line-height: 1.25; }
.ed-index p { margin: 8px 0 10px; color: #465a66; }
.ed-index small, .ed-feature small, .ed-story-grid small, .ed-contact-details small { display: block; margin-bottom: 6px; font-weight: 800; text-transform: uppercase; font-size: .72rem; }
.ed-index-roomy li { padding-block: 23px; }
.ed-index-roomy div > a, .ed-story-grid a > span { font-weight: 820; color: #145d4a; text-underline-offset: .22em; }
.ed-index a:hover, .ed-story-grid a:hover h3, .ed-feature a:hover h3 { text-decoration: underline; text-underline-offset: .18em; }
.ed-dark .ed-index li { border-color: #e3eef239; }
.ed-dark .ed-index li > span, .ed-dark .ed-index small { color: #f3c568; }
.ed-network { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 35px; padding-top: 25px; margin-top: 35px; border-top: 1px solid #cec9be; }
.ed-network p { color: #536371; margin: 6px 0 0; font-size: .88rem; }
.ed-network ul { display: flex; flex-wrap: wrap; align-content: start; gap: 7px 17px; padding: 0; margin: 0; list-style: none; font-size: .87rem; }
.ed-network li::before { content: ""; display: inline-block; width: 4px; height: 4px; background: #a57218; margin: 0 6px 3px 0; }
.ed-intelligence { background: linear-gradient(123deg,#102737 62%,#164155); }
.ed-intel-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; }
.ed-feature { min-width: 0; }
.ed-feature a { display: grid; min-height: 390px; isolation: isolate; position: relative; align-items: end; overflow: hidden; border-radius: 8px; }
.ed-feature a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 18%, #09253525 38%,#0a1f2f 100%); z-index: -1; }
.ed-feature img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ed-feature a > div { padding: 26px; color: #fff; }
.ed-feature h3 { font-size: 1.85rem; line-height: 1.1; margin: 7px 0 13px; max-width: 21ch; }
.ed-feature small, .ed-feature a > div > span { color: #f5c77a; font-weight: 770; }
.ed-profiles .ed-photo { height: 425px; }
.ed-profiles-list { border-top: 1px solid #c9c6bd; }
.ed-profiles-list details { border-bottom: 1px solid #c9c6bd; }
.ed-profiles-list summary, .ed-toc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; font-weight: 800; }
.ed-profiles-list summary { min-height: 57px; }
.ed-profiles-list summary::-webkit-details-marker, .ed-toc summary::-webkit-details-marker { display: none; }
.ed-profiles-list summary::after, .ed-toc summary::after { content: "+"; flex: none; color: #92620f; font-size: 1.28rem; }
.ed-profiles-list details[open] summary::after, .ed-toc[open] summary::after { content: "−"; }
.ed-profiles-list p { margin: 0 22px 17px 0; color: #465a66; }
.ed-decision { position: relative; isolation: isolate; overflow: hidden; }
.ed-decision > img { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 57%; height: 100%; object-fit: cover; clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%); }
.ed-decision::after { content: ""; position: absolute; z-index: -1; inset: 0 0 0 44%; pointer-events: none; background: linear-gradient(108deg, #102737 2%, #10273719 72%); }
.ed-decision .ed-copy > :is(h2,p) { max-width: min(47%, 33ch); }
.ed-decision .btn, .ed-library-feature .btn { margin-top: 7px; }
.ed-about { background: #faf9f6; }
.ed-portrait { margin: 0; }
.ed-portrait > div { position: relative; max-width: 455px; background: #102737; clip-path: polygon(0 0, 100% 0, 100% 76%, 77% 100%, 0 100%); }
.ed-portrait > div::after { content: ""; position: absolute; inset: 17px; border: 1px solid #facd7c; pointer-events: none; }
.ed-portrait img { display: block; width: 100%; height: auto; }
.ed-portrait figcaption { display: grid; gap: 3px; margin-top: 14px; padding-left: 14px; border-left: 2px solid #d39a2a; }
.ed-portrait figcaption span { color: #536371; }
.ed-legal { margin-top: 24px; padding: 16px 0 0; border-top: 1px solid #c7bdab; }
.ed-legal p { margin: 6px 0 0; color: #465a66; font-size: .92rem; }
.ed-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.ed-story-grid a { display: grid; grid-template-rows: auto auto 1fr auto; gap: 9px; border-bottom: 1px solid #bdbab0; padding-bottom: 19px; }
.ed-story-grid img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 83%, 89% 100%, 0 100%); }
.ed-story-grid small { margin: 4px 0 0; color: #176047; }
.ed-story-grid h3 { margin: 0; font-size: 1.24rem; line-height: 1.25; }
.ed-contact { background: linear-gradient(123deg,#102737 57%,#173e50); padding-block: 66px; }
.ed-actions { display: flex; gap: 17px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.ed-text-link { color: #f3c568; font-weight: 780; }
.ed-text-link:hover, .ed-contact-details a:hover { text-decoration: underline; }
.ed-contact-details { font-style: normal; display: grid; gap: 15px; min-width: 0; padding-left: 30px; border-left: 1px solid #f2bc5675; }
.ed-contact-details div + div { border-top: 1px solid #fff3; padding-top: 12px; }
.ed-contact-details small { color: #f3c568; }
.ed-contact-details a { display: block; color: #fff; overflow-wrap: anywhere; }
.ed-contact-details p { margin: 0; }
.editorial-home .footer.ed-site-footer { background: #081e2c; }
.ed-site-footer .footer-grid { border-top: 0; padding-top: 0; }
.ed-feature img, .ed-story-grid img { transition: filter .24s ease; }
.ed-feature a:hover img, .ed-story-grid a:hover img { filter: brightness(1.09); }
@media (prefers-reduced-motion: reduce) {
  .ed-feature img, .ed-story-grid img { transition: none; }
}
.editorial-home .quote-dialog { border: 0; border-radius: 16px; }
.editorial-home .diagnostic-aside {
  background: linear-gradient(172deg, #102737 52%, #102737f0 70%, #1027377d), url("./editorial-terminal.webp") center bottom / auto 45% no-repeat, #102737;
}
.editorial-home .diagnostic-aside::before { content: ""; position: absolute; inset: auto 0 19% 25%; height: 24%; pointer-events: none; border-top: 1px solid #e4ad4875; border-radius: 72% 0 0 0; }
.editorial-home .quote-dialog :is(.diagnostic-main, .direct-quote-main) { background: #faf9f6; }
.editorial-home .direct-quote-option, .editorial-home .diagnostic-choice { background: #fff; border-color: #d9d6ca; }
.editorial-home .direct-quote-option.selected, .editorial-home .diagnostic-choice.selected { background: #e6f0ea; }
.editorial-home .diagnostic-welcome-eyebrow { border-color: #c9ded4; background: #e7f1eb; }

/* The library, news features and guides share the architectural crops of the home. */
.ed-library-feature { padding-block: 40px; }
.ed-library-feature .ed-photo { height: 265px; }
.ed-library-feature h2 { max-width: 16ch; }
body .editorial-pillars { margin-block: 40px 0; position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); }
body .editorial-pillars article { border: 0; border-top: 1px solid #a57625; background: transparent; box-shadow: none; border-radius: 0; padding: 18px 0; }
body .post-list { margin-top: 25px; }
.ed-library-tools { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 12px 20px; align-items: end; margin: 24px 0 29px; border-block: 1px solid #cdc8bd; padding: 15px 0; }
.ed-library-tools label { display: grid; gap: 5px; font-weight: 750; font-size: .84rem; }
.ed-library-tools :is(input,select) { width: 100%; min-height: 43px; border: 1px solid #aeb3ae; border-radius: 7px; background: #fff; color: #102737; padding: 8px 10px; font: inherit; }
.ed-library-tools p { min-width: 8ch; color: #465a66; font-size: .83rem; margin: 0 0 12px; }
.ed-library-tools[hidden], .posts-grid .post-card[hidden] { display: none !important; }
body .posts-grid .post-card { border: 0; border-bottom: 1px solid #c9c6bd; background: transparent; border-radius: 0; box-shadow: none; }
body .posts-grid .post-card > a { height: 100%; padding: 0 0 18px; }
body .posts-grid .post-card > a > :is(span,h2,p,small) { margin-inline: 0; }
body .posts-grid .post-card img { aspect-ratio: 16/10; height: auto; clip-path: polygon(0 0, 100% 0, 100% 83%, 89% 100%, 0 100%); }

body .article-main:has(.ed-article-mast) { grid-column: 1 / -1; min-width: 0; background: none; border: 0; box-shadow: none; overflow: visible; }
.ed-article-mast { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch; min-width: 0; background: #ede9e1; position: relative; margin-bottom: 35px; }
.ed-article-mast::before { content: ""; position: absolute; inset: 0 0 0 63%; background: #102737; clip-path: polygon(30% 0, 100% 0, 100% 68%, 0 100%); }
.ed-article-mast .article-head { position: relative; padding: 27px 0 27px 26px; z-index: 1; }
.ed-article-mast .article-meta { margin-top: 0; gap: 6px; }
.ed-article-mast .article-head h1 { font-size: 2.65rem; line-height: 1.08; text-wrap: balance; overflow-wrap: anywhere; }
.ed-article-mast .article-head p { font-size: 1rem; }
.ed-article-mast .author-row { padding-top: 12px; margin-top: 20px; }
.ed-article-image { position: relative; margin: 0; min-width: 0; min-height: 340px; clip-path: polygon(34% 0, 100% 0, 100% 100%, 4% 100%, 0 80%); }
.ed-article-image::after { content: ""; position: absolute; inset: 14px 0 0 29%; border-top: 1px solid #efbe5b; pointer-events: none; }
body .ed-article-image .article-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.ed-article-image .article-image-credit { position: absolute; bottom: 9px; right: 10px; margin: 0; padding: 4px 8px; color: #fff; background: #102737e8; border-radius: 4px; font-size: .73rem; }
.ed-reading-grid { display: grid; grid-template-columns: minmax(0, 235px) minmax(0, 750px); gap: 36px; justify-content: center; align-items: start; }
.ed-toc { min-width: 0; padding: 13px 16px 15px; border-top: 2px solid #d7a038; background: #eae5da; }
.ed-reading-grid .ed-toc { position: sticky; top: 102px; max-height: calc(100dvh - 123px); overflow: auto; }
.ed-toc ol { margin: 12px 0 0; padding-left: 19px; font-size: .89rem; }
.ed-toc li + li { margin-top: 7px; }
.ed-toc a { text-decoration: underline; text-underline-offset: .17em; }
.ed-reading-grid .article-body { padding: 0; }
.ed-reading-grid .article-block { border-color: #d1cbbf; }
.ed-reading-grid .article-block h2, article.content h2 { scroll-margin-top: 112px; }
.article-shell > .sidebar { position: static; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #d1cbbf; padding-top: 21px; }
.article-shell .article-tags { margin-top: 24px; }
body:not(.editorial-home) > main .hero.ed-intel-mast { min-height: 430px; display: flex; align-items: center; padding-block: 55px; }
body:not(.editorial-home) > main .hero.ed-intel-mast::before { display: none; }
.ed-intel-photo { position: absolute; inset: 0 0 0 47%; z-index: -1; background: #102737; clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%); }
.ed-intel-photo img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(47% 5%, 100% 0, 100% 100%, 0 100%); }
body .ed-intel-mast h1 { font-size: 2.9rem; max-width: min(51%, 19ch); }
body .ed-intel-mast p { max-width: min(48%, 45ch); }
body .article-grid .content { background: none; border: 0; box-shadow: none; padding: 0 30px 0 0; }
.content .ed-toc { margin-bottom: 28px; }
body:not(.editorial-home) .footer .footer-cta { background: transparent; border: 0; border-bottom: 1px solid #d4a44475; border-radius: 0; padding-inline: 0; }
body .footer .footer-lines a { overflow-wrap: anywhere; }
.editorial-links .page { position: relative; isolation: isolate; }
.ed-links-photo { display: none; }
@media (min-width: 850px) {
  .editorial-links .page { justify-content: start; padding-left: max(5%, calc((100% - 1100px)/2)); }
  .editorial-links .phone-shell { position: relative; max-width: 470px; background: #fffffff2; }
  .ed-links-photo { display: block; position: absolute; inset: 0 0 0 38%; z-index: -1; background: #102737 url("./editorial-terminal.webp") center / cover; clip-path: polygon(44% 0, 100% 0, 100% 100%, 0 100%); }
  .ed-links-photo::after { content: ""; position: absolute; inset: 32px 0 0 42%; border-top: 1px solid #f2bb5a; }
}

@media (max-width: 1050px) {
  .ed-split, .ed-intro { gap: 30px; }
  .ed-article-mast .article-head h1, body .ed-intel-mast h1 { font-size: 2.3rem; }
}
@media (max-width: 760px) {
  .ed-band { padding-block: 48px; }
  .ed-band h2, .ed-library-feature h2 { font-size: 2rem; }
  .ed-split, .ed-intro, .ed-intel-grid, .ed-network { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ed-intro { margin-bottom: 20px; }
  .ed-intro :is(p, .btn) { justify-self: start; margin: 0; }
  .ed-profiles .ed-copy { grid-row: 1; }
  .ed-about .ed-copy { grid-row: 1; }
  .ed-profiles .ed-photo, .ed-compare .ed-photo { height: 226px; }
  .ed-feature a { min-height: 290px; }
  .ed-feature h3 { font-size: 1.55rem; }
  .ed-decision > img { position: relative; inset: auto; width: 100%; height: 200px; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); margin: 0 0 20px; }
  .ed-decision::after { display: none; }
  .ed-decision .ed-copy > :is(h2,p) { max-width: 100%; }
  .ed-contact-details { padding-left: 0; border-left: 0; border-top: 1px solid #f2bc5675; padding-top: 16px; }
  .ed-story-grid, body .editorial-pillars, .article-shell > .sidebar, .ed-reading-grid { grid-template-columns: minmax(0, 1fr); }
  .ed-article-mast { grid-template-columns: minmax(0, 1fr); }
  .ed-article-mast::before { inset: auto 0 0; height: 175px; }
  .ed-article-mast .article-head { padding: 18px; }
  .ed-article-mast .article-head h1, body .ed-intel-mast h1 { font-size: 1.95rem; }
  .ed-article-image { min-height: 208px; clip-path: polygon(14% 0,100% 0,100% 100%,0 100%,0 27%); }
  .ed-reading-grid .ed-toc { position: static; max-height: none; }
  body .article-grid .content { padding: 0; }
  body:not(.editorial-home) > main .hero.ed-intel-mast { min-height: 0; display: grid; padding: 33px 0 0; }
  body .ed-intel-mast :is(h1,p) { max-width: none; }
  .ed-intel-photo { grid-row: 2; position: relative; inset: auto; height: 212px; margin-top: 22px; clip-path: polygon(14% 0,100% 0,100% 100%,0 100%,0 26%); }
  .ed-intel-photo img { clip-path: none; }
  .ed-library-tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ed-library-tools p { grid-column: 1 / -1; margin: 0; }
  .editorial-home .diagnostic-aside { background: #102737; }
  .editorial-home .diagnostic-aside::before { display: none; }
}
@media (max-width: 470px) {
  .ed-library-tools { grid-template-columns: minmax(0, 1fr); }
  .ed-feature a > div { padding: 17px; }
}
