/* Amazon Affiliate Recommendation Blocks */

.affiliate-block {
    margin: 2rem 0;
    padding: 0;
}

.affiliate-disclosure {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.affiliate-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.affiliate-heading svg {
    width: 20px;
    height: 20px;
    color: #e67e22;
}

.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.affiliate-card {
    background: #ffffff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.affiliate-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.affiliate-card-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.affiliate-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.affiliate-card-description {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.affiliate-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e67e22;
    margin-top: auto;
}

.affiliate-card-cta::after {
    content: '→';
}

/* See All Gear link */
.affiliate-see-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3498db;
    text-decoration: none;
}

.affiliate-see-all:hover {
    text-decoration: underline;
}

/* Footer disclosure */
.footer-affiliate-disclosure {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    text-align: center;
}

/* Gear page specific styles */
.gear-category {
    margin-bottom: 3rem;
}

.gear-category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

/* Responsive */
@media (max-width: 768px) {
    .affiliate-grid {
        grid-template-columns: 1fr;
    }

    .affiliate-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .affiliate-heading {
        font-size: 1.05rem;
    }
}
