/* --- Typography Setup --- */
@font-face {
  font-family: 'Edition Contextual';
  src: url('EditionContextualUnlicensed-50.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Edition Scriptual';
  src: url('EditionScriptualUnlicensed-50.woff') format('woff');
  font-weight: normal;
  font-style: italic;
}

/* --- Global Styles --- */
body {
  font-family: 'Edition Contextual', serif;
  font-size: 28px;
  line-height: 1.4;
  color: #000000;
  margin: 0;
  padding: 40px;
  background-color: #ffffff;
}

em, i, .italic-font {
  font-family: 'Edition Scriptual', cursive;
  font-style: italic;
  font-size: 28px;
}

/* --- Global Link Styles (Excluding Menu) --- */
a:not(nav a) {
  color: #0000FF;
  text-decoration: underline;
  text-decoration-thickness: 1px; /* Thins the underline */
}

/* --- Navigation --- */
nav {
  margin-bottom: 60px;
}

nav a {
  font-size: 28px;
  text-decoration: none;
  color: #000000;
  margin-right: 20px;
}

/* Keeps the inactive link permanently crossed out with no hover animations */
nav a.crossed-out {
  text-decoration: line-through;
}

/* --- Content Layout --- */
.section-title {
  margin-bottom: 10px;
}

.year-heading {
  margin-bottom: 40px;
}

/* --- Portfolio Work Page --- */
.portfolio-container {
  max-width: 600px;
  margin-top: 40px;
}

.artwork-item {
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
}

.artwork-item img {
  width: 100%;
  height: auto;
  display: block;
}

.artwork-caption {
  font-size: 18px;
  text-align: center;
  margin-top: 20px;
  line-height: 1.3;
}

/* --- Info Page Specifics --- */
.info-content {
  max-width: 800px;
}

.bio-text {
  margin-bottom: 40px;
}

.contact-info {
  margin-bottom: 60px;
}

.exhibition-section h2 {
  font-size: 28px;
  font-weight: normal;
  text-transform: uppercase;
  margin: 0 0 30px 0;
  letter-spacing: 1px;
}

.exhibition-type {
  text-decoration: underline;
  text-decoration-thickness: 1px; /* Thins the underline */
  margin-bottom: 30px;
}

.exhibition-item {
  margin-bottom: 40px;
}

.exhibition-item p {
  margin: 0;
}

/* --- Hover Word Effect --- */
.hover-word {
  transition: color 0.15s ease;
  cursor: default;
}

/* --- Mobile Responsive Rules --- */
@media (max-width: 768px) {
  body {
    padding: 24px 20px; 
    font-size: 20px;     /* Scales down body text, bio, links & lists */
  }

  nav a {
    font-size: 20px;     /* Scales down top navigation menu links */
  }

  em, i, .italic-font {
    font-size: 20px;     /* Scales down script font variations */
  }

  .exhibition-section h2 {
    font-size: 20px;     /* Scales down EXHIBITIONS uppercase header */
  }

  nav {
    margin-bottom: 40px;
  }

  .artwork-caption {
    font-size: 12px;     /* Scales down captions centered under works */
    margin-top: 14px;
  }
  
  .portfolio-container {
    max-width: 100%;     
  }
}
