.ifag-downloads-wrapper {
    background: #0e0e0e;
    position: relative;
    overflow: hidden;
    padding: 5rem 4rem;
    width: 100%;
}

.ifag-downloads-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: repeating-linear-gradient(0deg, #fff 0, #fff 1px, transparent 1px, transparent 40px),
                      repeating-linear-gradient(90deg, #fff 0, #fff 1px, transparent 1px, transparent 40px);
}

.ifag-downloads-inner {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
}

.ifag-dl-tag {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ff8095;
    background: rgba(213, 38, 61, 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.ifag-dl-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.ifag-dl-lead {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 620px;
}

.ifag-dl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.75rem;
}

.ifag-dl-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.ifag-dl-card:hover {
    border-color: rgba(213, 38, 61, 0.5);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

.ifag-dl-flag {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(213, 38, 61, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: #d5263d;
    letter-spacing: 0.05em;
    margin-bottom: 1.15rem;
}

.ifag-dl-card h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.3rem 0;
}

.ifag-dl-sub {
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.5rem;
}

.ifag-dl-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background: #d5263d;
    color: #ffffff;
    font-family: 'Sora', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.ifag-dl-card:hover .ifag-dl-btn {
    background: #b01e31;
}

.ifag-dl-meta {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.75rem;
    text-align: center;
    font-family: 'Sora', sans-serif;
}

@media (max-width: 900px) {
    .ifag-dl-grid {
        grid-template-columns: 1fr;
    }
    .ifag-downloads-wrapper {
        padding: 3.5rem 1.5rem;
    }
}
