/* Fulbright Application - Scholarly Styling */

.application-page {
  max-width: 850px;
  margin: 120px auto 0 auto;
  padding: 3rem 3rem 3rem 3rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  line-height: 1.7;
  color: #1a1a1a;
  font-size: 1rem;
}

/* Section Headers */
.application-section {
  margin-bottom: 3rem;
}

.section-title {
  font-family: "Anton", sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 0.5rem;
  margin-top: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #333;
  padding-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Body Text */
.application-content {
  font-size: 1rem;
  line-height: 1.7;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.application-content p {
  margin-bottom: 1.3rem;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* First paragraph of each section - indented */
.application-section p:first-of-type {
  text-indent: 2em;
}

/* References / Bibliography */
.references {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #333;
}

.references-title {
  font-family: "Anton", sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.references-list {
  font-size: 0.95rem;
  line-height: 1.8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.reference {
  margin-bottom: 1rem;
  margin-left: 2em;
  text-indent: -2em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Footnotes */
.footnote {
  font-size: 0.9rem;
  color: #555;
  margin: 0.5rem 0;
  padding-left: 1.5em;
}

.footnote-number {
  font-size: 0.85rem;
  vertical-align: super;
  margin-right: 0.3em;
}

/* Footer */
footer {
  background-color: #f0f0f0;
  border-top: 2px solid #333;
  padding: 2.5rem 3rem;
  margin-top: 5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  width: 100%;
}

footer p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  margin: 0;
}

footer a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

/* Print Styling */
@media print {
  .application-page {
    padding: 1rem;
  }

  .section-title {
    page-break-after: avoid;
  }

  .application-section {
    page-break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .application-page {
    margin-top: 120px;
    padding: 2rem 1.5rem 1rem 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .application-content p {
    text-align: left;
  }

  .application-section p:first-of-type {
    text-indent: 0;
  }

  footer {
    padding: 2rem 1.5rem;
    margin-top: 3rem;
  }
}