/**
 * index.css (page css).
 */
.featured-index-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        padding: 1rem 3rem;
    }
    .featured-index-container h1 {
        align-self: center;
    }
    .logo-container {
        margin-bottom: 30px;
        align-self: center;
    }
    .logo-container img {
        max-width: 300px;
        height: auto;
    }

    /* ── Featured Ads Grid ── */
    .featured-ads__title {
        font-size: 1.3rem;
        margin: 1rem 0;
        align-self: center;
    }

    .featured-ads__grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 0.75rem;
        margin: 50px 0;
    }
    @media screen and (max-width: 550px) {
        .featured-ads__grid {
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        }
        .featured-index-container {
            padding: 1rem;
        }
    }

    .featured-ads__item {
        display: flex;
        flex-direction: column;
        text-decoration: none;
        color: inherit;
        border: 1px solid #ddd;
        border-radius: 4px;
        overflow: hidden;
        transition: box-shadow 0.2s;
    }

    .featured-ads__item:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .featured-ads__thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        background-color: #f0f0f0; /* Placeholder color so users see a box */
        display: block;
        object-fit: cover;
    }

    .featured-ads__no-image {
        width: 100%;
        aspect-ratio: 4 / 3;
        display: flex;
        align-items: center;
        justify-content: center;
          }
.featured-ads__label {
        padding: 0.35rem 0.5rem;
        font-size: 0.75rem;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }