/* Attachment Page Style */
body.attachment {
  background-color: #001928;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

.attachment .site-main {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #001928;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.attachment .entry-header {
  text-align: center;
  margin-bottom: 30px;
}

.attachment .entry-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff; /* changed to red */
  margin: 0;
}

.attachment .attachment-image {
  text-align: center;
  margin-bottom: 20px;
}

.attachment .attachment-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.attachment .attachment-caption {
  text-align: center;
  font-size: 12px;
  color: #ffffff	;
  margin-bottom: 30px;
  font-weight: bold;
}

/* Larger caption text on desktop */
@media (min-width: 992px) {
  .attachment .attachment-caption {
    font-size: 20px; /* adjust this value as you like */
  }
}

/* Keep container styling */
.attachment .custom-link {
  text-align: center;
  margin-bottom: 30px;
}


/* Next/Previous navigation */
.image-navigation {
  text-align: center;
  margin-top: 30px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  max-width: 400px;
  margin: 0 auto;
}

.nav-links a {
  color: #ff2d75;
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  text-decoration: none;
}
a {
  text-decoration: none !important;
}
a:hover {
  text-decoration: none !important;
}
/* Hide the JS text in the footer by matching your background color */
body > pre:last-of-type,
body > script:last-of-type {
    color: #001928;      /* Matches background */
    font-size: 0;        /* Optional: collapse space */
    line-height: 0;      /* Optional: collapse line height */
}