/* Jekyll-style colours and fonts for balakrichenan.com. Loaded after theme.css; link light.css instead to revert. */

:root {
  /* Fonts and charcoal base after jekyllrb.com; sage-teal accent */
  --bg: #333333;
  --surface: #444444;
  --header: #2B2B2B;
  --footer: #212121;
  --text: #DDDDDD;
  --heading: #FFFFFF;
  --text-muted: #BBBBBB;
  --accent: #6CC5B0;
  --accent-hover: #94D8C8;
  --highlight: #213731;
  --on-accent: #222222;
  --border: #555555;
  --code-bg: #171717;
  --sans: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: Menlo, Consolas, "Courier New", Courier, "Liberation Mono", monospace;
}

/* Base */
body {
  background: var(--bg);
  color: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: left;
}

.card {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.card p,
.card li,
.card .text-justify {
  max-width: 70ch;
}

.text-justify,
h2.post-title,
.thesistitlestyle {
  text-align: left !important;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  line-height: 1.25;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

blockquote {
  color: var(--text-muted);
  border-left-color: var(--border);
}

.title-small-caps {
  font-size: 2.25rem;
}

.title-small-caps:after {
  background-color: var(--accent);
  height: 2px;
}

img[alt=face] {
  border: 3px solid var(--border);
  margin: 0 0 1rem 1.25rem;
}

/* Links: underlined in content so they never rely on colour alone */
a {
  color: var(--accent);
}

.card a[href]:not(.button0):not(.button-primary),
.sidebar a[href]:not(.button-primary),
.footer p a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.card a[href]:not(.button0):not(.button-primary):hover,
.sidebar a[href]:not(.button-primary):hover {
  color: var(--accent-hover);
  text-decoration-thickness: 3px;
}

a:active {
  color: var(--accent-hover);
}

/* Visible keyboard focus on everything interactive */
a:focus-visible,
button:focus-visible,
.navbar-toggler:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
  box-shadow: none;
}

/* Navigation */
nav {
  background-color: var(--surface);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--border);
  font-size: 1.0625rem;
}

nav .navbar-brand {
  color: var(--text) !important;
  font-size: clamp(1.25rem, 1rem + 1.5vw, 1.75rem);
  white-space: normal;
}

nav .nav-link {
  color: var(--text-muted) !important;
  border-bottom: 2px solid transparent;
}

