/* -----------------------------------
   1) FONT-FACE DECLARATION
--------------------------------------*/
@font-face {
  font-family: "Montserrat";
  src: url("assets/Montserrat/Montserrat-VariableFont_wght.ttf")
       format("truetype");
  font-weight: 100 900; /* variable font range */
  font-style: normal;
}

/* BASIC RESET */
* {
  box-sizing: border-box;
}

/* BODY AND LAYOUT */
html {
  max-width: 100%;
}

body {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  color: #333;
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* -----------------------------------
   2) UIUC HEADER
--------------------------------------*/
.uiuc-header {
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  background-color: #FFFFFF;
  transform: translate(0, -50%);
}

.orange-bar {
  background-color: #FF5F07; /* Official Illinois orange */
  height: 13px;
  width: 100%;
  position: absolute;
}

.header-logo {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  top: auto;
  width: 100%;
  /* Indent with padding, not `left`: `left` shifts the full-width row past the
     right edge of the viewport and creates a horizontal scrollbar. */
  padding-left: 200px;
  transition: 0.1s;
}

/* Navy block on the left, holding the Block I image */
.block-i-container {
  background-color: #13294B;
  padding: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.block-i {
  height: 45px;
  width: auto;
  display: block;
}

img {
  padding: 0;
  max-width: 100%;
}

/* Text on the right side */
.school-name {
  min-width: 0; /* let the flex item shrink instead of forcing the row wider */
  color: #13294B; /* Illinois navy text color */
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

/* -----------------------------------
   3) CONTENT SHELL
--------------------------------------*/
.content {
  width: 80%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

/* TITLE */
.title {
  text-align: center;
  margin: 0;
  font-weight: 700;
  font-size: 30px;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 30px;
}

.title p {
  margin: 0 0 10px;
  line-height: 1.25;
}

.title span {
  font-size: 17px;
  font-weight: 500;
  color: #555;
}

.presenters {
  margin: 18px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #13294B;
  line-height: 1.6;
}

.presenters-affil {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #666;
}

/* SECTION SPACING */
section {
  margin-bottom: 30px;
  border-top: 3px solid #ccc;
}

section h2 {
  color: #13294B;
  font-weight: 700;
}

section p {
  line-height: 1.7;
}

section h3 {
  color: #13294B;
  font-size: 17px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
}

.part-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-left: 5px solid #FF5F07;
  padding: 6px 0 6px 12px;
  margin-top: 34px;
  margin-bottom: 0;
}

.part-len {
  font-size: 14px;
  font-weight: 600;
  color: #FF5F07;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Optional block reads as secondary: navy rule instead of the orange one. */
.part-optional {
  border-left-color: #13294B;
}

.part-optional .part-len {
  color: #13294B;
}

.break-block {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 12px 16px;
  background-color: #f5f5f5;
  border: 1px dashed #ccc;
}

.break-label {
  font-weight: 700;
  color: #13294B;
}

.break-time {
  font-size: 14px;
  font-weight: 600;
  color: #777;
  font-variant-numeric: tabular-nums;
}

.section-note {
  color: #555;
}

/* HORIZONTAL RULE STYLING (DIVIDER) */
hr {
  margin: 2rem 0;
  padding: 0;
  border: none;
  border-top: 1px solid #ccc;
}

/* -----------------------------------
   4) BASIC INFO
--------------------------------------*/
.info ul {
  list-style-type: none;
  padding: 0;
}

.info ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.info strong {
  color: #13294B;
}

/* -----------------------------------
   5) SCHEDULE TABLE
--------------------------------------*/
.schedule {
  margin: 0;
  padding: 0;
  margin-bottom: 30px;
}

.schedule table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  border: 1px solid #ddd;
}

.schedule thead th {
  background-color: #f2f2f2;
  padding: 0.75rem;
  text-align: center;
  color: #000;
  font-weight: 700;
  border: 1px solid #ddd;
}

.schedule tbody td {
  border-bottom: 1px solid #eee;
  padding: 1rem;
  padding-top: 15px;
  vertical-align: top;
  border: 1px solid #ddd;
  line-height: 1.7;
}

/* Time column styling (gray cells) */
.time-block {
  text-align: center;
  background-color: #f5f5f5;
  width: 155px;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.time-block .time-sub {
  display: block;
  margin-top: 5px;
  font-weight: 500;
  font-size: 12px;
  color: #888;
  font-variant-numeric: tabular-nums;
}

li {
  margin-bottom: 30px;
}

/* Link styling for papers */
.paper-link {
  color: #0066cc;
  text-decoration: underline;
}

/* -----------------------------------
   6) SHARED BULLET LISTS
--------------------------------------*/
.bullets {
  padding-left: 22px;
}

.bullets li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.bullets strong {
  color: #13294B;
}

/* -----------------------------------
   7) ORGANIZERS
--------------------------------------*/
.organizer {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  padding: 25px 0;
  border-top: 1px solid #e2e2e2;
}

.organizer-photo {
  width: 160px;
  height: 200px;
  object-fit: cover;
  flex: none;
  border: 1px solid #ddd;
}

.organizer-body {
  flex: 1 1 auto;
  min-width: 0;
}

.organizer-body h3 {
  margin: 0 0 6px;
  color: #13294B;
  font-size: 19px;
  font-weight: 700;
}

.organizer-role {
  margin: 0 0 8px;
  font-weight: 600;
  color: #FF5F07;
  line-height: 1.5;
}

.organizer-contact {
  margin: 0 0 14px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.organizer-body p {
  line-height: 1.7;
}

/* -----------------------------------
   8) MATERIALS & LINKS
--------------------------------------*/
.link-list {
  list-style-type: none;
  padding: 0;
}

.link-list li {
  margin-bottom: 14px;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.link-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: #FF5F07;
  font-weight: 600;
}

.cite {
  display: block;
  font-size: 13px;
  color: #777;
  margin-top: 2px;
}

.tba {
  color: #888;
  font-weight: 400;
  font-size: 13px;
}

/* -----------------------------------
   9) CONTACT
--------------------------------------*/
.contact p {
  margin-bottom: 0;
}

/* FOOTER */
footer {
  text-align: center;
  margin-top: 2rem;
  color: #888;
  font-size: 0.85rem;
  width: 80%;
  line-height: 1.6;
}

/* -----------------------------------
   10) RESPONSIVE
--------------------------------------*/
@media screen and (max-width: 1268px) {
  .content {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0;
    margin: 0px;
  }

  .header-logo {
    padding-left: 30px;
  }

  .title {
    font-size: calc(1vw + 17px);
  }

  .title span {
    font-size: calc(0.8vw + 5px);
  }

  section {
    margin-bottom: 30px;
    border-top: 3px solid #ccc;
  }

  .info {
    width: 100%;
    font-size: 14px;
  }

  .info ul li {
    font-size: 14px;
  }

  .school-name {
    font-size: max(15px, 3vw);
  }

  .introduction p,
  .audience p,
  .bullets li,
  .organizers p,
  .link-list li {
    font-size: 14px;
  }

  .schedule thead {
    display: none;
  }

  .schedule tr {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    font-size: 12px;
    margin-bottom: 30px;
  }

  .schedule tr td {
    width: 100%;
    font-size: 14px;
    border: none;
  }

  .time-block {
    font-size: 14px;
    width: 100%;
    text-align: left;
    white-space: normal;
  }

  .time-block .time-sub {
    display: inline;
    margin-top: 0;
  }

  .time-block .time-sub::before {
    content: "\00a0\00b7\00a0";
  }

  .part-heading {
    margin-top: 26px;
  }
}

@media screen and (max-width: 768px) {
  .presenters {
    font-size: 14px;
  }

  .presenters-affil {
    font-size: 12px;
  }

  .header-logo {
    padding-left: 0;
  }

  .school-name {
    font-size: 14px;
    padding: 0.5rem 0.75rem;
  }

  .title {
    font-size: 20px;
  }

  .title span {
    font-size: 13px;
  }

  .introduction p {
    font-size: 13px;
  }

  .organizer {
    flex-direction: column;
    gap: 16px;
  }

  .organizer-photo {
    width: 130px;
    height: 165px;
  }

  .organizer-contact {
    font-size: 12px;
  }
}
