/* Photography page compact layout - 3 columns */
/* Target the main content area for photography section */
.photography .post-entry {
  display: inline-block;
  width: 30%;
  margin: 1.5%;
  vertical-align: top;
  box-sizing: border-box;
}

/* Alternative approach - target the posts container */
.posts-entry {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.posts-entry .post-entry {
  flex: 0 0 calc(33.333% - 10px);
  margin-bottom: 15px;
}

/* Force grid layout on the posts container */
.posts-entry {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 15px !important;
}

.posts-entry .post-entry {
  width: 100% !important;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .posts-entry {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .photography .post-entry {
    width: 48%;
  }
}

@media (max-width: 480px) {
  .posts-entry {
    grid-template-columns: 1fr !important;
  }
  
  .photography .post-entry {
    width: 100%;
  }
}

.photography-entry {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.photography-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.photography-entry img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.photography-entry-content {
  padding: 10px;
}

.photography-entry h3 {
  margin: 0 0 5px 0;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.2;
}

.photography-entry p {
  margin: 0 0 5px 0;
  font-size: 12px;
  color: #666;
  line-height: 1.3;
}

.photography-entry .date {
  font-size: 11px;
  color: #999;
  margin: 0;
}

/* Override Hugo's default post entry styles for photography */
.post-entry {
  margin-bottom: 15px !important;
}

.post-entry .entry-cover {
  margin-bottom: 10px !important;
}

.post-entry .entry-cover img {
  height: 150px !important;
  object-fit: cover !important;
}

.post-entry .entry-header h2 {
  font-size: 16px !important;
  margin-bottom: 5px !important;
}

.post-entry .entry-content {
  font-size: 13px !important;
  line-height: 1.3 !important;
}

.post-entry .entry-footer {
  font-size: 11px !important;
  margin-top: 5px !important;
}
