/* Page-specific enhancements; colours follow the site's light/dark theme. */
.profile-contact { margin-top: 1rem; }
.profile-contact ul { list-style: none; padding: 0; margin: 0; }
.profile-contact li { margin: .15rem 0; }
.profile-contact a { display: inline-flex; align-items: center; gap: .55rem; min-height: 36px; color: inherit; text-decoration: none; }
.profile-contact a:hover { text-decoration: underline; }
.profile-contact i { width: 1.2em; color: var(--global-base-color); text-align: center; }
.section-intro { margin: .5rem 0 2rem; line-height: 1.7; }
.publication-card { padding: 1.7rem 0 1.9rem; border-top: 1px solid var(--global-border-color); }
.publication-card:first-child { border-top: 3px solid var(--global-base-color); }
.publication-card h2 { margin: .5rem 0 .65rem; font-size: 1.25rem; line-height: 1.4; border: 0; }
.publication-card h2 a { color: var(--global-text-color); text-decoration: none; }
.publication-card h2 a:hover { color: var(--global-base-color); text-decoration: underline; }
.publication-venue, .eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--global-base-color); }
.publication-card .publication-venue { margin: 0; }
.publication-authors { font-size: .85rem; line-height: 1.7; margin: 0 0 .85rem; }
.research-tags { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1rem; list-style: none; }
.research-tags li { margin: 0; padding: .25rem .65rem; border-radius: 30px; font-size: .65rem; font-weight: 600; color: #285e68; background: #eaf3f4; }
.research-tags li:nth-child(2) { background: #eeedf8; color: #565084; }
.research-tags li:nth-child(3) { background: #f8efe4; color: #805729; }
.resource-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.resource-links a { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .8rem; border: 1px solid var(--global-dark-border-color); border-radius: 6px; color: var(--global-text-color); text-decoration: none; font-size: .75rem; font-weight: 600; }
.resource-links a:hover { border-color: var(--global-base-color); color: var(--global-base-color); }
.resource-format { font-size: .55rem; letter-spacing: .04em; opacity: .75; }
.talk-highlight { padding: 1.3rem 1.5rem; border-left: 3px solid var(--global-base-color); background: var(--global-code-background-color); margin-bottom: 1.5rem; }
.talk-highlight h2 { font-size: 1.1rem; margin: .5rem 0 1rem; border: 0; }
.talk-table-wrap { overflow-x: auto; border: 1px solid var(--global-border-color); border-radius: 8px; }
.talk-table { display: table; width: 100%; margin: 0; border-collapse: collapse; font-size: .75rem; }
.talk-table caption { text-align: left; padding: 1rem; font-size: .7rem; font-weight: 600; }
.talk-table thead { background: var(--global-footer-bg-color); border: 0; }
.talk-table thead th { font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; }
.talk-table th, .talk-table td { padding: 1.1rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--global-border-color); line-height: 1.65; }
.talk-table tbody th { width: 38%; font-weight: 400; }
.talk-table tbody tr:last-child > * { border-bottom: 0; }
.talk-table tbody tr:hover { background: var(--global-footer-bg-color); }
.talk-date { display: inline-block; min-width: 6.5rem; font-weight: 700; color: var(--global-base-color); white-space: nowrap; }
.talk-group, .talk-location { display: block; margin-top: .35rem; }
.talk-location { font-size: .6rem; opacity: .85; }
.talk-format { display: inline-block; font-size: .65rem; font-weight: 600; color: var(--global-base-color); }
.cv-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0 1.5rem; }
.cv-toolbar p { font-size: .75rem; margin: .4rem 0 0; }
.cv-pages img { display: block; width: 100%; height: auto; margin-bottom: 1.2rem; border: 1px solid var(--global-border-color); border-radius: 6px; background: white; }
a:focus-visible, .talk-table-wrap:focus-visible { outline: 3px solid var(--global-base-color); outline-offset: 4px; }
html[data-theme="dark"] .talk-highlight { background: var(--global-footer-bg-color); }
@media (max-width: 600px) {
  .profile-contact ul { display: flex; flex-wrap: wrap; gap: .2rem 1rem; }
  .publication-card h2 { font-size: 1.1rem; }
  .talk-table { min-width: 700px; }
  .talk-highlight { padding: 1rem; }
}
