html, body {
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  line-height: 1.65;
  color: #222;
  background-color: #ffffff;
  
  max-width: 900px;
  margin: 28px auto;
  padding: 0 24px;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 1.2em;
  color: #222;

  border-bottom: 1px solid #ddd;
  padding-bottom: 0.25em;

  margin-top: 1.0em;
  margin-bottom: 0.4em;
}

.section-subtitle {
  margin-top: 0.8em;
  margin-bottom: 0em;
  padding-bottom: 0.6em;
  border-bottom: 1px solid #ddd;
  color: #444;
}

.last-updated {
  margin-top: 0.8em;
  font-size: 0.85em;
  color: #999;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 2.5em;
  margin-bottom: 0.2em;
  color: #111;
}

h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 1.05em;
  color: #222;

  border-bottom: 0.8px solid #ddd;
  padding-bottom: 0.2em;
  
  margin-top: 0.8em;
  margin-bottom: 0.3em;
}

h4, h5 {
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #111;
}

h4 {
  font-size: 1.2em;
  margin-top: 1.2em;
  margin-bottom: 0.4em;
  font-weight: 400;
  padding-bottom: 0.2em;
}

h5 {
  font-size: 1.5em;
  padding-bottom: 0.2em;
  margin-top: 1.4em;
  margin-bottom: 0.4em;
  font-weight: 500;
}

sub {
  font-size: 0.8em;
  vertical-align: -0.15em;
  line-height: 1;
}

.about-text p {
  margin: 0.3em 0; 
  line-height: 1.6;
  text-align: justify;
  color: #222;
}

/* NAVIGATION */

.navbar {
  display: flex;
  gap: 2em;
  padding: 0.8em 0;
  
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  
  margin-top: 24px;
  margin-bottom: 28px;
  
  font-size: 0.95em;
}

.navbar a {
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 400;
  color: #444;
  letter-spacing: 0.02em;
}

.navbar a:hover {
  color: #000;
  text-decoration: underline;
}

.entry {
  margin-bottom: 1.2em;
}

.entry-title {
  font-size: 1.05em;
  display: inline-block;
  margin-bottom: 0.1em;
}

.date {
  color: #888;
  font-weight: 400;
  margin-left: 6px;
}

strong {
  font-weight: 500;
}

a {
  color: inherit;
  text-decoration: none;
  font-weight: 400;
}

a:hover {
  text-decoration: underline;
}

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

p {
  margin: 0.4em 0;
  line-height: 1.6;
  color: #222;
}

.update {
  color: #888;
  font-weight: 400;
}

footer {
  border-top: 1px double #ddd;
  margin-top: 3em;
  padding-top: 1em;
  font-size: 0.9em;
  color: #888;
  text-align: center;
}

/* NEWS */

.news-entry {
  margin: 0.4em 0;
}

.news-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 0.2em 0;
  display: flex;
  align-items: center;
  gap: 0.6em;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.95em;
  color: #222;
}

.news-toggle:hover {
  color: #000;
}

.news-date {
  white-space: nowrap;
  color: #666;
  font-size: 0.9em;
}

.news-title {
  flex: 1;
}

.chevron {
  font-size: 0.8em;
  color: #888;
  transition: transform 0.2s ease;
}

.news-detail {
  display: none;
  margin-left: 0em;
  margin-top: 0.2em;
  font-size: 0.9em;
  color: #444;
  line-height: 1.5;
  text-align: justify;
}

.news-entry.open .news-detail {
  display: block;
}

.news-entry.open .chevron {
  transform: rotate(180deg);
}


.work-item a:hover{
  text-decoration-color: #999;
}

/*CONTACT ICONS*/

.name-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-links img {
  width: 26px;
  height: 26px;
  opacity: 0.75;
  margin-left: 7px;

  vertical-align: middle;
  position: relative;
  top: -1px;
  
  transition: opacity 0.2s ease;
}

.icon-links img:hover {
  opacity: 1;
}

.icon-links a,
.icon-links a * {
  text-decoration: none !important;
}

.icon-links a:hover,
.icon-links a:hover * {
  text-decoration: none !important;
}

@media (max-width: 600px) {
  
  .name-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25em;
    text-align: center;
  }

  .name-row h1 {
    margin: 0;
    text-align: center;
  }

  .name-row .icon-links {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin-top: 0.1em;
  }
  
  .name-row .icon-links img {
    width: 20px;
    height: 20px;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 0.6em;
  }

  .about-text p {
    text-align: left;
  }

  .news-detail p {
    text-align: left;
  }
  
  .news-toggle {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1em;
  }

  .news-date {
    order: -1;
    font-size: 0.8em;
    color: #888;
  }

  .news-title {
    order: 0;
  }

  .chevron {
    order: 1;
    align-self: flex-end;
  }
}
