/* Thinkers directory navigation */
body.page-id-693 .teo-back-link { font-size: 1rem !important; font-weight: 500 !important; }
body.page-id-693 .teo-mode-toggle { display:flex; flex-wrap:nowrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
body.page-id-693 .teo-mode-toggle::before { content:"Filter by"; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; margin-right:.2rem; }
body.page-id-693 .teo-mode-toggle button, body.page-id-693 .teo-topic-options button, body.page-id-693 .teo-name-options button { border-radius:4px !important; }
body.page-id-693 .teo-name-options button { font-weight:400 !important; }
body.page-id-693 .teo-topic-options [data-topic="all"] { order:1; }
body.page-id-693 .teo-topic-options[hidden], body.page-id-693 .teo-name-options[hidden] { display:none !important; }
body.page-id-693 .teo-back-link a { font-size:.9rem !important; font-weight:500 !important; }/* Library thinker filters */
#influential-thinkers [aria-label="Choose how to filter thinkers"] { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before { content:"Filter by"; flex-basis:100%; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
#influential-thinkers [aria-label="Choose how to filter thinkers"] button, #influential-thinkers [aria-label="Choose how to filter thinkers"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by topic"] button, #influential-thinkers [aria-label="Filter thinkers by topic"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { border-radius:4px !important; }
#influential-thinkers [aria-label*="Last names beginning"], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { font-weight:400 !important; }

/* Respect the selected filter mode */
#influential-thinkers .teo-topic-options[hidden],
#influential-thinkers .teo-name-options[hidden] {
  display: none !important;
}

/* Keep the mode label and controls on one line */
#influential-thinkers [aria-label="Choose how to filter thinkers"] {
  flex-wrap: nowrap;
  gap: .65rem;
}
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before {
  flex-basis: auto;
  white-space: nowrap;
}

/* Place All topics after the named topics */
#influential-thinkers .teo-topic-options [data-topic="all"] {
  order: 1;
}
/* Thinkers directory navigation */
body.page-id-693 .teo-back-link { font-size: 1rem !important; font-weight: 500 !important; }
body.page-id-693 .teo-mode-toggle { display:flex; flex-wrap:nowrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
body.page-id-693 .teo-mode-toggle::before { content:"Filter by"; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; margin-right:.2rem; }
body.page-id-693 .teo-mode-toggle button, body.page-id-693 .teo-topic-options button, body.page-id-693 .teo-name-options button { border-radius:4px !important; }
body.page-id-693 .teo-name-options button { font-weight:400 !important; }
body.page-id-693 .teo-topic-options [data-topic="all"] { order:1; }
body.page-id-693 .teo-topic-options[hidden], body.page-id-693 .teo-name-options[hidden] { display:none !important; }
body.page-id-693 .teo-back-link a { font-size:.9rem !important; font-weight:500 !important; }/* Library thinker filters */
#influential-thinkers [aria-label="Choose how to filter thinkers"] { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before { content:"Filter by"; flex-basis:100%; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
#influential-thinkers [aria-label="Choose how to filter thinkers"] button, #influential-thinkers [aria-label="Choose how to filter thinkers"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by topic"] button, #influential-thinkers [aria-label="Filter thinkers by topic"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { border-radius:4px !important; }
#influential-thinkers [aria-label*="Last names beginning"], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { font-weight:400 !important; }

/* Respect the selected filter mode */
#influential-thinkers .teo-topic-options[hidden],
#influential-thinkers .teo-name-options[hidden] {
  display: none !important;
}

/* Keep the mode label and controls on one line */
#influential-thinkers [aria-label="Choose how to filter thinkers"] {
  flex-wrap: nowrap;
  gap: .65rem;
}
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before {
  flex-basis: auto;
  white-space: nowrap;
}

