/* ---------------- Reset ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ---------------- Force Courier Prime Everywhere ---------------- */
html, body, * {
  font-family: "Courier Prime", Courier, monospace !important;
}

/* Ensure pseudo-elements inherit the font too */
*::before,
*::after {
  font-family: "Courier Prime", Courier, monospace !important;
}

/* ---------------- Body ---------------- */
html, body, main.container, p, span, a {
  font-family: "Courier Prime", Courier, monospace;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.15;
  color: #000;
}

/* ---------------- Titles ---------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Courier Prime", Courier, monospace;
  font-size: 18px;
  font-weight: 700;
}

/* ---------------- Main Container ---------------- */
main.container {
  width: 30vw;
  max-width: 700px;
  padding-left: 2vw;
  padding-top: 2rem;
  margin: 0;
  text-align: left;
}

/* ---------------- Paragraphs ---------------- */
p, .work-paragraph {
  font-size: 15px !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem;
  text-align: left;
}

/* ---------------- Work Paragraph Inline Style ---------------- */

.work-paragraph .work-item {
  display: inline !important;
}

.work-paragraph .work-item::after {
  content: ", ";
}

.work-paragraph .work-item:last-of-type::after {
  content: "";
}


/* ---------------- Hover / Tap Preview Images ---------------- */
#preview-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 72vw;
  height: 100vh;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}

#preview-container.active {
  display: flex;
}

/* Desktop image sizing */
#preview-container img {
  max-width: 25%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 1vh;
}

/* ---------------- Mobile ---------------- */
@media (max-width: 900px) {
  main.container,
  .footer-content-wrapper {
    width: 90%;
    max-width: 700px;
    padding-left: 5%;
    padding-right: 5%;
  }

  #preview-container {
    width: 100vw;
    height: 100vh;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2vh 2vw;
    overflow: auto;
  }

  #preview-container img {
    max-width: 60%;
    max-height: 65vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 1vh;
  }
}

/* ---------------- Bold Utility ---------------- */
.bold {
  font-weight: 700;
}

/* Footer links */
.footer-info a {
  color: #000;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

/* ---------------- Underline Utility ---------------- */
.underline {
  text-decoration: underline;
  text-decoration-color: #000; /* black underline */
  text-decoration-thickness: 1.5px; /* optional: makes it a bit sharper */
}

/* ---------------- Header Links ---------------- */
main.container > p a {
  color: #000;
  text-decoration: underline;
}

main.container > p a:visited {
  color: #000;
}

main.container > p a:hover {
  color: #000;
}

/* -------- Blog Post Layout -------- */

.post-title {
  display: block;
  font-size: 18px;   /* larger title */
  font-weight: 700;  /* bold */
  margin-bottom: 0.4rem;
}

.post-summary {
  display: block;
  font-family: 'Courier Prime', Courier, monospace;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.post-divider {
  display: block;
  margin-bottom: 1rem;
}

.post-body {
  margin-bottom: 1rem;
}

.post-meta {
  margin-top: 1rem;
}

/* Blog images */
.post-image {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.post-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Image caption */
.post-caption {
  display: block;
  font-style: italic;
  font-size: 12px;
  margin-top: 0.3rem;
  margin-bottom: 0.3;
}

.blog-links {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

/* -------- Gallery Arrow -------- */

.gallery-cover-container {
  position: relative;
}

#galleryCover {
  width: 100%;
  display: block;
  cursor: pointer;
}

/* Arrow indicator */
.gallery-arrow {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 18px;
  font-weight: 700;
  pointer-events: none;
}

/* Cover container & arrow */
.gallery-container {
  position: relative;
  width: 100%;
}

#galleryCover {
  width: 100%;
  display: block;
}


.gallery-arrow {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  background: rgba(255,255,255,0.5);
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: auto; /* ← needed to allow clicks */
}
