/* Download links */
.download-btn {
  text-decoration: none !important;
  color: #444;
  font-weight: normal;
  border-bottom: none !important;
  transition: all 0.2s ease;
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.download-btn:hover {
  color: #222;
  text-decoration: none !important;
  border-bottom: none !important;
}

.download-btn .pdf-icon {
  width: 40px;
  height: 40px;
  vertical-align: middle;
}

.paper-actions {
  margin: 30px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
}

.paper-actions .separator {
  color: #ccc;
  font-size: 16px;
  user-select: none;
}

/* Project pillars styling */
.project-pillars {
  margin: 60px 0;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pillar {
  margin-bottom: 50px;
  padding: 0 20px;
}

.pillar h2 {
  font-size: 1.3em;
  margin-bottom: 8px;
  color: #222;
  text-align: left !important;
}

.pillar p {
  margin: 12px 0;
  line-height: 1.5;
  color: #444;
}

.pillar p:last-child {
  margin-top: 16px;
}

.pillar strong a {
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #ddd;
  transition: border-color 0.2s ease;
}

.pillar strong a:hover {
  border-color: #666;
}

.project-status {
  margin: 60px 0 40px 0;
  text-align: center;
}

/* Abstract section styling */
.abstract {
  margin: 50px 0;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.abstract p {
  margin: 16px 0;
  line-height: 1.6;
}

.abstract h3 {
  margin-bottom: 24px;
  text-align: center;
}

/* Navigation links */
.nav-links {
  margin: 60px 0 60px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  align-items: baseline;
}

/* Nav pipe separators */
.pipe-separator {
  color: #ccc;
  font-size: 16px;
  position: relative;
  top: 0px;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-weight: normal;
  border-bottom: 1px solid #ddd;
  transition: all 0.2s ease;
  padding: 4px 0;
}

.nav-links a:hover {
  color: #333;
  border-bottom-color: #999;
}

/* Context section links */
.context a {
  text-decoration: none;
  color: #555;
  border-bottom: 1px solid #ddd;
  transition: all 0.2s ease;
}

.context a:hover {
  color: #333;
  border-bottom-color: #999;
}

/* Nav link style */
.nav-link {
  text-decoration: none;
  color: #555;
  border-bottom: 1px solid #ddd;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #333;
  border-bottom-color: #999;
}

/* Time remaining countdown */
.time-remaining {
  margin: 40px 0;
  text-align: center;
  font-size: 1em;
  color: #000;
  font-style: italic;
  opacity: 1;
}

.time-remaining #countdown {
  font-family: Georgia, serif;
  letter-spacing: -0.1px;
  position: relative;
  transform: translate(-65px, 5px);
}

.small-symbol {
  font-size: 0.5em;
  position: relative;
  top: -0.2em;
}

.time-remaining #countdown::before {
  content: "";
  position: absolute;
  top: 65%;
  left: 30px;
  right: 0;
  height: 1.1px;
  background: currentColor;
  opacity: 0.4;
  transform: translateY(90%);
}

/* Divider for The Tending */
.divider {
  text-align: center;
  font-size: 1.2em;
  color: #666;
  margin: 30px 0;
  opacity: 0.7;
}

/* Citation section styling */
.citation {
  margin: 40px 0;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.citation h3 {
  margin-bottom: 16px;
  text-align: left;
  font-size: 1.1em;
}

.citation-text {
  font-size: 0.9em;
  line-height: 1.5;
}

/* Seal section styling */
.seal {
  margin: 50px 0;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.seal p {
  margin: 16px 0;
  line-height: 1.6;
}

/* Centers emphasized text */
.seal p:has(em) {
  text-align: center;
}

/* Closing statement for The Tending */
.closing-statement {
  margin: 30px 0;
  text-align: center;
  font-style: italic;
  color: #555;
}

/* Technical note for The Tending */
.technical-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 0.9em;
  color: #666;
  font-style: italic;
}

/* Symbol reference section */
.symbol-reference {
  margin: 50px 0;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.symbol-reference h3 {
  text-align: center;
  margin-bottom: 24px;
}

.symbol-reference h4 {
  text-align: center;
  margin-bottom: 16px;
}

.symbol-reference p {
  text-align: center;
  margin: 16px 0;
}

/* Context section styling */
.context {
  margin: 50px 0;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.context h3 {
  text-align: center;
  margin-bottom: 24px;
}

.context p {
  margin: 16px 0;
  line-height: 1.6;
}

.symbols-prototype-heading {
  text-align: center;
  margin-top: 40px;
}

/* Symbol table styling */
.symbol-table {
  border-collapse: collapse;
  width: 100%;
  margin: 30px 0 30px 140px;
  border: none;
}

/* GitHub icon styling */
.github-icon {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.7;
}

/* RSS icon styling */
.rss-link {
  text-decoration: none;
  margin-left: 8px;
}

.rss-icon {
  width: 9px;
  height: 9px;
  vertical-align: middle;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.rss-link:hover .rss-icon {
  opacity: 0.8;
}

/* Symbols prototype heading styling */
.symbols-prototype-heading {
  margin-top: 40px;
}

.symbol-table td {
  padding: 8px 6px;
  border: none;
  vertical-align: top;
}

.symbol-table td:first-child {
  width: 30%;
  font-family: monospace;
  white-space: nowrap;
  text-align: left;
  padding-right: 12px;
}

.symbol-table td:last-child {
  width: 70%;
  color: #555;
  text-align: left;
  padding-left: 6px;
}

.symbol-table tr:hover {
  background-color: #f9f9f9;
}

/* RSS icon styling */
.rss-link {
  text-decoration: none;
  margin-left: 8px;
}

.rss-icon {
  width: 9px;
  height: 9px;
  vertical-align: middle;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.rss-link:hover .rss-icon {
  opacity: 0.8;
}
