/* Burse (Scholarships) article layout — burse.php */
/* Styles the static scholarship text article. Scoped to .event-article-view
   as emitted by burse.php; uses the shared MD3 design tokens. Replaces the
   former (broken) events.css link — burse never had real styling before. */

.event-article-view {
  padding-top: 2rem;
  padding-bottom: 6rem;
}

/* Container: constrain the text column for readability */
.event-article-view .container {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Title */
.event-article-view .ttr_post_title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--on-surface);
  margin-bottom: 2rem;
}

/* Body copy */
.event-article-view .postcontent {
  color: var(--on-surface);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.event-article-view .postcontent p {
  margin-bottom: 1rem;
}

.event-article-view .postcontent strong {
  color: var(--on-surface);
  font-weight: 700;
}

/* Section-lead paragraphs that are entirely bold read as subheadings */
.event-article-view .postcontent p > strong:only-child {
  display: inline-block;
  font-size: 1.125rem;
}

/* Lists */
.event-article-view .postcontent ul {
  margin: 0 0 1.5rem 1.25rem;
  padding-left: 1rem;
  list-style: disc;
}

.event-article-view .postcontent li {
  margin-bottom: 0.5rem;
}

/* Blockquote — the "Cuantumuri" callout */
.event-article-view .postcontent blockquote {
  border-left: 4px solid var(--primary);
  background: var(--surface-container-lowest);
  margin: 2rem 0 1rem;
  padding: 1rem 1.5rem;
  border-radius: 0 0.75rem 0.75rem 0;
}

.event-article-view .postcontent blockquote p {
  margin-bottom: 0;
  font-size: 1.125rem;
}

/* Links (application-form PDFs, legislation) */
.event-article-view .postcontent a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.event-article-view .postcontent a:hover {
  text-decoration: none;
}

.event-article-view .postcontent a[href=""],
.event-article-view .postcontent a:empty {
  display: none;
}

/* Justified RTE paragraphs */
.event-article-view .postcontent .rtejustify {
  text-align: justify;
}

/* Mobile: tighten the type scale + spacing (addresses the 11.3-screens audit) */
@media (max-width: 480px) {
  .event-article-view {
    padding-top: 1.25rem;
    padding-bottom: 3rem;
  }

  .event-article-view .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .event-article-view .ttr_post_title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .event-article-view .postcontent {
    font-size: 1rem;
    line-height: 1.65;
  }

  .event-article-view .postcontent p > strong:only-child {
    font-size: 1.0625rem;
  }

  .event-article-view .postcontent blockquote {
    padding: 0.875rem 1rem;
    margin: 1.5rem 0 1rem;
  }
}