/* Place All topics after the named topics */
#influential-thinkers .teo-topic-options [data-topic="all"] {
  order: 1;
}
/* Thinkers directory navigation */
body.page-id-693 .teo-back-link { font-size: 1rem !important; font-weight: 500 !important; }
body.page-id-693 .teo-mode-toggle { display:flex; flex-wrap:nowrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
body.page-id-693 .teo-mode-toggle::before { content:"Filter by"; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; margin-right:.2rem; }
body.page-id-693 .teo-mode-toggle button, body.page-id-693 .teo-topic-options button, body.page-id-693 .teo-name-options button { border-radius:4px !important; }
body.page-id-693 .teo-name-options button { font-weight:400 !important; }
body.page-id-693 .teo-topic-options [data-topic="all"] { order:1; }
body.page-id-693 .teo-topic-options[hidden], body.page-id-693 .teo-name-options[hidden] { display:none !important; }
body.page-id-693 .teo-back-link a { font-size:.9rem !important; font-weight:500 !important; }/* Library thinker filters */
#influential-thinkers [aria-label="Choose how to filter thinkers"] { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before { content:"Filter by"; flex-basis:100%; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
#influential-thinkers [aria-label="Choose how to filter thinkers"] button, #influential-thinkers [aria-label="Choose how to filter thinkers"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by topic"] button, #influential-thinkers [aria-label="Filter thinkers by topic"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { border-radius:4px !important; }
#influential-thinkers [aria-label*="Last names beginning"], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { font-weight:400 !important; }

/* Respect the selected filter mode */
#influential-thinkers .teo-topic-options[hidden],
#influential-thinkers .teo-name-options[hidden] {
  display: none !important;
}

/* Keep the mode label and controls on one line */
#influential-thinkers [aria-label="Choose how to filter thinkers"] {
  flex-wrap: nowrap;
  gap: .65rem;
}
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before {
  flex-basis: auto;
  white-space: nowrap;
}

/* Place All topics after the named topics */
#influential-thinkers .teo-topic-options [data-topic="all"] {
  order: 1;
}

/* Models & Frameworks filter navigation */
body.page-id-648 .teo-mode-toggle { display:flex !important; flex-wrap:nowrap !important; align-items:center; gap:.4rem !important; margin:1rem 0 .6rem !important; padding:.45rem .55rem !important; width:fit-content; border:1px solid #d9cec1 !important; background:#fffdf9 !important; }
body.page-id-648 .teo-mode-toggle::before { content:"Filter by"; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; margin-right:.2rem; }
body.page-id-648 .teo-mode-toggle button, body.page-id-648 .teo-topic-options button { border-radius:4px !important; }
body.page-id-648 .teo-name-options button { border-radius:50% !important; font-weight:400 !important; }
body.page-id-648 .teo-topic-options [data-topic="all"] { order:1; }
body.page-id-648 .teo-topic-options[hidden], body.page-id-648 .teo-name-options[hidden] { display:none !important; }

/* Thinkers directory navigation */
body.page-id-693 .teo-back-link { font-size: 1rem !important; font-weight: 500 !important; }
body.page-id-693 .teo-mode-toggle { display:flex; flex-wrap:nowrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
body.page-id-693 .teo-mode-toggle::before { content:"Filter by"; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; margin-right:.2rem; }
body.page-id-693 .teo-mode-toggle button, body.page-id-693 .teo-topic-options button, body.page-id-693 .teo-name-options button { border-radius:4px !important; }
body.page-id-693 .teo-name-options button { font-weight:400 !important; }
body.page-id-693 .teo-topic-options [data-topic="all"] { order:1; }
body.page-id-693 .teo-topic-options[hidden], body.page-id-693 .teo-name-options[hidden] { display:none !important; }
body.page-id-693 .teo-back-link a { font-size:.9rem !important; font-weight:500 !important; }/* Library thinker filters */
#influential-thinkers [aria-label="Choose how to filter thinkers"] { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before { content:"Filter by"; flex-basis:100%; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
#influential-thinkers [aria-label="Choose how to filter thinkers"] button, #influential-thinkers [aria-label="Choose how to filter thinkers"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by topic"] button, #influential-thinkers [aria-label="Filter thinkers by topic"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { border-radius:4px !important; }
#influential-thinkers [aria-label*="Last names beginning"], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { font-weight:400 !important; }

/* Respect the selected filter mode */
#influential-thinkers .teo-topic-options[hidden],
#influential-thinkers .teo-name-options[hidden] {
  display: none !important;
}

/* Keep the mode label and controls on one line */
#influential-thinkers [aria-label="Choose how to filter thinkers"] {
  flex-wrap: nowrap;
  gap: .65rem;
}
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before {
  flex-basis: auto;
  white-space: nowrap;
}

/* Place All topics after the named topics */
#influential-thinkers .teo-topic-options [data-topic="all"] {
  order: 1;
}

/* Compact back link on people and model reference pages */
body.page-child.parent-pageid-651 .teo-back-link a { font-size:13px !important; font-weight:650 !important; text-decoration:none !important; }