nav .navbar-brand:hover,
nav .nav-link:hover {
  color: var(--accent-hover) !important;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

nav .nav-link[aria-current="page"] {
  color: var(--text) !important;
  font-weight: 700;
  border-bottom-color: var(--accent);
}

nav.shrink a {
  font-size: 1rem;
}

nav.shrink .navbar-brand {
  font-size: 1.375rem;
}

.navbar-light .navbar-toggler {
  border-color: var(--border);
  color: var(--text);
}

/* Sidebar: the highlighted section */
.sidebar {
  color: var(--text);
}

.sidebar.highlight {
  background: var(--highlight);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  box-shadow: none;
  border-radius: 8px;
  padding: 1.25rem 1.25rem 0.5rem;
  margin-bottom: 1.5rem;
}

.sidebar h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.sidebar ul {
  padding-left: 1.1rem;
}

.sidebar li {
  margin-bottom: 0.6rem;
}

/* Primary buttons (Bibtex/PDF and the CV link) */
.button0,
.button-primary {
  display: inline-block;
  background-color: var(--accent);
  color: var(--on-accent) !important;
  border: 0;
  border-radius: 6px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  min-height: 1.75rem;
  padding: 0.25rem 0.75rem;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  font-size: 1rem;
  padding: 0.5rem 1rem;
}

.button0:hover,
.button-primary:hover {
  background-color: var(--accent-hover);
  color: var(--on-accent) !important;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.button0:active,
.button-primary:active {
  background-color: var(--accent-hover);
  transform: translateY(1px);
}

/* BibTeX blocks */
pre {
  background: var(--code-bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
}

.biblio {
  color: var(--text);
  margin-top: 1.5rem;
}

/* The bibliography lists sit inside the section heading; give entries body-text styling */
.biblio ol.bibliography {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-top: 0.75rem;
  padding-left: 1.5rem;
}

.biblio ol.bibliography > li {
  margin-bottom: 1rem;
}

.biblio ol.bibliography i {
  font-style: italic;
}

/* Talks list */
.paper-left,
.paper-left .target {
  color: var(--text-muted);
}

.paper-right .title {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0;
}

.paper-right .title i {
  font-style: italic;
}

/* Icon-only links: at least 24x24px targets (WCAG 2.2 target size) */
a[aria-label="PDF"],
a[aria-label^="Slides"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  min-height: 1.75rem;
  font-size: 1.125rem;
}

/* Thesis boxes become highlighted sections */
.thesistitlestyle {
  background-color: var(--highlight);
  color: var(--text);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.thesistitlestyle table {
  color: var(--text) !important;
  border-color: var(--border);
  margin-top: 0.75rem;
}

.thesistitlestyle th {
  border-color: var(--border);
  font-weight: 400;
}

#span-0 { font-size: 1.25rem; }
#span-1 { font-size: 1.0625rem; color: var(--text-muted); }
#span-2 { font-size: 1rem; }

/* Footer */
.footer-distributed {
  background-color: var(--surface);
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font: normal 1rem "Karla", sans-serif;
}

.footer-distributed h6 {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

ul.social-media {
  border-top: 0;
  border-bottom: 0;
}

ul.social-media li > a {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

ul.social-media li > a:hover {
  color: var(--accent-hover);
}

/* Scrollbar matches the light surfaces */
::-webkit-scrollbar-track { background: #2B2B2B; }
::-webkit-scrollbar-thumb { background: #555555; }
::-webkit-scrollbar-thumb:hover { background: #777777; }

/* Keep the name and menu button on one line on narrow screens */
@media (max-width: 991.98px) {
  nav > .container {
    flex-wrap: nowrap;
  }

  nav .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0 1rem 0.5rem;
  }

  nav .navbar-toggler {
    flex-shrink: 0;
    margin: 0.5rem 0 0.5rem 0.5rem;
  }

  nav .navbar-brand {
    min-width: 0;
    font-size: 1.25rem;
  }
}

@media (max-width: 359.98px) {
  nav .navbar-brand,
  nav.shrink .navbar-brand {
    font-size: 1.0625rem;
  }
}

/* Small screens */
@media (max-width: 767.98px) {
  .card {
    padding: 1.25rem;
  }

  h1, .title-small-caps {
    font-size: 1.75rem;
  }

  .offset-md-1 {
    margin-left: 0;
    margin-right: 0;
  }

  .col-md-8 {
    padding-right: 15px;
  }

  img[alt=face] {
    width: 96px;
    height: auto;
    margin-left: 0.75rem;
  }

  .paper-table.flex-container {
    flex-direction: column;
  }

  .paper-left {
    text-align: left;
  }

  .paper-right > div {
    margin-left: 0;
  }

  .thesistitlestyle {
    overflow-x: auto;
  }

  .thesistitlestyle img[align=right] {
    float: none !important;
    display: block;
    margin-top: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
  }
}

/* ---- Jekyll specifics: dark header and footer, Lato type, terminal-style code ---- */
body {
  font-family: var(--sans);
  font-weight: 400;
  box-shadow: inset 0 3px 30px rgba(0, 0, 0, 0.3);
}

.card, .sidebar, .footer-distributed, .biblio ol.bibliography,
.paper-left, .paper-left .target, .paper-right, .paper-right .title,
.thesistitlestyle, #span-0, #span-1, #span-2, blockquote {
  font-family: var(--sans);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-family: var(--sans);
  font-weight: 700;
}

/* Jekyll's large light headline style */
.card h1, .title-small-caps {
  font-weight: 300;
  font-variant: normal;
  letter-spacing: -0.01em;
}

.biblio {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
}

nav {
  background-color: var(--header);
  border-top-color: var(--accent);
  border-bottom-color: #1E1E1E;
  font-family: var(--sans);
}

nav .navbar-brand {
  color: var(--heading) !important;
  font-weight: 300;
}

nav .nav-link {
  color: var(--accent) !important;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  border-radius: 5px;
  border-bottom: 0;
  padding: 0.5em 1em !important;
  margin: 0 0.1rem;
}

nav .navbar-brand:hover,
nav .nav-link:hover {
  color: var(--accent) !important;
  background-color: #252525;
}

nav .nav-link[aria-current="page"],
nav .nav-link[aria-current="page"]:hover {
  color: var(--on-accent) !important;
  background-color: var(--accent);
  text-decoration: none;
}

.navbar-dark .navbar-toggler {
  border-color: var(--border);
}

@media (max-width: 991.98px) {
  nav .navbar-collapse {
    background: var(--header);
    border-bottom-color: #1E1E1E;
  }
}

.footer-distributed {
  background-color: var(--footer);
  border-top-color: #1E1E1E;
  font-family: var(--sans);
}

pre {
  font-family: var(--mono);
  background: var(--code-bg);
  color: var(--text);
  border-color: #000000;
}

.button0, .button-primary {
  font-family: var(--sans);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sidebar.highlight, .thesistitlestyle {
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.4);
}

/* Single column: the content card uses the full width, centred, with readable line lengths */
.col-12 > .card {
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

.col-12 > .card p,
.col-12 > .card li,
.col-12 > .card .text-justify {
  max-width: 80ch;
}

/* Menu centred in the header (no site name in the bar) */
nav > .container {
  justify-content: center;
}

nav .navbar-nav {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

@media (max-width: 991.98px) {
  nav .navbar-toggler {
    margin: 0.5rem auto;
  }

  nav .navbar-nav {
    align-items: center;
  }
}

@media (min-width: 992px) {
  nav .navbar-nav {
    padding: 0.6rem 0;
  }

  nav.shrink .navbar-nav {
    padding: 0.35rem 0;
  }
}

/* ===================== Presentation polish ===================== */

/* Panel: soft separation only */
.card {
  background: #3A3A3A;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  border-radius: 10px;
  padding: 2.75rem;
}

.content {
  padding-top: 0.5rem;
}

.card p,
.card li,
.card .text-justify,
.col-12 > .card p,
.col-12 > .card li,
.col-12 > .card .text-justify {
  max-width: 70ch;
}

.card p {
  margin: 0 0 1.25em;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Restrained emphasis */
.card strong {
  font-weight: 700;
}

.card strong em,
.card em strong {
  font-style: normal;
}

/* Introduction: name and role left, portrait right */
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.intro h1 {
  font-size: 2.375rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0 0 0.5rem;
}

.intro .role {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin: 0;
}

.intro .portrait {
  flex-shrink: 0;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin: 0;
  float: none;
}

/* Navigation: sentence-case labels, underline for the current page */
nav .nav-link {
  text-transform: none;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--text) !important;
  background: transparent !important;
  border-radius: 0;
  padding: 0.65em 0.9em !important;
  margin: 0 0.15rem;
  border-bottom: 2px solid transparent;
  box-shadow: none !important;
}

nav .nav-link:hover {
  color: var(--accent) !important;
  background: transparent !important;
  text-decoration: none;
  border-bottom-color: rgba(108, 197, 176, 0.5);
}

nav .nav-link[aria-current="page"],
nav .nav-link[aria-current="page"]:hover {
  color: var(--heading) !important;
  background: transparent !important;
  border-bottom-color: var(--accent);
}

nav .nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (min-width: 992px) {
  nav .navbar-nav {
    padding: 0.35rem 0;
  }

  nav.shrink .navbar-nav {
    padding: 0.15rem 0;
  }

  nav.shrink a {
    font-size: 0.9375rem;
    padding: 0.5em 0.9em !important;
  }
}

/* Footer: compact, copyright left and icons right */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  flex: 1 0 auto;
  padding-bottom: 3rem;
}

.footer-distributed {
  position: static;
  margin-top: 0;
  padding: 1.25rem 0;
}

.footer-distributed .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1rem;
  line-height: 1.4;
}

@media (min-width: 1000px) {
  .footer-distributed .footer {
    margin: 0 auto;
    line-height: 1.4;
  }
}

.footer-distributed .footer p {
  margin: 0;
  font-size: 0.9375rem;
}

ul.social-media {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
}

ul.social-media li > a {
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

ul.social-media li > a .fa-2x {
  font-size: 1.375rem;
}

ul.social-media li > a:hover {
  color: var(--accent);
}

ul.social-media li > a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

/* Small screens */
@media (max-width: 767.98px) {
  .card {
    padding: 1.5rem 1.25rem;
  }

  .intro {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .intro h1 {
    font-size: 2rem;
  }

  .intro .portrait {
    width: 112px;
    height: 112px;
  }

  .footer-distributed .footer {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 991.98px) {
  nav .nav-link {
    padding: 0.75em 1em !important;
    min-height: 44px;
  }
}

/* Justified body text, with hyphenation to keep word spacing even */
.card p,
.card li,
.card .text-justify,
.thesistitlestyle,
.paper-right {
  text-align: justify !important;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
}

.card p a,
.card li a {
  -webkit-hyphens: manual;
  hyphens: manual;
}

.intro .role,
.thesistitlestyle table {
  text-align: left !important;
}

/* Publication buttons: one colour per type (labels still name each action) */
button.button0 {
  background-color: #6CC5B0;
}
button.button0:hover,
button.button0:active {
  background-color: #94D8C8;
}

input.button0[value="DoI"] {
  background-color: #D9B26A;
}
input.button0[value="DoI"]:hover,
input.button0[value="DoI"]:active {
  background-color: #E8C68A;
}

input.button0[value="PDF"] {
  background-color: #F0907A;
}
input.button0[value="PDF"]:hover,
input.button0[value="PDF"]:active {
  background-color: #F6B09F;
}

/* Talks: section headings */
.talks-heading{color:var(--heading);font-size:1.5rem;font-weight:700;margin:2.25rem 0 1rem;padding-bottom:.4rem;border-bottom:1px solid var(--border)}
.title-small-caps + .talks-heading{margin-top:1.25rem}
.talks-empty{color:var(--text-muted);font-style:italic}

/* Invited talks have long venue names: venue above the title at every width */
.paper-table.stacked{flex-direction:column}
.paper-table.stacked .paper-left{text-align:left}
.paper-table.stacked .paper-right > div{margin-left:0}
.paper-table.stacked .paper-right{text-align:left !important}

/* Award label on a publication, and the certificate button */
.award-badge{display:inline-block;margin:.5rem 0 .25rem;padding:.15rem .6rem;border:1px solid #D9B26A;border-radius:999px;color:#E8C68A;font-size:.875rem;font-weight:700;text-align:left !important;max-width:none}
.award-badge .fa-trophy{margin-right:.25rem}
input.button0[value="Certificate"]{background-color:#B9A6E0}
input.button0[value="Certificate"]:hover,input.button0[value="Certificate"]:active{background-color:#CFC1EB}
.card p.honors-list{text-align:left !important;hyphens:manual}
.award-badge{display:table}
.award-badge{border-color:#6AAEE6;color:#8EC5F2;background:rgba(106,174,230,.10)}
input.button0[value="Link"]{background-color:#D9B26A}
input.button0[value="Link"]:hover,input.button0[value="Link"]:active{background-color:#E8C68A}
.paper-right .button0{margin-top:.35rem}

/* Thesis cards (simplified) */
.thesis-section {
  color: #F08A7E;            /* coral: sets section labels apart from the teal links */
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.thesis-section:first-of-type { margin-top: 1rem; }
.thesis-section i { margin-right: 0.4rem; font-size: 0.95em; }
.thesistitlestyle p { margin-bottom: 0.5rem; }
.thesistitlestyle .thesis-title { font-size: 1.25rem; font-weight: 700; line-height: 1.35; color: var(--heading); }
.thesistitlestyle .thesis-meta { color: var(--text-muted); line-height: 1.6; }
.thesistitlestyle .thesis-links { margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.thesis-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px; padding: 0.5rem 1rem;
  border: 1px solid var(--accent); border-radius: 6px;
  color: var(--accent); text-decoration: none !important;
  transition: background-color .15s, color .15s;
}
.thesis-btn:hover, .thesis-btn:focus-visible {
  background-color: var(--accent); color: var(--on-accent) !important;
}

/* Projects page */
.projects-intro { color: var(--text-muted); margin-bottom: 1.25rem; }
.project-index { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }
.project-index li { border-left: 4px solid var(--pc); background: var(--highlight); border-radius: 6px; padding: 0.55rem 0.75rem; }
.project-index a { font-weight: 700; color: var(--pc) !important; text-decoration: none; font-size: 1.05rem; }
.project-index .pi-years { float: right; color: var(--text-muted); font-size: 0.85rem; margin-top: 0.15rem; }
.project-index .pi-role { display: block; color: var(--text); font-size: 0.85rem; margin-top: 0.15rem; }
.project-card { background: var(--highlight); border-left: 5px solid var(--pc); border-radius: 10px; padding: 1.25rem 1.4rem; margin-bottom: 1.5rem; scroll-margin-top: 90px; }
.pc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.pc-name { margin: 0; font-size: 1.5rem; font-weight: 900; color: var(--pc) !important; letter-spacing: 0.01em; }
.pc-name a { color: inherit !important; text-decoration: none; border-bottom: 2px solid transparent; }
.pc-name a:hover { border-bottom-color: var(--pc); }
.pc-full { margin: 0.2rem 0 0; color: var(--text); font-style: italic; }
.pc-years { flex-shrink: 0; border: 1px solid var(--pc); color: var(--pc); border-radius: 999px; padding: 0.2rem 0.75rem; font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
.pc-role { margin: 1rem 0; padding: 0.7rem 0.9rem; border-radius: 8px; background: color-mix(in srgb, var(--pc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--pc) 45%, transparent); }
.pc-role-label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--pc); font-weight: 700; margin-right: 0.4rem; }
.pc-role strong { color: var(--heading); font-size: 1.1rem; }
.pc-role-detail { display: block; color: var(--text); font-size: 0.95rem; margin-top: 0.2rem; }
.pc-desc { line-height: 1.7; margin: 0 0 1rem; }
.pc-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.pc-facts li { display: flex; gap: 0.7rem; align-items: baseline; font-size: 0.95rem; color: var(--text-muted); }
.pc-facts i { color: var(--pc); width: 1.1rem; text-align: center; }
.pc-facts b { display: inline-block; min-width: 4.8rem; color: var(--text); font-weight: 700; margin-right: 0.4rem; }
.pc-links { margin: 1rem 0 0; }
.pc-btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 40px; padding: 0.4rem 0.9rem; border: 1px solid var(--pc); border-radius: 6px; color: var(--pc) !important; text-decoration: none !important; }
.pc-btn:hover, .pc-btn:focus-visible { background: var(--pc); color: var(--on-accent) !important; }
@media (max-width: 576px) {
  .pc-head { flex-direction: column; gap: 0.5rem; }
  .pc-facts li { flex-wrap: wrap; }
  .pc-facts b { min-width: 0; }
}
.project-index, .project-index li, .pc-facts, .pc-role { text-align: left !important; }
.pc-facts li > span { display: flex; flex: 1; gap: 0.4rem; }
.pc-facts li > span b { flex: 0 0 4.8rem; margin-right: 0; }
@media (max-width: 576px) { .pc-facts li > span { flex-direction: column; gap: 0; } .pc-facts li > span b { flex: none; } }
.col-12 > .card .project-card p,
.col-12 > .card .project-card li { max-width: none; }
