body {
    margin: 0;
    margin-top: 60px;
    font-family: sans-serif;
    font-size: 1rem;
    font-family: "Helvetica", "Verdana", "Roboto", sans-serif;
    line-height: 1.5;
    color: black;
    text-align: justify;
    -webkit-font-smoothing: antialiased;
    background-color: #f5f5f5;
}

.navbar {
    background-color: #333; /* Dark background color */
    color: white;
    position: fixed; /* Fix the navbar to the viewport */
    top: 0; /* Position it at the top of the viewport */
    left: 0; /* Ensure it starts from the left edge */
    width: 100%; /* Ensure it spans the full width of the viewport */
    z-index: 1000; /* Ensure it stays on top of other content */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar ul {
    list-style-type: none; /* Remove bullet points */
    margin: 0;
    padding: 0;
    display: flex; /* Use flexbox to align items horizontally */
    justify-content: center; /* Center the menu items within the navbar */
}

.navbar li a {
    display: block; /* Make the links fill the list item space */
    color: white;
    text-align: center;
    padding: 20px 30px; /* Adjust padding for desired menu height and spacing */
    text-decoration: none; /* Remove underlines from links */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.navbar li a:hover {
    background-color: #575757; /* Change background on hover */
}

.content {
    max-width: 1024px;
    padding: 20px;
    padding-top: 80px;
    margin-right: auto;
    margin-left: auto;
    background-color:inherit;
}

.post_container {
    max-width: 724px;
    margin-right: auto;
    margin-left: auto;
}

img {
    /* padding-bottom: 10px; */
    /* padding-top: 10px; */
    max-width: 100%;
    height: auto; /* Maintains the image's original aspect ratio */
    vertical-align: middle;
}

h1, h2 {
    line-height: 2rem;
    font-size: 2rem;
    color: #0a0002;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: block;
    text-align: center;
}

#highlight {
    border: 2px solid #B88B58;
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 50%;
    text-align: center;
    font: normal 27px / 1.2em "Helvetica Neue", Helvetica, sans-serif;
    color: #B88B58;
}

#country {
    border-left: 3px solid #B88B58;
    padding-left: 10px;
    margin-left: 10px;
    margin-bottom: 50px;
}

h2.grid-caption {
    text-decoration: underline;
    margin: 0 0 7px;
}

div.grid-subcaption {
    color: #0a0002;
    font-weight: 100;
    letter-spacing: 0.6px;
    display: block;
    font-size: 1em;
    text-align: center;
}

div.footer {
    margin-top: 50px;
    height: 50px;
    display: block;
    text-align: center;
    color: #7d7d7d;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  color: inherit;
}

.post-card {
  text-decoration: none;
  background-color: white;
  padding: 10px;
}

.post-card img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.post-caption {
  padding: 0.75rem;
}

.post-caption h2 {
  font-size: 1.1rem;
  margin: 0;
}

.media {
  display: flex;
  align-items: flex-start; /* top-align image & list */
  gap: 20px;
  flex-wrap: wrap;
}

.media-image {
    flex: 0 1 30%;     /* can shrink */
    max-width: 30%;
    height: auto;
    min-width: 250px; /* controls when wrapping happens */
  /* width: 30%; */   /* or max-width */
  /* height: auto; */
}

.media-list {
  flex: 1 1 300px;  /* takes remaining space */
  margin: 0;
  padding-left: 20px;
}

.iframe-container {
  position: relative;
  width: 100%;         /* fill the parent container */
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.collage-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.collage-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.collage-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
