.main-container {
    display: flex;
    border: 1px solid #f7f7f7;
    padding: 32px;
    margin: 32px;
    border-radius: 12px;
}
.text-content {
    width: 30%;
    padding-right: 20px;
}
.text-content h1 {
    font-size: 2.5em;
    margin: 0 0 10px;
}
.text-content p {
    color: #666;
    font-size: 0.9em;
    margin: 0 0 20px;
}
.explore-button {
    display: inline-block;
    padding: 15px 35px;
    color: #fff;
    background-color: #111;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.explore-button:hover {
    color: #888;
}
.image-layout {
    width: 70%;
    display: flex;
}
.primary-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-right: 20px;
}
.thumbnail-grid {
    width: 40%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.thumbnail-grid div img {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Maintains square ratio */
    object-fit: cover;
    border-radius: 12px;
}
@media (max-width: 768px) {
    .main-container {
    flex-direction: column;
    }
    .text-content {
    width: 100%;
    }
    .image-layout {
    width: 100%;
    }
    .thumbnail-grid {
    width: 100%;
    margin-bottom: 20px;
    }
    .primary-image img {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    }
    .thumbnail-grid div img {
    width: 48%;
    height: 0;
    padding-bottom: 48%; /* Keeps ratio on resize */
    }
}