/* ============================================
   FEATURED ADS COMPONENT - STYLESHEET
   Job-Scouts.com | Featured advertisements
   ============================================ */

/* ========== FEATURED ADS SECTION ========== */
.featured-ads-section {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.03) 0%, rgba(245, 158, 11, 0.05) 100%);
    border-radius: var(--radius-2xl, 1.5rem);
    padding: var(--space-8, 2rem) var(--space-6, 1.5rem);
    margin-bottom: var(--space-8, 2rem);
    border: 1px solid rgba(251, 191, 36, 0.15);
}

.featured-ads-header {
    text-align: center;
    margin-bottom: var(--space-8, 2rem);
}

.featured-ads-header h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-900, #111827);
    margin-bottom: var(--space-2, 0.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3, 0.75rem);
}

.featured-star-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
    }
}

.featured-ads-subtitle {
    color: var(--secondary-600, #4b5563);
    font-size: 0.9375rem;
    margin: 0;
}

/* ========== FEATURED AD CARD ========== */
.featured-ad-card {
    background: white;
    border-radius: var(--radius-xl, 1rem);
    overflow: hidden;
    border: 2px solid rgba(251, 191, 36, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.featured-ad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

.featured-ad-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.4);
}

.featured-badge {
    position: absolute;
    top: var(--space-4, 1rem);
    right: var(--space-4, 1rem);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: var(--space-1, 0.25rem) var(--space-3, 0.75rem);
    border-radius: var(--radius-lg, 0.5rem);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    z-index: 10;
}

.featured-ad-image-wrapper {
    padding: var(--space-6, 1.5rem);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.03) 0%, rgba(245, 158, 11, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    position: relative;
}

.featured-ad-image {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg, 0.5rem);
    transition: transform 0.3s ease;
}

.featured-ad-card:hover .featured-ad-image {
    transform: scale(1.05);
}

.featured-ad-body {
    padding: var(--space-6, 1.5rem);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-ad-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary-900, #111827);
    margin-bottom: var(--space-3, 0.75rem);
    line-height: 1.3;
}

.featured-ad-description {
    color: var(--secondary-600, #4b5563);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: var(--space-5, 1.25rem);
    flex: 1;
}

.featured-ad-cta {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: var(--space-3, 0.75rem) var(--space-6, 1.5rem);
    border-radius: var(--radius-lg, 0.5rem);
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2, 0.5rem);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.featured-ad-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.featured-ad-cta:hover::before {
    left: 100%;
}

.featured-ad-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
    color: white;
    text-decoration: none;
}

.featured-ad-footer {
    padding: var(--space-4, 1rem) var(--space-6, 1.5rem);
    background: rgba(251, 191, 36, 0.04);
    border-top: 1px solid rgba(251, 191, 36, 0.15);
    text-align: center;
}

.featured-ad-company {
    font-size: 0.8125rem;
    color: var(--secondary-600, #4b5563);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2, 0.5rem);
}

.featured-ad-company i {
    color: #f59e0b;
    font-size: 0.75rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .featured-ads-section {
        padding: var(--space-6, 1.5rem) var(--space-4, 1rem);
    }

    .featured-ads-header h5 {
        font-size: 1.25rem;
    }

    .featured-ad-image-wrapper {
        min-height: 120px;
    }

    .featured-ad-image {
        max-height: 80px;
    }
}