/* Main Content */

.welcome-section {
    flex: 1;
    margin-right: 20px;
    padding: 20px;
    background: #f3bc47;
    color: rgb(0, 0, 0);
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.welcome-section h2 {
    font-size: 1.8rem;
}

.welcome-section p {
    font-size: 1rem;
}

.recent-post {
    flex: 2;
    background: #f3bc47;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.recent-post h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.latest-story {
    background: rgba(255,255,255,0.10);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.latest-story img {
    width: 100%;
    height: 100%;
    aspect-ratio: 915 / 513; /* Maintain the correct aspect ratio */
    object-fit: contain; /* Ensure the entire image fits without cropping */
    border-radius: 5px;
    border: 1px solid #231430; /* Thin border around each image */
    cursor: pointer;
}

.latest-label {
    display: none;
}

#latest-title,
#latest-title a,
#latest-date,
.latest-story,
.latest-story * {
    font-family: 'Merriweather', serif !important;
}

#latest-date {
  font-size: 1rem;
  font-style: italic;
  margin: -12px 0 12px 0; /* Reduced top margin for closer spacing */
  color: #000000;
}

.container {
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
    padding: 15px;
    background-image: url('../Images/Misc/Background.png');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
    gap: 16px;
    padding: 8px;
    max-width: 98vw;
  }
  .welcome-section,
  .recent-post {
    margin: 0 0 12px 0;
    padding: 12px;
    font-size: 1rem;
  }
}