/* Project-specific additions to the shared themistoklis.org template. */
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 200; padding: 12px; background: white; }
.skip-link:focus { top: 8px; }
.minerva-header .center_header { align-items: center; }
.minerva-header #logo { flex: 0 1 224px; min-width: 105px; mix-blend-mode: multiply; }
.minerva-header #logo img { display: block; width: 100%; height: auto; }
.minerva-header #affiliation { color: #6d7208; text-align: right; }
.minerva-header .project-name,
.minerva-header .project-subtitle { margin: 0; color: inherit; text-align: inherit; line-height: 1.25; }
.minerva-header .project-name { font-size: clamp(1rem, 2vw, 1.25rem); }
.minerva-header .project-subtitle { margin-top: 4px; font-size: 1rem; }
.minerva-content h1 { margin: 0 0 16px; }
.minerva-content h2 { margin-top: 30px; }
.minerva-content p { margin-bottom: 12px; }
.minerva-content a:hover { text-decoration: underline; }
.minerva-content a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #6d7208; outline-offset: 4px; }
.main-navigation a[aria-current="page"] { background: #7f8509; }
.main-navigation .parent-link { margin-left: auto; }
.lead { font-size: 18px; line-height: 1.5; color: #6d7208; text-align: left; }
.minerva-banner {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(300px, 43vw, 550px);
  overflow: hidden;
  padding: 24px 0 clamp(25px, 4.5vw, 58px);
  background: #061c35;
}
.minerva-banner-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform-origin: center bottom;
}
.minerva-banner-copy {
  padding: 8px max(20px, 7vw) 12px;
  background: #8d930a;
}
.minerva-banner .banner-title {
  margin: 0 0 8px;
  color: white;
  background: transparent;
  font-size: clamp(2.1rem, 3.45vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: normal;
  text-shadow: 0 1px 4px #443515;
}
.minerva-banner .banner-subtitle {
  margin: 0;
  color: white;
  background: transparent;
  text-align: left;
  font-size: clamp(1rem, 2.15vw, 1.875rem);
  line-height: 1.35;
  text-shadow: 0 1px 4px #443515;
}
.banner-word { display: inline-block; }
.banner-accessible-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .minerva-banner-image { animation: banner-zoom 6s ease-out both; }
  .minerva-banner-copy { animation: banner-reveal .4s ease-out both; }
  .banner-letter { display: inline-block; animation: banner-reveal .42s ease-out var(--reveal-delay) both; }
}
@keyframes banner-zoom { from { transform: scale(1.2); } to { transform: scale(1); } }
@keyframes banner-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.section-link { margin-top: 18px; }
.project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; background: #fbfcf2; border-top: 1px solid #d8dfb0; border-bottom: 1px solid #d8dfb0; padding: 10px 22px; margin: 26px 0; }
.project-facts > div { padding: 12px 0; }
.project-facts dt { font-weight: bold; color: #6d7208; margin-bottom: 6px; font-size: 13px; }
.project-facts dd { margin: 0; color: #555; line-height: 1.5; }
.explore-list, .research-list { padding-left: 18px; margin-bottom: 20px; }
.explore-list li, .research-list li { margin: 0; padding: 6px 0; line-height: 1.5; }
.news-list { list-style: none; padding: 0; }
.news-list li { margin: 0; padding: 14px 0; display: grid; grid-template-columns: 150px 1fr; gap: 15px; border-bottom: 1px solid #eee; }
.news-list time, .news-date { font-size: 13px; color: #777; }
.news-list p { margin: 6px 0 0; }
.funding { display: flex; align-items: center; gap: 30px; border-top: 1px solid #ddd; margin-top: 40px; padding-top: 24px; }
.funding > a { flex: 0 0 210px; }
.funding img { display: block; width: 210px; height: auto; }
.funding p { text-align: left; font-size: 12px; line-height: 1.6; margin: 0 0 4px; }
.footer { height: auto; min-height: 32px; padding: 0 16px 16px; margin: 0 auto 10px; }
#main .principal h3, #main .member-list h3, #main .publication h3 { font: bold 16px/1.4 Arial, Helvetica, sans-serif; color: #6d7208; margin: 0 0 8px; }
.principal { display: flex; align-items: flex-start; gap: 25px; margin: 20px 0 30px; }
.principal .team-portrait { flex: none; }
.member-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.member-list article { border-bottom: 1px solid #eee; padding: 18px 0; }
.member-list p { text-align: left; }
.team-portrait { display: block; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 24px 0; }
.member-list .team-portrait { margin-bottom: 12px; }
.source-note { color: #777; font-size: 12px; line-height: 1.6; margin-top: 24px; }
.publication-tools { display: flex; gap: 16px; align-items: end; background: #fbfcf2; border: 1px solid #d8dfb0; padding: 18px; margin: 24px 0 14px; }
.publication-tools[hidden], [hidden] { display: none !important; }
.publication-tools .search-field { flex: 1; }
.publication-tools label { display: block; margin-bottom: 7px; color: #6d7208; font-size: 12px; font-weight: bold; }
.publication-tools input, .publication-tools select, .publication-tools button { min-height: 40px; padding: 8px 10px; border: 1px solid #bbb; border-radius: 2px; background: white; font: inherit; color: #555; }
.publication-tools input { width: 100%; }
.publication-tools button { cursor: pointer; color: #6d7208; }
.publication-list { padding-left: 26px; }
.publication { padding: 18px 0 18px 6px; border-bottom: 1px solid #eee; margin-left: 0; line-height: 1.5; scroll-margin-top: 100px; }
.publication p { margin: 4px 0; text-align: left; }
.publication .venue { font-style: italic; color: #777; }
.publication > a { font-size: 12px; }
.news-article { padding: 24px 0; border-bottom: 1px solid #eee; scroll-margin-top: 95px; }
.news-article h2 { margin-top: 4px; }
.press-contents { margin: 18px 0 0; }
.press-contents li { scroll-margin-top: 95px; }
.press-figure { margin: 16px 0 20px; max-width: 680px; }
.press-figure img { display: block; width: 100%; height: auto; }
.press-figure figcaption { color: #555; font-size: 13px; line-height: 1.5; margin-top: 6px; }
.work-package { padding: 14px 0; scroll-margin-top: 95px; }
address { font-style: normal; color: #555; line-height: 1.7; }
.contact-email { margin: 18px 0; overflow-wrap: anywhere; }
@media (max-width: 900px) { .main-navigation .parent-link { margin-left: 15px; } }
@media (max-width: 640px) {
  .minerva-header .center_header { flex-direction: row; gap: 12px; }
  .minerva-header #logo { flex-basis: 32%; }
  .minerva-header .project-name { font-size: 0.875rem; }
  .minerva-header .project-subtitle { font-size: 0.8125rem; }
  html:not(.js) .main-navigation ul { display: flex; }
  .main-navigation a[aria-current="page"] { color: white; }
  .main-navigation .parent-link { margin-left: 0; }
  .main-navigation li { margin-left: 0; padding-left: 0; }
  .minerva-banner { min-height: 0; padding: 0; }
  .minerva-banner-image { position: static; display: block; height: auto; }
  .minerva-banner-copy { padding-inline: 20px; }
  .project-facts { grid-template-columns: 1fr; padding: 8px 16px; }
  .news-list li { grid-template-columns: 1fr; gap: 6px; }
  .funding { flex-direction: column; align-items: flex-start; gap: 20px; }
  .funding > a { flex-basis: auto; }
  .principal { flex-direction: column; gap: 20px; }
  .member-list { grid-template-columns: 1fr; }
  .publication-tools { flex-direction: column; align-items: stretch; }
  .publication-tools select { width: 100%; }
  .publication-list { padding-left: 20px; }
}
@media print { #menu_background, .publication-tools { display: none; } body, #main_container { background: white; } .center { padding: 20px; } .funding, .publication, .member-list article { break-inside: avoid; } }
