/* Scoped to the publication; selectors match the child theme's root specificity. */
:is(:root, #tws-root) :is(body, #tws-body) {
  & .elementor-408 .elementor-element-b9cf3e0 { padding:0; border:0 !important; box-shadow:none !important; background:transparent !important; }
  & .tws-reader-header-search { min-width:0; width:100%; }
  & .tws-reader-search-form { display:flex; align-items:center; width:100%; max-width:44rem; margin:0; padding:0; border:1px solid #b7b1a8; border-radius:8px; background:#fcfbf9; box-sizing:border-box; }
  & .tws-reader-search-form input { flex:1 1 auto; width:0; min-width:0; height:44px; margin:0; padding:10px 12px; border:0; border-radius:8px; background:transparent; color:#27231f; font:400 16px/1.5 Inter, sans-serif; box-shadow:none; }
  & .tws-reader-search-form input::placeholder { color:#625a52; opacity:1; }
  & .tws-reader-search-form button { display:flex; align-items:center; justify-content:center; flex:0 0 46px; width:46px; min-height:44px; padding:10px; border:0; border-radius:0 7px 7px 0; background:transparent; color:#214f42; }
  & .tws-reader-search-form:focus-within { outline:3px solid #146c55; outline-offset:2px; }
  & .tws-reader-search-form input:focus { outline:none; }
  & .tws-reader-search-form button:hover { background:#e9eee9; }
  & .tws-reader-results { max-width:1120px; margin:auto; padding:40px 24px 56px; }
  & .tws-reader-results h1 { margin:8px 0 24px; font:750 clamp(1.7rem,3.5vw,2.5rem)/1.2 Inter,sans-serif; color:#191512; overflow-wrap:anywhere; }
  & .tws-reader-results p { line-height:1.65; color:#49423b; }
  & .tws-reader-eyebrow { margin:0 0 8px; font:650 12px/1.5 Inter,sans-serif; letter-spacing:.07em; text-transform:uppercase; color:#4b5b50; }
  & .tws-reader-result-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:24px 0; }
  & .tws-reader-result-card { display:flex; flex-direction:column; align-items:flex-start; gap:12px; padding:24px; background:#faf8f3; border:1px solid #d9d2c6; border-radius:10px; min-width:0; }
  & .tws-reader-result-card h2 { margin:0; font:700 21px/1.35 Inter,sans-serif; }
  & .tws-reader-result-card h2 a { color:#191512; text-decoration:none; }
  & .tws-reader-result-card p { margin:0; }
  & .tws-reader-open { margin-top:auto; padding:8px 0; min-height:44px; color:#105c48; text-decoration:underline; font-weight:650; }
  & .tws-reader-result-card h2 a:hover { text-decoration:underline; }
  & .tws-reader-topic-links { display:flex; flex-wrap:wrap; gap:12px 24px; padding-top:20px; border-top:1px solid #d9d2c6; }
  & .tws-reader-topic-links a, & .tws-reader-pagination a { display:inline-flex; align-items:center; min-height:44px; color:#105c48; }
  & .tws-reader-pagination ul { display:flex; flex-wrap:wrap; gap:8px; padding:0; margin:24px 0; list-style:none; }
  & .tws-reader-pagination li { margin:0; padding:0; }
  & .tws-reader-pagination .page-numbers { display:flex; justify-content:center; align-items:center; min-width:44px; min-height:44px; padding:8px 12px; border:1px solid #b7b1a8; border-radius:6px; }
  & .tws-reader-pagination .current { background:#105c48; color:white; }
  & .tws-reader-empty { margin:28px 0; padding:24px; border:1px solid #d9d2c6; border-radius:8px; background:#faf8f3; }
  & .tws-reader-results a:focus-visible, & .tws-reader-search-form button:focus-visible, & .tws-desk-jump a:focus-visible, & .tws-reader-quicknav a:focus-visible { outline:3px solid #146c55; outline-offset:3px; }
  & .elementor-location-footer #tws-privacy-trigger { color:#e5ddd0; font-size:14px; min-height:44px; padding:8px 4px; }
  & .elementor-848 .elementor-element-657b0a7 .elementor-shape { display:none; }
  & .elementor-848 :is(.tws-research-feature,.tws-lab-feature) { max-width:1120px; margin-inline:auto; }
  & .elementor-848 :is(.tws-research-feature,.tws-lab-feature) p { max-width:76ch; }
  /* Bring the publication's original work into view and restore hero contrast. */
  & .elementor-848 .elementor-element-657b0a7 { padding:44px 24px 32px; }
  & .elementor-848 .elementor-element-657b0a7 > .e-con-inner { padding:0; gap:20px; }
  & .home-hero-description { padding:0; max-width:760px; margin-inline:auto; }
  & .home-hero-description .elementor-heading-title { color:#e8e1d6 !important; font-size:18px !important; line-height:1.65 !important; font-weight:400 !important; }
  & .elementor-848 .elementor-element-43564a4 { padding:0; margin-top:0; }
  & .elementor-848 .elementor-element-f8babc6 { padding:0; margin:0; }
  & .hero-search-wrapper { width:100%; }
  & .hero-split-search { margin-bottom:16px; }
  & .hero-trending-links, & .hero-trending-links a, & .tws-verified-browse { color:#ded6ca; }
  & .hero-trending-links { margin-top:0; }
  /* Reduce article furniture without removing dates, attribution or AI disclosure. */
  & .elementor-1078 .elementor-element-df83972 > .e-con-inner { padding-top:24px; padding-bottom:0; }
  & .elementor-1078 .elementor-element-a6188a8 > .e-con-inner { padding-top:20px; }
  & .elementor-1078 .elementor-element-9f9bc43 { gap:16px; }
  & .tws-article-contents-widget details { margin:0; }
  & .tws-hero-meta-post-panel { padding:12px 16px; }
  /* An editorial desk uses an icon, rather than a portrait-sized empty frame. */
  & .curator-hero-section { gap:28px; padding-block:28px; }
  & .tws-desk-identity { width:140px; flex:0 0 140px; padding:0; gap:10px; }
  & .curator-hero-section .curator-photo { inline-size:112px; max-inline-size:112px; block-size:112px; aspect-ratio:1; border-radius:20px; }
  & .curator-hero-section .curator-photo img[src*="/icon-"] { width:64px; height:64px; max-width:64px; object-fit:contain; }
  & .tws-desk-intro { flex:1; width:auto; min-width:0; padding:0; gap:16px; }
  & .tws-desk-heading { gap:12px; }
  & .curator-manifesto { padding:12px 16px; }
  & .tws-desk-jump a { display:inline-flex; align-items:center; min-height:44px; padding:8px 14px; border:1px solid #a9b7ad; border-radius:6px; color:#105c48; font-weight:650; text-decoration:underline; }
  & .tws-desk-guides { scroll-margin-top:24px; }
  /* Keep the guide catalogue near the top; tools remain one explicit jump away. */
  & .tws-reader-feature { padding:20px; background:#f4f1e9; border:1px solid #d9d2c6; border-radius:10px; }
  & .tws-reader-feature h2 { margin:0 0 10px; font:700 clamp(1.25rem,2vw,1.65rem)/1.35 Inter,sans-serif; }
  & .tws-reader-feature h2 a { color:#193c30; text-decoration:underline; }
  & .tws-reader-feature p:last-child { margin:0; line-height:1.6; }
  & .tws-reader-quicknav { display:flex; flex-wrap:wrap; gap:8px 20px; }
  & .tws-reader-quicknav a { display:inline-flex; align-items:center; min-height:44px; color:#105c48; text-decoration:underline; font-weight:650; }
  &.page-id-1510 .elementor-element-61fccd3 > .e-con-inner { padding-top:28px; padding-bottom:16px; }
  &.page-id-1510 .elementor-element-9c407f9 { gap:16px; }
  &.page-id-1510 .tws-native-topics { padding-inline:24px; }
  &.page-id-1510 .tws-native-topics > .e-con-inner { width:100%; max-width:1180px; padding:8px 0 0; align-items:stretch; }
  &.page-id-1510 .tws-native-topics .elementor-widget-html { width:100%; }
  &.page-id-1510 .elementor-element-6c91e3d > .e-con-inner { padding-top:16px; }
  & #all-guides, & #decision-tools { scroll-margin-top:24px; }
  @media (max-width:767px) {
    & .elementor-location-footer { padding-bottom:64px; background:#191512; }
    & .tws-reader-results { padding:28px 20px 40px; }
    & .tws-reader-result-grid { grid-template-columns:1fr; }
    & .tws-reader-result-card { padding:20px; }
    & .elementor-848 .elementor-element-657b0a7 { padding:28px 20px; }
    & .elementor-848 .elementor-element-657b0a7 > .e-con-inner { gap:16px; }
    & .home-hero-description .elementor-heading-title { font-size:17px !important; line-height:1.6 !important; }
    & .hero-split-search { flex-direction:row; gap:6px; padding:6px; border-radius:12px; }
    & .hero-split-search .keyword-group { width:auto; min-width:0; flex:1 1 auto; padding-inline:6px; gap:6px; }
    & .hero-split-search .search-submit-btn { width:auto; flex:0 0 auto; padding:12px 14px; min-height:44px; border-radius:8px; }
    & .hero-split-search .search-icon { display:none; }
    & .hero-trending-links { gap:8px; line-height:1.6; }
    & .hero-trending-links .tws-trending-list { gap:8px 12px; }
    & .elementor-1078 .elementor-element-df83972 > .e-con-inner { padding-top:16px; padding-bottom:0; }
    & .elementor-1078 .elementor-element-a6188a8 > .e-con-inner { padding-top:16px; }
    & .elementor-1078 .elementor-element-9f9bc43 { gap:14px; }
    & .tws-hero-meta-post-panel { padding:12px; }
    & .tws-meta-post-body { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 6px; }
    & .tws-meta-post-group { min-width:0; justify-content:flex-start; width:auto; }
    & .tws-meta-post-link { grid-column:1 / -1; justify-content:flex-start; }
    & .tws-meta-post-avatar { width:30px; height:30px; }
    & .tws-meta-post-stack { align-items:flex-start; text-align:left; }
    & .tws-meta-post-value, & .tws-meta-post-value time { white-space:normal; font-size:13px; }
    & .tws-meta-post-label { font-size:11px; }
    & .tws-meta-post-divider { display:none; }
    & .curator-hero-section { gap:16px; padding:24px 20px; align-items:stretch; }
    & .tws-desk-identity { flex:0 0 auto; width:100%; flex-direction:row; align-items:center; justify-content:flex-start; gap:12px; }
    & .curator-hero-section .curator-photo { flex:0 0 64px; inline-size:64px; max-inline-size:64px; block-size:64px; margin:0; border-radius:12px; }
    & .curator-hero-section .curator-photo img[src*="/icon-"] { width:40px; height:40px; max-width:40px; }
    & .tws-desk-identity .elementor-widget { width:auto; }
    & .tws-desk-intro { padding:0; gap:14px; }
    & .tws-desk-heading { flex-direction:row; align-items:flex-start; justify-content:space-between; }
    & .tws-desk-heading .curator-name { width:auto; flex:1; text-align:left; }
    & .tws-desk-heading .elementor-widget-shortcode { width:44px; flex:0 0 44px; }
    & .tws-desk-heading .curator-share-trigger { min-width:44px; min-height:44px; }
    & .curator-manifesto { padding:10px 12px; }
    & .tws-reader-feature { padding:16px; }
    & .tws-reader-feature p:last-child { font-size:15px; }
    &.page-id-1510 .elementor-element-61fccd3 > .e-con-inner { padding-top:24px; }
  }
}

/* Composition pass: clear primary tasks and shorter routes through the publication. */
:is(:root, #tws-root) :is(body, #tws-body) {
  & .twsc-library-link { text-align:center; padding:12px 0; }
  & .twsc-library-link a { display:inline-flex; min-height:44px; align-items:center; padding:8px 16px; color:#105c48; font-weight:650; text-decoration:underline; }
  & .twsc-sector-section > .e-con-inner { padding-block:32px; }
  & .twsc-sector-section .elementor-widget-html { width:100%; }
  & .twsc-sectors h2 { margin:0 0 12px; font-size:clamp(1.5rem,3vw,2rem); }
  & .twsc-sectors > p { margin:0 0 24px; max-width:65ch; line-height:1.65; }
  & .twsc-sector-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
  & .twsc-sector-grid > a { display:flex; flex-direction:column; position:relative; padding:22px; gap:10px; background:#faf8f3; border:1px solid #cfc7b9; border-radius:10px; color:#27231f; text-decoration:none; }
  & .twsc-sector-grid strong { font-size:18px; line-height:1.4; }
  & .twsc-sector-grid span { font-size:15px; line-height:1.6; }
  & .twsc-sector-grid .twsc-sector-arrow { color:#105c48; font-size:22px; margin-top:auto; }
  & .twsc-sector-grid a:hover { background:#edf2eb; border-color:#105c48; }
  & :is(.twsc-sector-grid a,.twsc-library-link a):focus-visible { outline:3px solid #146c55; outline-offset:3px; }
  & .blog-card-home { min-block-size:0; }
  & .blog-card-home > .e-con-inner { gap:18px; padding:22px; }
  & .blog-card-home header { gap:12px; }
  & .blog-card-home .elementor-widget-theme-post-excerpt { font-size:15px; line-height:1.65; }
  & .blog-card-home .tws-insight-meta-data { align-items:flex-start; gap:8px; }
  & .blog-card-home .tws-insight-meta-data .elementor-post-info { justify-content:flex-start; }
  & .twsc-desk-byline { margin:0; font-size:14px; line-height:1.65; color:#49423b; }
  & .twsc-desk-byline a { color:#105c48; text-decoration:underline; }
  & .twsc-editorial-disclosure { margin:0; padding:16px 20px; border:1px solid #cfc7b9; border-radius:8px; background:#faf8f3; }
  & .twsc-editorial-disclosure summary { cursor:pointer; font-weight:650; line-height:1.55; }
  & .twsc-editorial-disclosure[open] summary { margin-bottom:16px; }
  & .twsc-page-contents { margin:24px 0; padding:16px 20px; border:1px solid #cfc7b9; border-radius:8px; background:#faf8f3; }
  & .twsc-page-contents summary { cursor:pointer; font-weight:650; }
  & .twsc-page-contents nav ul { padding-left:22px; margin:12px 0 0; }
  & .twsc-page-contents a { display:inline-flex; align-items:center; min-height:44px; }
  & .twsc-service-intro > .e-con-inner { padding-block:32px 16px; gap:16px; }
  & .twsc-service-intro h1 { font-size:clamp(2rem,4vw,3rem); }
  & .twsc-contact-form, & .twsc-contact-faq, & .twsc-correction-form { min-width:0; }
  & .twsc-contact-faq .tws-action-wrapper { margin:0; padding:16px 20px; box-shadow:none; border:1px solid #cfc7b9; border-radius:8px; }
  & .twsc-form-note { font-size:14px; line-height:1.65; color:#49423b; }
  @media (max-width:767px) {
    &.home .elementor-element-b9cf3e0 { display:none; }
    & .elementor-menu-toggle { min-width:44px; min-height:44px; justify-content:center; }
    & .twsc-sector-grid { grid-template-columns:1fr; gap:12px; }
    & .twsc-sector-grid > a { padding:18px 44px 18px 18px; gap:6px; }
    & .twsc-sector-grid .twsc-sector-arrow { position:absolute; right:16px; top:18px; }
    & .twsc-service-intro > .e-con-inner { padding:24px 20px 8px; }
    & .twsc-contact-form, & .twsc-contact-faq, & .twsc-correction-form { width:100%; }
    & .elementor-location-footer .elementor-widget-icon-list .elementor-icon-list-items { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:16px; }
    & .elementor-location-footer .elementor-icon-list-item { min-width:0; }
    & .elementor-location-footer .elementor-icon-list-item a { min-height:44px; text-align:left; white-space:normal; }
    & .elementor-location-footer .elementor-icon-list-text { white-space:normal; }
    & .tws-career-lab .tws-lab-lead { font-size:17px !important; line-height:1.6 !important; margin-block:12px; }
    & .tws-career-lab nav { padding:12px; line-height:1.7; }
  }
}

:is(:root, #tws-root) :is(body, #tws-body) {
  & .blog-card-home > .e-con-inner { padding:20px; }
  & .blog-card-home header { padding:0; }
  & .blog-card-home .tws-card-excerpt { margin-top:0; }
  & .blog-card-home .related-blog-post-title .elementor-heading-title { font-size:22px; line-height:1.35; }
  & .blog-card-home .tws-insight-meta-data { padding:0; }
  & .blog-card-home .tws-insight-meta-data > .elementor-widget { display:block; text-align:left; }
  & .blog-card-home .tws-insight-meta-data .elementor-post-info { align-items:flex-start; }
  & .blog-card-home .tws-semantic-date-wrapper { justify-content:flex-start; }
}

/* Tablet navigation remains a compact control rather than a full-width grey strip. */
:is(:root, #tws-root) :is(body, #tws-body) .elementor-menu-toggle {
  width:44px; max-width:44px; min-height:44px; padding:10px; background:transparent;
}
