* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  color: #212121;
  background: #fff;
  line-height: 1.6667;
}

a {
  color: #185676;
  text-decoration: underline;
}

a:hover {
  color: #1e6c93;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Banner */
.site-header {
  background-color: #1e6c93;
  color: #fff;
  padding: 60px 0;
  position: relative;
}

.site-header.has-banner {
  background-image: url('assets/img_58bcfc594420.jpg');
  background-size: cover;
  background-position: center;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(33,33,33,0.4);
}

.site-header .container {
  position: relative;
  z-index: 1;
}

/* Page images */
.page-images {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
  justify-content: center;
}

.page-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-image.banner {
  max-height: 200px;
  width: auto;
}

/* Index page hero image */
.hero-image {
  float: right;
  max-width: 300px;
  margin: 0 0 20px 24px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .hero-image {
    float: none;
    display: block;
    margin: 0 auto 20px;
    max-width: 100%;
  }
}

/* Scaffold gallery */
.scaffold-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

/* Documents section */
.documents-section {
  margin: 24px 0;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 4px;
}

.documents-section h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.doc-list {
  list-style: none;
  padding: 0;
}

.doc-list li {
  padding: 6px 0;
  border-bottom: 1px solid #ddd;
  font-size: 11pt;
}

.doc-list li:last-child {
  border-bottom: none;
}

.doc-list a {
  text-decoration: none;
  font-weight: 400;
}

.doc-list a:hover {
  text-decoration: underline;
}

.doc-size {
  color: #888;
  font-size: 9pt;
}

.doc-list a.doc-pdf::before {
  content: "PDF ";
  display: inline-block;
  background: #c00;
  color: #fff;
  font-size: 7pt;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.doc-list a.doc-office::before {
  content: "OFFICE ";
  display: inline-block;
  background: #1e6c93;
  color: #fff;
  font-size: 7pt;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.doc-list a.doc-other::before {
  content: "FILE ";
  display: inline-block;
  background: #666;
  color: #fff;
  font-size: 7pt;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.site-title {
  font-size: 34pt;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 8px;
}

.site-subtitle {
  font-size: 15pt;
  font-weight: 300;
  line-height: 1.333;
  color: #fff;
}

/* Navigation */
.site-nav {
  background: #212121;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  display: block;
  padding: 11.5px 16px;
  color: rgba(255,255,255,0.87);
  text-decoration: none;
  font-size: 12pt;
  font-weight: 300;
  white-space: nowrap;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.site-nav .nav-toggle {
  display: none;
  padding: 11.5px 16px;
  color: #fff;
  cursor: pointer;
  font-size: 12pt;
}

/* Section styles */
.section {
  padding: 40px 0;
}

.section-gray {
  background: #eee;
}

.section-blue {
  background: #1e6c93;
  color: #fff;
}

.section-blue a {
  color: #fff;
}

.section-blue a:hover {
  color: rgba(255,255,255,0.82);
}

h2 {
  font-size: 34pt;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: #1e6c93;
  margin-top: 30px;
  margin-bottom: 20px;
}

h3 {
  font-size: 19pt;
  font-weight: 400;
  line-height: 1.4;
  color: #1e6c93;
  margin-top: 20px;
  margin-bottom: 12px;
}

h4 {
  font-size: 15pt;
  font-weight: 400;
  line-height: 1.25;
  color: #212121;
  margin-top: 16px;
  margin-bottom: 8px;
}

p {
  font-size: 11pt;
  line-height: 1.6667;
  margin-top: 12px;
}

/* Activity Grid */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.activity-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 24px;
  border-radius: 4px;
  transition: box-shadow 0.2s;
}

.activity-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.activity-card h3 {
  margin-top: 0;
}

.activity-card h3 a {
  text-decoration: none;
  color: #1e6c93;
}

.activity-card h3 a:hover {
  text-decoration: underline;
}

.activity-card .meta {
  font-size: 10pt;
  color: #666;
  margin-top: 8px;
}

.activity-card .tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.activity-card .tag {
  background: #eee;
  color: #333;
  font-size: 9pt;
  padding: 2px 8px;
  border-radius: 3px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 16px;
  font-family: Lato, sans-serif;
  font-size: 11pt;
  border: 2px solid #1e6c93;
  color: #1e6c93;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
  background: transparent;
  cursor: pointer;
}

.btn:hover {
  background: rgba(30,108,147,0.1);
  text-decoration: none;
}

.btn-primary {
  background: #1e6c93;
  color: #fff;
}

.btn-primary:hover {
  background: #185676;
}

/* Description sections */
.description-box {
  background: #f5f5f5;
  padding: 24px;
  border-left: 4px solid #1e6c93;
  margin: 16px 0;
}

/* Publications */
.pub-list {
  list-style: none;
}

.pub-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.pub-list li:last-child {
  border-bottom: none;
}

.pub-list .pub-title {
  font-weight: 700;
}

.pub-list .pub-authors {
  font-size: 10pt;
  color: #555;
}

/* Footer */
.site-footer {
  background: #212121;
  color: rgba(255,255,255,0.87);
  padding: 24px 0;
  font-size: 10pt;
  text-align: center;
}

.site-footer a {
  color: rgba(255,255,255,0.87);
}

/* Content page layout */
.content-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}

.breadcrumb {
  font-size: 10pt;
  color: #666;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: #1e6c93;
}

/* Details list */
.detail-list {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 16px;
  margin: 16px 0;
}

.detail-list dt {
  font-weight: 700;
  color: #555;
}

.detail-list dd {
  margin: 0;
}

/* Scaffold items */
.scaffold-item {
  margin: 24px 0;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 4px;
}

.scaffold-item h3 {
  margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .site-title {
    font-size: 24pt;
  }

  .site-subtitle {
    font-size: 13pt;
  }

  h2 {
    font-size: 24pt;
  }

  h3 {
    font-size: 17pt;
  }

  .site-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .site-nav ul.open {
    display: flex;
  }

  .site-nav .nav-toggle {
    display: block;
  }

  .site-nav a {
    white-space: normal;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

  .detail-list {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
