body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fafafa;
  color: #333;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
}

/* Header */
.header {
  background: #f0e8e3; /* light terracotta tint */
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0d5cd;
}

.nav-left {
  flex: 1;
}

.site-title {
  font-weight: 600;
  text-decoration: none;
  color: #b44a28;
  font-size: 1.1rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.95rem;
}

.nav-right a {
  text-decoration: none;
  color: #333;
}

.nav-right a:hover {
  color: #c05a36;
}

.lang-switch {
  margin-left: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Small screens */
@media (max-width: 700px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-right {
    flex-wrap: wrap;
    margin-top: 8px;
    gap: 10px;
  }
}


/* Footer */
.footer {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  color: #777;
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin: 30px 0 10px;
}

.hero-text {
  flex: 1 1 280px;
}

.hero-image {
  flex: 0 0 200px;
  text-align: center;
}

.hero-image img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 500;
  color: #b44a28;
  margin: 6px 0 4px;
}

.hero-institution {
  margin: 4px 0 8px;
  font-size: 0.95rem;
  color: #555;
}

.hero-intro {
  margin: 8px 0 14px;
  line-height: 1.5;
}

.hero-buttons .btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #b44a28;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  border: none;
}

.hero-buttons .btn:hover {
  background: #c85c34;
}

/* Links pills */
.links-pills {
  margin: 10px 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.links-label {
  font-size: 0.9rem;
  color: #555;
}

.links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e0d5cd;
  text-decoration: none;
  font-size: 0.85rem;
  color: #444;
  background: #fff;
}

.pill:hover {
  background: #f7eee9;
  color: #b44a28;
}

/* Home main sections */
.home-main {
  margin-top: 10px;
}

.home-section {
  margin-bottom: 28px;
}

.home-section h2 {
  margin-bottom: 10px;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 10px 0 4px;
}

.card {
  display: block;
  padding: 14px 14px 16px;
  border-radius: 12px;
  border: 1px solid #e4d8cf;
  text-decoration: none;
  background: #fff;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  color: #b44a28;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #d0b8a7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* News list */
.news-list {
  list-style: none;
  padding-left: 0;
  margin-top: 4px;
}

.news-list li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 700px) {
  .hero {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .hero-image {
    align-self: center;
  }
}


h1 {
  color: #b44a28; /* terracotta */
}
a {
  color: #c05a36;
}
a:hover {
  color: #e0663f;
}

/* Page content */
.page {
  margin-top: 20px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.gallery img:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0.95;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

.post {
  max-width: 800px;
  margin: 20px auto;
}

.post-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 12px;
}

.post-tag {
  font-style: italic;
}

.post-lang-switch {
  margin-bottom: 16px;
}

.post-lang-switch a {
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px dashed #c05a36;
}

.post-lang-switch a:hover {
  border-bottom-style: solid;
}

.post-content p {
  line-height: 1.6;
  margin-bottom: 12px;
}

