/* Outer wrapper when "Ads by Ignite" disclosure is shown (shortcode show_ad_notice) */
.ignite-offer-wall-outer {
    position: relative;
}

.ignite-offer-wall-ad-notice {
    position: absolute;
    top: 6px;
    right: 8px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
    color: #64748b;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    pointer-events: none;
    user-select: none;
}

.ignite-offer-wall-ad-notice__flame {
    flex-shrink: 0;
    color: #f97316;
}

.ignite-offer-wall-outer--dark .ignite-offer-wall-ad-notice {
    color: #94a3b8;
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(71, 85, 105, 0.9);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ignite-offer-wall {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
}

.ignite-offer-wall .offer-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ignite-offer-wall .offer-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ignite-offer-wall .offer-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ignite-offer-wall .offer-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #2d3748;
}

.ignite-offer-wall .offer-image {
    margin: 10px 0;
    text-align: center;
}

.ignite-offer-wall .offer-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.ignite-offer-wall .offer-item p {
    margin: 10px 0;
    color: #4a5568;
    line-height: 1.5;
}

.ignite-offer-wall .offer-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.ignite-offer-wall .offer-reward {
    font-weight: 600;
    color: #2d3748;
    padding: 4px 8px;
    background: #edf2f7;
    border-radius: 4px;
}

.ignite-offer-wall .offer-cta {
    background: #4299e1;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.ignite-offer-wall .offer-cta:hover {
    background: #3182ce;
}

/* Dark theme */
.ignite-offer-wall .theme-dark {
    background: #1a202c;
    color: #e2e8f0;
}

.ignite-offer-wall .theme-dark .offer-item {
    background: #2d3748;
    border-color: #4a5568;
}

.ignite-offer-wall .theme-dark .offer-item h3 {
    color: #e2e8f0;
}

.ignite-offer-wall .theme-dark .offer-item p {
    color: #a0aec0;
}

.ignite-offer-wall .theme-dark .offer-reward {
    background: #4a5568;
    color: #e2e8f0;
}

/* Error states */
.ignite-offer-wall .error {
    color: #e53e3e;
    text-align: center;
    padding: 20px;
    background: #fff5f5;
    border-radius: 8px;
    margin: 10px 0;
}

.ignite-offer-wall .theme-dark .error {
    background: #2d3748;
    color: #fc8181;
}

/* Hero layout styles */
.ignite-offer-wall .ignite-hero-layout {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: stretch;
}

.ignite-offer-wall .ignite-hero-image-column {
    flex: 0 0 40%;
    min-width: 200px;
}

.ignite-offer-wall .ignite-hero-content-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Responsive breakpoint for smaller screens (tablets and mobile) */
@media (max-width: 768px) {
    .ignite-offer-wall .ignite-hero-layout {
        flex-direction: column;
    }

    .ignite-offer-wall .ignite-hero-image-column {
        flex: 1 1 auto;
        min-width: 100%;
        width: 100%;
    }

    .ignite-offer-wall .ignite-hero-content-column {
        flex: 1 1 auto;
        width: 100%;
    }
}