/* Thinkers directory navigation */
body.page-id-693 .teo-back-link { font-size: 1rem !important; font-weight: 500 !important; }
body.page-id-693 .teo-mode-toggle { display:flex; flex-wrap:nowrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
body.page-id-693 .teo-mode-toggle::before { content:"Filter by"; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; margin-right:.2rem; }
body.page-id-693 .teo-mode-toggle button, body.page-id-693 .teo-topic-options button, body.page-id-693 .teo-name-options button { border-radius:4px !important; }
body.page-id-693 .teo-name-options button { font-weight:400 !important; }
body.page-id-693 .teo-topic-options [data-topic="all"] { order:1; }
body.page-id-693 .teo-topic-options[hidden], body.page-id-693 .teo-name-options[hidden] { display:none !important; }
body.page-id-693 .teo-back-link a { font-size:.9rem !important; font-weight:500 !important; }/* Library thinker filters */
#influential-thinkers [aria-label="Choose how to filter thinkers"] { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before { content:"Filter by"; flex-basis:100%; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
#influential-thinkers [aria-label="Choose how to filter thinkers"] button, #influential-thinkers [aria-label="Choose how to filter thinkers"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by topic"] button, #influential-thinkers [aria-label="Filter thinkers by topic"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { border-radius:4px !important; }
#influential-thinkers [aria-label*="Last names beginning"], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { font-weight:400 !important; }

/* Respect the selected filter mode */
#influential-thinkers .teo-topic-options[hidden],
#influential-thinkers .teo-name-options[hidden] {
  display: none !important;
}

/* Keep the mode label and controls on one line */
#influential-thinkers [aria-label="Choose how to filter thinkers"] {
  flex-wrap: nowrap;
  gap: .65rem;
}
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before {
  flex-basis: auto;
  white-space: nowrap;
}

/* Place All topics after the named topics */
#influential-thinkers .teo-topic-options [data-topic="all"] {
  order: 1;
}
/* Thinkers directory navigation */
body.page-id-693 .teo-back-link { font-size: 1rem !important; font-weight: 500 !important; }
body.page-id-693 .teo-mode-toggle { display:flex; flex-wrap:nowrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
body.page-id-693 .teo-mode-toggle::before { content:"Filter by"; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; margin-right:.2rem; }
body.page-id-693 .teo-mode-toggle button, body.page-id-693 .teo-topic-options button, body.page-id-693 .teo-name-options button { border-radius:4px !important; }
body.page-id-693 .teo-name-options button { font-weight:400 !important; }
body.page-id-693 .teo-topic-options [data-topic="all"] { order:1; }
body.page-id-693 .teo-topic-options[hidden], body.page-id-693 .teo-name-options[hidden] { display:none !important; }
body.page-id-693 .teo-back-link a { font-size:.9rem !important; font-weight:500 !important; }/* Library thinker filters */
#influential-thinkers [aria-label="Choose how to filter thinkers"] { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before { content:"Filter by"; flex-basis:100%; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
#influential-thinkers [aria-label="Choose how to filter thinkers"] button, #influential-thinkers [aria-label="Choose how to filter thinkers"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by topic"] button, #influential-thinkers [aria-label="Filter thinkers by topic"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { border-radius:4px !important; }
#influential-thinkers [aria-label*="Last names beginning"], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { font-weight:400 !important; }

/* Respect the selected filter mode */
#influential-thinkers .teo-topic-options[hidden],
#influential-thinkers .teo-name-options[hidden] {
  display: none !important;
}

/* Keep the mode label and controls on one line */
#influential-thinkers [aria-label="Choose how to filter thinkers"] {
  flex-wrap: nowrap;
  gap: .65rem;
}
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before {
  flex-basis: auto;
  white-space: nowrap;
}

/* Place All topics after the named topics */
#influential-thinkers .teo-topic-options [data-topic="all"] {
  order: 1;
}
/* Thinkers directory navigation */
body.page-id-693 .teo-back-link { font-size: 1rem !important; font-weight: 500 !important; }
body.page-id-693 .teo-mode-toggle { display:flex; flex-wrap:nowrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
body.page-id-693 .teo-mode-toggle::before { content:"Filter by"; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; margin-right:.2rem; }
body.page-id-693 .teo-mode-toggle button, body.page-id-693 .teo-topic-options button, body.page-id-693 .teo-name-options button { border-radius:4px !important; }
body.page-id-693 .teo-name-options button { font-weight:400 !important; }
body.page-id-693 .teo-topic-options [data-topic="all"] { order:1; }
body.page-id-693 .teo-topic-options[hidden], body.page-id-693 .teo-name-options[hidden] { display:none !important; }
body.page-id-693 .teo-back-link a { font-size:.9rem !important; font-weight:500 !important; }/* Library thinker filters */
#influential-thinkers [aria-label="Choose how to filter thinkers"] { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before { content:"Filter by"; flex-basis:100%; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
#influential-thinkers [aria-label="Choose how to filter thinkers"] button, #influential-thinkers [aria-label="Choose how to filter thinkers"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by topic"] button, #influential-thinkers [aria-label="Filter thinkers by topic"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { border-radius:4px !important; }
#influential-thinkers [aria-label*="Last names beginning"], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { font-weight:400 !important; }

/* Respect the selected filter mode */
#influential-thinkers .teo-topic-options[hidden],
#influential-thinkers .teo-name-options[hidden] {
  display: none !important;
}

/* Keep the mode label and controls on one line */
#influential-thinkers [aria-label="Choose how to filter thinkers"] {
  flex-wrap: nowrap;
  gap: .65rem;
}
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before {
  flex-basis: auto;
  white-space: nowrap;
}

/* Place All topics after the named topics */
#influential-thinkers .teo-topic-options [data-topic="all"] {
  order: 1;
}

/* Models & Frameworks filter navigation */
/* Thinkers directory navigation */
body.page-id-693 .teo-back-link { font-size: 1rem !important; font-weight: 500 !important; }
body.page-id-693 .teo-mode-toggle { display:flex; flex-wrap:nowrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
body.page-id-693 .teo-mode-toggle::before { content:"Filter by"; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; margin-right:.2rem; }
body.page-id-693 .teo-mode-toggle button, body.page-id-693 .teo-topic-options button, body.page-id-693 .teo-name-options button { border-radius:4px !important; }
body.page-id-693 .teo-name-options button { font-weight:400 !important; }
body.page-id-693 .teo-topic-options [data-topic="all"] { order:1; }
body.page-id-693 .teo-topic-options[hidden], body.page-id-693 .teo-name-options[hidden] { display:none !important; }
body.page-id-693 .teo-back-link a { font-size:.9rem !important; font-weight:500 !important; }/* Library thinker filters */
#influential-thinkers [aria-label="Choose how to filter thinkers"] { display:flex; flex-wrap:wrap; align-items:center; gap:.4rem; margin:1rem 0 .6rem; padding:.45rem .55rem; width:fit-content; border:1px solid #d9cec1; background:#fffdf9; }
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before { content:"Filter by"; flex-basis:100%; color:#675e58; font-size:.75rem; font-weight:600; letter-spacing:.06em; text-transform:uppercase; }
#influential-thinkers [aria-label="Choose how to filter thinkers"] button, #influential-thinkers [aria-label="Choose how to filter thinkers"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by topic"] button, #influential-thinkers [aria-label="Filter thinkers by topic"] [role=checkbox], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { border-radius:4px !important; }
#influential-thinkers [aria-label*="Last names beginning"], #influential-thinkers [aria-label="Filter thinkers by surname initial"] button, #influential-thinkers [aria-label="Filter thinkers by surname initial"] [role=checkbox] { font-weight:400 !important; }

/* Respect the selected filter mode */
#influential-thinkers .teo-topic-options[hidden],
#influential-thinkers .teo-name-options[hidden] {
  display: none !important;
}

/* Keep the mode label and controls on one line */
#influential-thinkers [aria-label="Choose how to filter thinkers"] {
  flex-wrap: nowrap;
  gap: .65rem;
}
#influential-thinkers [aria-label="Choose how to filter thinkers"]::before {
  flex-basis: auto;
  white-space: nowrap;
}

/* Place All topics after the named topics */
#influential-thinkers .teo-topic-options [data-topic="all"] {
  order: 1;
}

/* Put the quick-reference return link above each person-page hero */
body.page-child.parent-pageid-651 .entry-content { display:flex; flex-direction:column; }
body.page-child.parent-pageid-651 .entry-content > .teo-back-row { order:-1; margin-block:1rem !important; }

/* Left-align the quick-reference return link */
body.page-child.parent-pageid-651 .entry-content > .teo-back-row { align-self:stretch; width:100%; margin-inline:0 !important; }
body.page-child.parent-pageid-651 .teo-back-row .teo-back-link { width:100%; text-align:left !important; margin-inline:0 !important; }

