/* ===== Site-Wide Styles ===== */
body {
  font-family: sans-serif;
  background: white;
  padding: 2rem;
  margin: 0;
  text-align: center;
}

h1 {
  margin-bottom: 2rem;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Navigation Bar ===== */
nav {
  background: #2b5dab;
  padding: 1rem;
  text-align: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}
nav a.active {
  text-decoration: underline;
  color: #ffd700; /* or any highlight color you prefer */
}

/* ===== Latest Cartoon on Home Page ===== */
#latest img {
  /* delete or comment this block */
}

.page-wrap {
  max-width: 1000px;
  margin: auto;
  padding: 2rem;
  text-align: center;
}

.latest-wrap img {
  max-width: 400px;
  width: 100%;
  border: 4px solid #222;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: white;
  padding: 0.5rem;
  margin-top: 2rem;
}

/* ===== Gallery Page ===== */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.item {
  background: white;
  padding: 1rem;
  border: 1px solid #ccc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex: 1 1 Auto;
  max-width: none;          /* ← Remove fixed width */
}

.item img {
  height: 350px;           /* ← Fixed visual height */
  width: auto;             /* ← Let wide cartoons breathe */
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.caption {
  margin-top: 0.5rem;
  font-weight: bold;
  color: #333;
  word-break: break-word;
}

/* ===== About Page ===== */
.about-content {
  max-width: 800px;
  margin: 2rem auto;
  text-align: left;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0
}

footer {
  background: #2b5dab;
  color: #eee;
  text-align: center;
  padding: 1rem 1rem;
  margin-top: 4rem;
  font-size: 0.9rem;
  
}
footer a {
  color: #80cfff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
