body {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    margin: 0;
    padding: 20px;
    color: #333;
}

h1, #overall-page-summary {
	text-align: center;
	margin-bottom: 10px;
}

#overall-page-summary > div {
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

div > ol {
	text-align: left;
}

footer {
	text-align: center;
}

 footer > p > a {
      color: #0077cc;
      text-decoration: none;
    }
 footer > p > a:hover {
      text-decoration: underline;
    }
	
hr {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.gallery-section {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.gallery-item {
    flex: 1 1 300px;
    max-width: 80%;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.image-container img {
    width: 100%;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover .caption {
    opacity: 1;
}

.row-description {
    width: 100%;
    margin-top: 10px;
    text-align: center;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* Portrait class: crop tall images */
.gallery-item.portrait .image-container {
    height: 800px; /* Adjust as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item.portrait img {
    height: 100%;
    width: auto;
    transition: transform 0.4s ease;
}

/* On hover, scale to show more */
.gallery-item.portrait .image-container:hover img {
    transform: scale(1.1);
}