.blog-content .blog-image-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem; 
  margin: 1.5rem 0;
}

/* Individual blog images */
.blog-content .blog-img {
  flex: 1 1 250px; 
  max-width: 250px; 
  aspect-ratio: 1 / 1; 
  object-fit: cover; 
  border-radius: 8px;
  cursor: var(--cursor-pointer);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover zoom and shadow */
.blog-content .blog-img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

#photoModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(46,46,46,0.9);
}

#closeModal {
  position: absolute;
  top: 15px; right: 35px;
  color: white;
  font-size: 60px;
  cursor: var(--cursor-pointer);
  z-index: 1002;
}

.modal-content {
  position: relative;
  max-width: 90%;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}

.modal-inner {
  position: relative;
  display: inline-block;
  padding: 10px;
}

#modalImage {
  max-width: 100%;
  height: auto;
  border: 10px solid white;
  display: block;
  margin: auto;
}

#modalCaption {
  color: white;
  margin-top: 10px;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  font-size: 2rem;
  color: white;
  padding: 5px 10px;
    cursor: var(--cursor-pointer);
  z-index: 1001;
}

#prevPhoto { left: -40px; }
#nextPhoto { right: -40px; }

@media (max-width: 768px) {
  .modal-content { max-width: 80%; }
  #prevPhoto { left: -10px; }
  #nextPhoto { right: -30px; }
  .blog-content .blog-img {
    flex: 1 1 45%; /* two per row on mobile */
    max-width: none;
  }
}


h1 {
  font-size: 2.2rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 small {
  font-size: 0.55em;
  font-weight: 500;
  margin-left: 0.6rem;
}

h1 small a {
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
}

h1 small a:hover {
  opacity: 1;
}


details {
  background-color:  #181414;
    padding:10px;
  border-color: #d0bfaf;
  color:#d0bfaf;
  border-style: double;
  border-width: 4px;
  box-sizing: border-box;
  margin-bottom:10px;
}

details summary {
  cursor: pointer;
  font-weight: 600;
  margin: 0;
  list-style: none;
}

details[open] {
  background-color:  #181414;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
}

.tag-list a {
  display: inline-block;
  text-decoration: none;
  padding: 0.25rem 0.6rem;
  border-radius: 9px;
  background: #d0bfaf;
  font-size: 0.9rem;
  margin-left: 5px;
}

.tag-list a:hover {
  background: #e0e0e0;
}


.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.1rem;
}

.post-list li {
  background-color: #daccb9;
  background-image: url("/images/graphics/black-paper.png"); 
  background-size: auto;
  background-repeat: repeat;
   border-color: #2d1b1f;
  border-style: double;
  border-width: 4px;
  box-sizing: border-box;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  font-size: 15px;
  line-height: 1.4;
  overflow: hidden;
  transition: transform 0.15s ease;
}

.post-list li:hover {
  transform: translateY(2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.post-item {
  display: block;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: inherit;
}

.post-item h2 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}


@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }

  .post-item {
    padding: 0.9rem 1rem;
  }
}

