/* CardMarket Content Blocks Styles */
.content-section {
    margin: 25px 0;
    padding: 25px;
    border: 5px solid #2B6CB0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.content-section h3 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    line-height: 1.3;
}

.subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
    line-height: 1.5;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.item {
    padding: 12px 15px;
    background-color: #f1f1f1;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    min-height: 50px;
    overflow: hidden;
}

.item:hover {
    background-color: #becee6;
}

.item a, .item span {
    display: block;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.item a {
    color: #1a73e8;
}

.view-all {
    text-align: center;
    margin-top: 15px;
}

.view-all a {
    display: inline-block;
    padding: 10px 25px;
    background-color: #1a73e8;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid #1a73e8;
}

.view-all a:hover {
    background-color: transparent;
    color: #1a73e8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-section {
        padding: 20px;
    }
    
    .section-header {
        padding-bottom: 12px;
        margin-bottom: 15px;
    }
    
    .content-section h3 {
        font-size: 1.3rem;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .item {
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .view-all a {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
}