
.static-gallery-class {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Default */
    gap: 15px;
    margin-top: 0; /* Remove the top margin */
    padding: 15px;
}

.static-places-element {
    position: relative;
    overflow: hidden;
    /* Set a fixed aspect ratio here. Adjust the padding-bottom value */
    /* to control the aspect ratio. For a 16:9 ratio, it's 56.25% (9 / 16 * 100). */
    /* For a 4:3 ratio, it's 75% (3 / 4 * 100). You might need to experiment */
    /* to find a ratio that looks good with your images. */
    padding-bottom: 56.25%; /* Example: 16:9 aspect ratio */
    height: 0; /* Collapse the element's inherent height */
}

.static-image-element {
    position: relative;
    overflow: hidden;
    /* Set a fixed aspect ratio here. Adjust the padding-bottom value */
    /* to control the aspect ratio. For a 16:9 ratio, it's 56.25% (9 / 16 * 100). */
    /* For a 4:3 ratio, it's 75% (3 / 4 * 100). You might need to experiment */
    /* to find a ratio that looks good with your images. */
    padding-bottom: 56.25%; /* Example: 16:9 aspect ratio */
    height: 0; /* Collapse the element's inherent height */
}

.static-image-element img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the container without distortion */
    transition: opacity 0.3s ease-in-out; /* Optional */
}

.static-image-element .image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.static-image-element .heading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.0);
    color: white;
    text-align: left;
    padding: 20px;
    font-size: 44px;
    opacity: 1;
}

.heading-title {
  font-size: 26px; /* Adjust font size as needed */
}

.static-article-text {
  position: absolute; /* NEW: Take it out of normal flow */
  top: 0; /* NEW: Align to the top of the parent */
  left: 0; /* NEW: Align to the left of the parent */
  width: 100%; /* NEW: Make it fill 100% of the parent's width */
  height: 100%; /* NEW: Make it fill 100% of the parent's height (now that it's absolutely positioned) */

  padding-top: 0px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  box-sizing: border-box; /* Still crucial for border/padding inclusion */
  overflow-y: auto; /* Enable vertical scrolling if content overflows */

  background-color: rgba(255, 255, 255, 0.85); /* Slightly transparent white/off-white */
  border: 1px solid rgba(0, 0, 0, 0.3); /* Darker border */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05); /* Very soft, general shadow */
}

.static-article-text h1 {
  font-size: 12pt;
  font-family: Helvetica, Arial, sans-serif;
  color: #333; /* Darker text for readability on light background */
}

.static-article-text h2 {
  font-size: 12pt;
  font-family: Helvetica, Arial, sans-serif;
  font-style: italic;
  color: #555;
}

.static-article-text h3 {
  font-size:11pt;
  font-family: Helvetica, Arial, sans-serif;
  color: #666;
}

.static-image-element:hover .image-overlay {
    opacity: 1;
}

.brand-logo-image {
  width: 115px;
  max-width: 100%;
  height: auto;
  margin-top: 10px; 
  margin-bottom: 2px; 
}


@media (min-width: 769px) {
    .static-gallery-class {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}


@media (max-width: 768px) {
    .static-gallery-class {
        grid-template-columns: 1fr;
        margin: 0px;
    }

	.static-places-element {
	  height: 100px;
	  padding-bottom: 5%;
	}

	.image-grid-container {
	  width: 100%;
	}
}
