/* --- Header layout --- */
.page-header {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

/* --- Left column --- */
.header-left {
  font-size: 1rem;
  line-height: 1.55;
}

.header-left ul {
  list-style: none;
  margin: 0.4rem 0 0.8rem 0;
  padding: 0;
}

.header-left li {
  display: flex;
  gap: 0.6rem;
  margin: 0.25rem 0;
}

.header-left li::before {
  content: "•";
  flex: 0 0 1em;
  text-align: center;
  opacity: 0.7;
}





/* Menu */


.navbar {

    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    gap: 2rem;
    background: white;          /* important so text stays readable */
    padding: 1rem 0;            /* keep your spacing */
    border-bottom: 1px solid #e5e5e5;
    font-weight: 500;
}

.navbar a {
  text-decoration: none;
  color: #333;
  position: relative;
  padding-bottom: 4px;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #0056b3;
  transition: width 0.2s ease;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar a.active {
  font-weight: 700;
}

.nav-section {
 /* font-size: 0.85rem;*/
  font-weight: 350;
  text-decoration: none;
  color: #666;
  margin-left: -0.8rem;
}



html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}




.profile-photo {
  float: left;
  width: 140px;
  border-radius: 8px;
  margin: 0 1.2rem 0.6rem 0;
}

/* --- Right column (contact box) --- */
.header-right {
  background: #f6f8fb;
  border: 1px solid #c8d4e3;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
}

.header-right h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}


/* --- Font Awesome spacing --- */
.header-right i {
  width: 1.2em;
  text-align: center;
  margin-right: 0.4em;
  color: #2c5aa0;
}

/* --- Mobile fallback --- */
@media (max-width: 900px) {
  .header {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    float: none;
    display: block;
    margin: 0 auto 1rem auto;
  }
}




mark {
  background-color: #fff3b0;  /* soft warm yellow */
  padding: 0.1em 0.25em;
  border-radius: 3px;
}



body {
    max-width: 820px;
    margin: auto;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.55;
}


table {
  border-collapse: collapse;
}

tr:nth-child(even) {
  background-color: #ffffff;
}

thead th {
    border-bottom: 2px solid black;
    text-align: left;
}





.people p {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 1rem;
    row-gap: 0.2rem;
    align-items: start;
    margin: 1rem 0;
}

.people p > img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  grid-row: 1 / span 3;   /* keeps photo aligned with name+topic */
}




/* boxes */

.info,
.warning,
.note {
    position: relative;
    padding: 1rem 1.2rem 1rem 3.2rem;  /* extra space for bigger icon */
    margin: 1.2rem 0;
    border: 1px solid;
    border-radius: 8px;
    line-height: 1.5;
}

.info {
  background-color: #eef4ff;   /* very light blue */
  border-color: #3a6fdc;       /* darker blue */
  color: #1f3b73;
}

.warning {
  background-color:  #fff3b0;
  border-color: #e06c00;
  color: #5a2d00;
}

.note {
  background-color: #f7f7f7;
  border-color: #999;
  color: #333;
}

.info::before,
.warning::before,
.note::before {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  font-size: 1.4rem;           /* bigger icon */
}

.info::before {
  content: "\f05a";            /* info-circle */
  color: #3a6fdc;
}

.warning::before {
  content: "\f071";            /* exclamation-triangle */
  color: #e06c00;
}

.note::before {
  content: "\f249";            /* sticky-note */
  color: #666;
}



/* Section stuff */

.sec {
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 10px;
  background: #f8f8f8;/*#f6f9ff;*/   /* very light blue */
/*  border-right: 4px solid #c6d6f5;*/
  border-left: 4px solid #c6d6f5;
}

/* Keep headings tight inside sections */
.sec > h2,
.sec > h3 {
  margin-top: 0;
}

/*.section {
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 10px;
  background: #f6f900;
}*/
/*.section {
  background: #f6f9ff;
  border-left: 4px solid #c6d6f5;
}*/


/*
.section > h2,
.section > h3 {
  margin-top: 0;
}*/

/* swap colors */
/*.sec:nth-child(odd)  { background: #f6f9ff; }*/
/*.sec:nth-child(even) { background: #f8f8f8; }*/
