/* ===== GENERAL ===== */
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #222;
  background: #fff;
  line-height: 1.7;
}

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

/* ===== HEADER WITH BACKGROUND IMAGE ===== */
.header {
  position: relative;
  background-image: url('/assets/header.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;

  padding: 30px 0;  
}

/* Dark overlay for readability */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* Keep content above overlay */
.header-inner {
  position: relative;
  z-index: 1;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.name {
  font-size: 22px;
  font-weight: bold;
}

/* Navigation */
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
  font-weight: 500;
}

nav a:hover {
  border-bottom: 1px solid white;
}

/* ===== LAYOUT ===== */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

/* ===== SIDEBAR ===== */
.sidebar {
  font-size: 14px;
}

.profile {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* ===== MAIN CONTENT ===== */
.main-content h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.main-content h2 {
  margin-top: 30px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid #eee;
  margin-top: 60px;
  padding: 20px 0;
  font-size: 14px;
  color: #777;
}

.paper-link {
  text-decoration: none;   /* removes underline */
  color: inherit;          /* keeps same color as surrounding text */
}

.paper-link:hover {
  text-decoration: none;   /* still no underline on hover */
  color: #008080;          /* optional: subtle teal hover (fits your style) */
}
