/* Parent div to align the image */
.logos-container {
    display: flex;
    justify-content: center;  /* Centers the logo horizontally */
    align-items: center;      /* Centers the logo vertically */
    height: 100%;             /* Ensures it takes up available space */
    flex-wrap: wrap;          /* Allows wrapping on smaller screens */
}

/* Logo sizes */
.logos-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.logos-icon-small {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logos-icon {
        width: 64px;
        height: 64px;
    }

    .logos-icon-small {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .logos-icon {
        width: 50px;
        height: 50px;
    }

    .logos-icon-small {
        width: 40px;
        height: 40px;
    }
}

/* Image container */
.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Overlay styling */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
    color: white;
    text-align: center;
    padding: 3px;
}

.image-overlay h2 {
    margin: 0;
    color: white;
    font-size: 14px !important; /* Default for large screens */
    font-weight: bold;
    text-decoration: none; /* Removes underline */
}

/* Responsive font sizes for overlay text */
@media (max-width: 1024px) {
    .image-overlay h2 {
        font-size: 10px !important;
    }
}

@media (max-width: 768px) {
    .image-overlay h2 {
        font-size: 8px !important;
    }
}

@media (max-width: 480px) {
    .image-overlay h2 {
        font-size: 6px !important;
    }
}

.image-overlay a {
    text-decoration: none; 
    color: inherit; /* Inherits the white color from h2 */
}

.image-overlay a:hover {
    color: #f1f1f1; /* Lighten the text on hover */
}

/* Responsive image */
.post-image {
    width: 80%; /* Make image responsive */
    max-height: 150px; /* Limit image height */
    object-fit: cover; /* Crop excess image */
    border-radius: 10px; /* Optional: Adds rounded corners */
}

@media (max-width: 768px) {
    .post-image {
        width: 90%;
        max-height: 130px;
    }
}

@media (max-width: 480px) {
    .post-image {
        width: 100%;
        max-height: 100px;
    }
}

/* Info box */
.info-box {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .info-box {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .info-box {
        padding: 8px;
        font-size: 14px;
    }
}

.header-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 20px;
}

.header-block h2, .header-block h3 {
    margin: 0 0 10px;
}

.header-block p {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.header-image {
    max-width: 270px;
    width: 90%;
    height: auto;
    flex-shrink: 0;
}

/* Responsive Design for Small Screens */
@media screen and (max-width: 768px) {
    .header-block {
        flex-direction: column;
        text-align: center;
    }

    .header-image {
        max-width: 80%;
        margin-top: 20px;
    }
}

/* Optional Badge Styles */
.badge {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.badge-secondary {
    background-color: #6c757d;
}

.badge-highlight {
    background-color: #ffc107;
}

.badge-success {
    background-color: #28a745;
}

.badge-family {
    background-color: #ff6f61;
}