/* Individual quick-reference pages: match the reference layout */
body.page-child.parent-pageid-651 .entry-content > .teo-hero { order:0; padding:48px 24px 42px !important; margin:0 auto 0 !important; }
body.page-child.parent-pageid-651 .entry-content > .teo-back-row { order:1; box-sizing:border-box; max-width:1060px; width:100%; padding:0 22px; margin:26px auto 0 !important; }
body.page-child.parent-pageid-651 .entry-content > .teo-paper { order:2; max-width:1060px; width:calc(100% - 44px); margin:0 auto 24px !important; }
body.page-child.parent-pageid-651 .teo-back-row .teo-back-link,
body.page-child.parent-pageid-651 .teo-back-row .teo-back-link a { font-size:13px !important; font-weight:650 !important; text-decoration:none !important; }
body.page-child.parent-pageid-651 .teo-facts { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:10px !important; margin:24px 0 !important; }
body.page-child.parent-pageid-651 .teo-fact { min-width:0; padding:15px 17px !important; background:#f8f5ef !important; border:1px solid #e3dbd1 !important; border-radius:9px !important; }
body.page-child.parent-pageid-651 .teo-fact p { margin:0 !important; }
body.page-child.parent-pageid-651 .teo-fact > .wp-block-group:first-child { margin:0 0 3px !important; }
body.page-child.parent-pageid-651 .teo-fact > .wp-block-group:first-child p { color:#7b2938 !important; font-size:11px !important; font-weight:750 !important; letter-spacing:.1em; text-transform:uppercase; }
body.page-child.parent-pageid-651 .teo-fact > .wp-block-group:not(:first-child) { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 .3em; }
body.page-child.parent-pageid-651 .teo-fact > .wp-block-group:not(:first-child) > .wp-block-group { display:contents; }
@media(max-width:760px) {
 body.page-child.parent-pageid-651 .teo-facts { grid-template-columns:1fr !important; }
 body.page-child.parent-pageid-651 .entry-content > .teo-hero { padding:38px 18px !important; }
 body.page-child.parent-pageid-651 .entry-content > .teo-paper { width:calc(100% - 24px); }
}


/* Keep the return link directly beneath the main navigation on every quick reference */
body.page-child.parent-pageid-651 .entry-content > .teo-back-row { order:-1 !important; margin:26px auto 10px !important; }
/* Align all quick-reference fact cards at the top of the row */
body.page-child.parent-pageid-651 .teo-facts { align-items:stretch !important; }
body.page-child.parent-pageid-651 .teo-facts > .teo-fact { align-self:stretch !important; margin-block:0 !important; }


/* Keep repeated boxes equal in every card or column section */
body .teo-columns,
body .teo-card-grid,
body .teo-signature-nav,
body .teo-thinker-grid,
body .teo-facts,
body .wp-block-columns { align-items:stretch !important; }
body .teo-columns > .teo-panel,
body .teo-card-grid > .teo-card,
body .teo-thinker-grid > .teo-filter-card,
body .teo-signature-nav > .teo-signature-card,
body .teo-facts > .teo-fact,
body .wp-block-columns > .wp-block-column { align-self:stretch !important; margin-block:0 !important; min-width:0; }


/* Match each quick-reference hero to the content card width at every breakpoint */
body.page-child.parent-pageid-651 .entry-content > .teo-hero { box-sizing:border-box !important; width:calc(100% - 44px) !important; max-width:1060px !important; }
@media(max-width:760px) {
 body.page-child.parent-pageid-651 .entry-content > .teo-hero { width:calc(100% - 24px) !important; }
}


/* Restore the ring mark in every section divider */
body .teo-divider .teo-divider__mark { display:flex; align-items:center; justify-content:center; width:40px; height:40px; flex:0 0 40px; font-size:0; line-height:0; }
body .teo-divider .teo-divider__mark::before { content:""; display:block; width:100%; height:100%; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2040%2040' fill='none'%3E%3Ccircle cx='20' cy='20' r='17' stroke='%237b2938' stroke-width='1.8'/%3E%3Ccircle cx='20' cy='20' r='11' stroke='%23d4533f' stroke-width='1.8'/%3E%3Ccircle cx='20' cy='20' r='5' stroke='%23617384' stroke-width='1.8'/%3E%3C/svg%3E") center/contain no-repeat; }
@media(max-width:600px) { body .teo-divider .teo-divider__mark { width:32px; height:32px; flex-basis:32px; } }