
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdfdfd;
}

header {
    text-align: center;
    padding: 1rem;
}

.logo {
    max-width: 250px;
    height: auto;
}

.sub-nav {
    text-align: center;
    margin-bottom: 1rem;
}

.sub-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 0 0.5rem;
}

.section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
    line-height: 1.6;
}

/* Scoped styles only for gallery images */
.article-images {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem auto;
    max-width: 1000px;
    padding: 0 1rem;
}

.article-images .image-wrapper {
    position: relative;
    flex: 1 1 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    overflow: hidden;
    text-align: center;
}

.article-images .image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-images .image-wrapper:hover img {
    transform: scale(1.1);
    z-index: 1;
}

.article-images .caption {
    opacity: 0;
    transition: opacity 0.4s ease;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    color: #444;
}

.article-images .image-wrapper:hover .caption {
    opacity: 1;
}

@media (max-width: 768px) {
  .article-images .image-wrapper {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}

@media (max-width: 500px) {
  .article-images .image-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Default image styles for other site-wide use */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    background-color: #f4f4f4;
    margin-top: 3rem;
}

.social a {
    margin: 0 0.5rem;
    text-decoration: none;
    color: #333;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
